:root {
  --paper: #f3f0e9;
  --paper-bright: #fbfaf7;
  --ink: #172622;
  --forest: #21493e;
  --mint: #d9e7dd;
  --coral: #d36c52;
  --butter: #eadb9f;
  --rose: #ead4d4;
  --line: rgba(23, 38, 34, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  transform: translateY(-120%);
  padding: 0.75rem 1rem;
  color: white;
  background: var(--forest);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 155px 1fr auto;
  align-items: center;
  min-height: 88px;
  padding: 0 3.5vw;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(243, 240, 233, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: 122px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 2.5vw, 2.8rem);
}

.primary-nav a,
.language-switch button,
.menu-toggle {
  border: 0;
  color: var(--ink);
  background: none;
  font: 600 0.76rem/1 var(--sans);
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.language-switch button {
  cursor: pointer;
  opacity: 0.36;
}

.language-switch button[aria-pressed="true"] {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1.22fr);
  min-height: 100svh;
  padding: 9.5rem 3.5vw 3.5vw;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 4vw 5vw 4vw 1.5vw;
}

.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  margin-bottom: 1.8rem;
  font-size: clamp(3.35rem, 5.6vw, 7rem);
  line-height: 0.96;
}

.hero-intro {
  max-width: 510px;
  margin-bottom: 2.6rem;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  font-weight: 500;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.button {
  padding: 0.9rem 1.4rem;
  border: 1px solid currentColor;
  transition: color 180ms ease, background 180ms ease;
}

.button-dark {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--forest);
  background: transparent;
}

.text-link {
  border-bottom: 1px solid currentColor;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
  background: #d6d1c6;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 62%, rgba(12, 29, 25, 0.54));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  right: 2rem;
  bottom: 1.6rem;
  left: 2rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-index {
  position: absolute;
  bottom: 1.5rem;
  left: 3.5vw;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.category-band {
  overflow: hidden;
  color: white;
  background: var(--forest);
}

.category-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-width: max-content;
  padding: 1rem 3.5vw;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.category-track i {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--coral);
}

.section {
  padding: clamp(5.5rem, 9vw, 10rem) 5vw;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(500px, 1.35fr);
  align-items: start;
  gap: 4vw;
  margin-bottom: clamp(3.5rem, 6vw, 6.5rem);
}

.section-heading .eyebrow {
  padding-top: 0.9rem;
}

.section-heading h2,
.process h2,
.studio h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.75rem, 5.1vw, 6rem);
  line-height: 1;
}

.service-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 610px;
  padding: 0;
  overflow: hidden;
}

.service-grid {
  margin: 0;
  overflow: hidden;
}

.service-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 502 / 283;
  object-fit: cover;
}

.service-card-body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 390px;
  padding: 1.6rem;
}

.service-essential {
  background: var(--mint);
}

.service-branded {
  background: var(--rose);
}

.service-bespoke {
  background: var(--butter);
}

.card-number {
  font: 400 clamp(4.5rem, 8vw, 8.5rem)/0.8 var(--serif);
  opacity: 0.17;
}

.service-type,
.project-type,
.detail-label {
  margin-bottom: 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 370px;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.02;
}

.service-card p:last-child {
  max-width: 410px;
  margin-bottom: 0;
}

.work {
  background: var(--paper-bright);
}

.section-heading-row {
  grid-template-columns: 1.35fr 0.65fr;
}

.section-note {
  max-width: 360px;
  margin-top: 2.8rem;
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 6vw, 7rem) 2.5vw;
}

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

.project-gallery {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(0.45rem, 0.8vw, 0.8rem);
  align-items: start;
  margin-bottom: 1.4rem;
}

.project-gallery-kanso {
  grid-template-columns: 0.74fr 1fr;
}

.project figure {
  margin: 0 0 1.4rem;
  overflow: hidden;
  background: #d4d0c7;
}

.project figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.project-featured figure img {
  aspect-ratio: 1.65 / 1;
}

.project-windsong > .project-image-square {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.project-windsong > .project-image-square img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery figure img,
.project-featured .project-gallery figure img {
  height: auto;
  aspect-ratio: auto;
}

.project:hover figure img {
  transform: scale(1.025);
}

.project-meta {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(250px, 1.2fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.project-meta h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1;
}

.project-meta p:last-child {
  max-width: 470px;
  margin: 0;
}

.image-break {
  position: relative;
  height: min(78vw, 840px);
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  color: white;
  background: #575c56;
}

.image-break::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 22, 0.7), rgba(10, 26, 22, 0.02) 72%);
  content: "";
}

.image-break > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-break-copy {
  position: absolute;
  bottom: 8%;
  left: 5vw;
  z-index: 1;
  max-width: 580px;
}

.image-break-copy .eyebrow {
  color: var(--butter);
}

.image-break-copy > p:last-child {
  margin: 0;
  font: 400 clamp(2rem, 4vw, 4.6rem)/1.04 var(--serif);
  letter-spacing: -0.035em;
}

.process {
  color: white;
  background: var(--forest);
}

.process-intro {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 1.2rem 5vw;
  margin-bottom: 5rem;
}

.process-intro .eyebrow {
  grid-row: 1 / span 2;
  color: var(--butter);
  padding-top: 0.8rem;
}

.process-intro > p:last-child {
  max-width: 560px;
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.process-list li {
  display: flex;
  min-height: 150px;
  padding: 1.2rem 1rem 1rem 0;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
}

.process-list li:not(:nth-child(4n + 1)) {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

.process-list span {
  color: var(--coral);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.process-list strong {
  font: 400 clamp(1.25rem, 2vw, 2rem)/1.05 var(--serif);
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  margin-top: 3.5rem;
}

.advantages p {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--coral);
  font-size: 0.86rem;
}

.studio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9vw;
  background: var(--mint);
}

.studio h2 {
  max-width: 820px;
}

.studio-copy {
  align-self: end;
  padding-top: 8rem;
}

.studio-copy > p {
  max-width: 620px;
  font-size: 1.03rem;
}

.studio-emphasis {
  margin: 2rem 0 3rem;
  font-weight: 700;
}

.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.locations span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.locations p {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8vw;
  padding: clamp(6rem, 10vw, 11rem) 5vw 5rem;
  color: white;
  background: #172622;
}

.contact .eyebrow {
  color: var(--coral);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 2rem 0 2.8rem;
  font-size: 1.05rem;
}

.button-light {
  color: var(--ink);
  background: var(--paper-bright);
  border-color: var(--paper-bright);
}

.button-light:hover,
.button-light:focus-visible {
  color: white;
  background: transparent;
}

.text-link-light {
  color: white;
}

.contact-details {
  display: grid;
  align-self: end;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-details > div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-details p,
.contact-details a {
  margin: 0;
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.contact-details .detail-label {
  margin-bottom: 0.85rem;
  color: var(--coral);
  font-size: 0.66rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  padding: 2rem 5vw;
  color: white;
  background: #172622;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p:first-child {
  font: 400 1.8rem/1 var(--serif);
  letter-spacing: -0.02em;
  text-transform: none;
}

footer p:first-child span {
  display: block;
  margin-top: 0.2rem;
  font: 600 0.47rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer p:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 122px 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 0.65rem;
    margin-right: 1rem;
    cursor: pointer;
  }

  .menu-icon,
  .menu-icon::after {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-icon::after {
    transform: translateY(5px);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    transform: rotate(45deg) translateY(2px);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-90deg);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    padding: 2rem 3.5vw 2.5rem;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    font-size: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-copy {
    min-height: 600px;
    padding: 6rem 3vw 4rem 0;
  }

  .hero-visual {
    min-height: 62vw;
  }

  .hero-index {
    display: none;
  }

  .section-heading,
  .section-heading-row,
  .process-intro,
  .studio,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .process-intro .eyebrow {
    grid-row: auto;
    padding-top: 0;
  }

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

  .service-card {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr;
    min-height: 330px;
    gap: 0;
  }

  .service-grid {
    display: grid;
    place-items: center;
  }

  .service-card-body {
    grid-template-columns: 0.3fr 1fr;
    grid-template-rows: 1fr;
    min-height: 330px;
    gap: 2rem;
  }

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

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

  .project-featured figure img {
    aspect-ratio: 1.3 / 1;
  }

  .project-gallery figure img,
  .project-featured .project-gallery figure img {
    aspect-ratio: auto;
  }

  .process-list,
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .process-list li:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.23);
  }

  .studio-copy {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 90px 1fr auto;
    min-height: 70px;
    padding: 0 1.1rem;
  }

  .brand {
    width: 86px;
  }

  .menu-toggle {
    margin-right: 0.45rem;
  }

  .menu-toggle > span:first-child {
    display: none;
  }

  .language-switch {
    gap: 0.3rem;
  }

  .hero {
    padding: 5rem 1.1rem 1.1rem;
  }

  .hero-copy {
    min-height: auto;
    padding: 5rem 0 3.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 77vw;
  }

  .hero-visual figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .category-track {
    justify-content: flex-start;
    padding-inline: 1.1rem;
    animation: drift 28s linear infinite alternate;
  }

  .section {
    padding: 5.5rem 1.1rem;
  }

  .section-heading h2,
  .process h2,
  .studio h2,
  .contact h2 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .section-note {
    margin-top: 0;
  }

  .service-card {
    display: block;
    min-height: 0;
  }

  .service-card-body {
    display: block;
    min-height: 390px;
  }

  .card-number {
    margin-bottom: 5rem;
  }

  .project-grid {
    gap: 4.5rem;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .project figure img,
  .project-featured figure img {
    aspect-ratio: 1 / 1.1;
  }

  .project-gallery,
  .project-gallery-kanso,
  .project-gallery-exquisito {
    grid-template-columns: 1fr;
  }

  .project-gallery figure img,
  .project-featured .project-gallery figure img {
    aspect-ratio: auto;
  }

  .image-break {
    height: 720px;
  }

  .image-break > img {
    object-position: 54% center;
  }

  .image-break-copy {
    right: 1.1rem;
    bottom: 2.5rem;
    left: 1.1rem;
  }

  .process-list,
  .advantages,
  .locations,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(even),
  .process-list li:nth-child(odd) {
    min-height: 110px;
    padding: 1rem 0;
    border-left: 0;
  }

  .advantages p {
    min-height: 56px;
  }

  .contact {
    padding: 6rem 1.1rem 4rem;
  }

  .contact-details {
    margin-top: 3rem;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 2rem 1.1rem;
  }

  footer p:last-child {
    text-align: left;
  }
}

@keyframes drift {
  to {
    transform: translateX(calc(-100% + 100vw - 2.2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
