:root {
  color-scheme: light;
  --ink: #050505;
  --muted: #5f5f5f;
  --paper: #f4f4f4;
  --cream: #ffffff;
  --cypress: #111111;
  --clay: #777777;
  --line: rgba(5, 5, 5, 0.14);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Telegraf, "Avenir Next", Aptos, "Segoe UI Variable", "Segoe UI",
    ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

p {
  font-family:
    "Segoe UI Variable Text", Aptos, "Segoe UI", ui-sans-serif, system-ui,
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 108px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
}

.brand-logo-band {
  position: relative;
  flex: 0 0 auto;
  width: 92px;
  height: 88px;
  display: block;
  overflow: visible;
  background: #000;
}

.brand-logo-band::after {
  position: absolute;
  top: 68%;
  right: 16%;
  content: "\2122";
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
}

.brand-logo-band img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1;
}

.nav-links a,
.nav-action {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-action {
  border: 0;
  color: #fff;
  background: transparent;
}

.nav-action:hover {
  color: #bdbdbd;
  background: transparent;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 132px clamp(18px, 5vw, 64px) 44px;
  overflow: hidden;
}

.hero-copy {
  max-width: 1080px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  max-width: 920px;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  max-width: 930px;
  font-size: clamp(2.1rem, 4.2vw, 4.8rem);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.headline-kicker {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 21px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--cream);
  background: var(--cypress);
  border-color: var(--cypress);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
}

.button-light {
  color: var(--ink);
  background: var(--cream);
}

.hero-gallery {
  display: grid;
  grid-template-columns: clamp(68px, 7vw, 96px) minmax(0, 1fr) clamp(68px, 7vw, 96px);
  grid-template-rows: auto auto auto;
  gap: 8px;
  scroll-margin-top: 126px;
}

.selected-work-title {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-visual {
  display: contents;
}

.hero-visual img {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: min(62vh, 680px);
  min-height: 390px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transition: opacity 250ms ease;
}

.featured-caption {
  grid-column: 2;
  grid-row: 3;
  max-width: 760px;
  padding-top: 14px;
}

.featured-title {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.featured-category {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.featured-description {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-thumbs {
  display: contents;
}

.thumb-column {
  grid-row: 2;
  height: min(62vh, 680px);
  min-height: 390px;
  display: grid;
  grid-template-rows: repeat(9, minmax(0, 1fr));
  gap: 2px;
}

.thumb-column-left {
  grid-column: 1;
}

.thumb-column-right {
  grid-column: 3;
}

.thumb {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  opacity: 0.48;
  transition: opacity 180ms ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: transparent;
  filter: grayscale(0.4);
}

.thumb.is-active,
.thumb:hover {
  opacity: 1;
}

.thumb.is-active img,
.thumb:hover img {
  filter: grayscale(0);
}

.section {
  padding: 52px clamp(18px, 5vw, 64px);
}

.ip-notice {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.services-section {
  padding-top: 42px;
  padding-bottom: 42px;
  scroll-margin-top: 126px;
}

.services-section .section-heading {
  margin-bottom: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 12px;
}

.service-grid article {
  grid-column: span 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-grid .service-featured {
  grid-column: 2 / span 4;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--clay);
  font-weight: 900;
}

.service-grid p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.64;
}

.testimonial-section {
  padding: 46px clamp(18px, 5vw, 64px) 50px;
  border-top: 1px solid var(--line);
  background: #f2f2f2;
}

.testimonial-section > h2 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #c9c9c9;
}

.testimonial-section blockquote {
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  background: #f2f2f2;
}

.testimonial-section blockquote p {
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
}

.testimonial-section blockquote footer {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(30px, 5vw, 72px);
  background: #5b5b5b;
  color: var(--cream);
  overflow: hidden;
  scroll-margin-top: 126px;
}

.about-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url("./assets/de-la-vega-floor-framing.jpg") center / cover no-repeat;
  filter: grayscale(1) invert(1);
  opacity: 0.1;
}

.about-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.2);
}

.about-section .eyebrow {
  color: #cfcfcf;
}

.about-copy {
  font-size: 1.06rem;
}

.about-section > div:first-child h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.08;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3.5vw, 48px);
}

.about-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
}

.about-copy .about-role {
  margin: 8px 0 24px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-copy .about-bio {
  margin-top: 0;
}

.about-copy .about-studio {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.about-copy p {
  color: rgba(255, 250, 240, 0.78);
}

.partners-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-line > div {
  min-width: 0;
  padding: 16px 18px;
}

.partners-line h4 {
  margin: 0;
  font-size: clamp(0.88rem, 1.15vw, 1.06rem);
  line-height: 1.12;
}

.partners-line p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: start;
  gap: clamp(28px, 6vw, 86px);
  padding: 48px clamp(18px, 5vw, 64px) 44px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(232, 232, 232, 0.8)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(120, 120, 120, 0.14));
}

.contact-section h2 {
  max-width: 960px;
  font-size: clamp(2.15rem, 4.3vw, 4.25rem);
}

.contact-intro .ip-notice {
  max-width: 760px;
  margin-top: 18px;
}

.contact-partners {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.contact-partners > h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
}

.contact-logo {
  width: 92px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.contact-panel h3 {
  margin-bottom: 20px;
  font-size: 1.7rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-link,
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
}

.social-link {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-link svg,
.social-link svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-link:hover,
.social-link:hover {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-visual {
    display: block;
    grid-column: 1;
    grid-row: auto;
    order: 2;
    min-height: auto;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .selected-work-title {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .hero-thumbs {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .thumb-column,
  .thumb-column-left,
  .thumb-column-right {
    display: contents;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 0;
  }

  .thumb,
  .thumb:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  .thumb img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid article,
  .service-grid article:nth-child(4),
  .service-grid article:nth-child(5) {
    grid-column: auto;
  }

  .service-grid .service-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding-block: 11px;
  }

  .brand-logo-band {
    width: 68px;
    height: 66px;
  }

  .brand-logo-band img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .brand {
    gap: 10px;
  }

  .nav-action {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .hero-actions,
  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .service-grid article {
    min-height: 0;
    padding: 18px;
  }

  .service-grid .service-featured {
    grid-column: auto;
  }

  .service-grid span {
    margin-bottom: 10px;
  }

  .testimonial-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .testimonial-section > h2 {
    margin-bottom: 24px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .about-profile {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 300px;
  }

  .partners-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-line > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }

  .hero-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .hero-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding-block: 48px;
  }

}

/* Reversible all-white concept trial. */
body.theme-white {
  color: #555;
  background: #fff;
}

.theme-white .site-header {
  background: #000;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.theme-white .brand-logo-band {
  background: #000;
}

.theme-white .nav-links,
.theme-white .nav-action {
  color: rgba(255, 255, 255, 0.78);
}

.theme-white .nav-action {
  color: #fff;
}

.theme-white .nav-links a:hover,
.theme-white .nav-action:hover {
  color: #fff;
  background: transparent;
}

.theme-white .hero,
.theme-white .services-section,
.theme-white .testimonial-section,
.theme-white .about-section,
.theme-white .contact-section {
  background: #fff;
  color: #555;
}

.theme-white .about-section::before,
.theme-white .about-section::after {
  display: none;
}

.theme-white .about-copy p,
.theme-white .contact-intro .ip-notice {
  color: #747474;
}

.theme-white .service-grid article,
.theme-white .testimonial-section blockquote,
.theme-white .contact-panel {
  background: #fff;
}

.theme-white .testimonial-grid {
  background: #d3d3d3;
}

.theme-white .testimonial-section,
.theme-white .about-section,
.theme-white .contact-section {
  border-top: 1px solid #d7d7d7;
}

.theme-white .thumb.is-active,
.theme-white .thumb:hover {
  border-color: #777;
}

.theme-white .contact-link,
.theme-white .social-link {
  color: #555;
}

.theme-white .contact-link:hover,
.theme-white .social-link:hover {
  color: #8a8a8a;
}
