@font-face {
  font-family: Bristol;
  src: url("fonts/bristol.otf") format("opentype");
  font-display: swap;
}

:root {
  --cream: #eee3d4;
  --ink: #2e221c;
  --clay: #704336;
  --umber: #593b32;
  --sand: #dbbda5;
  --rule: #b89c89;
  --gutter: clamp(1.25rem, 3.75vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
p { margin: 0 0 1em; line-height: 1.45; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1; }
h2 { font-size: clamp(2.4rem, 5vw, 5.5rem); letter-spacing: -.045em; }
em, .accent { font-family: Bristol, 'Segoe Print', cursive; font-style: normal; letter-spacing: 0; }
em { display: inline-block; }
.eyebrow { margin: 0 0 1.75rem; color: var(--clay); font-size: .875rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.frame, main > section:not(.hero), header, footer { padding-inline: var(--gutter); }
main > section:not(.hero) { padding-block: clamp(3rem, 5vw, 6rem); }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
header { min-height: 6.3rem; }
.logo img { width: 4.2rem; min-width: 2.8rem; }
header .logo img { width: 3.57rem; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 2rem); flex-wrap: wrap; }
.outline { border: 1px solid var(--clay); padding: .65em 1.4em; }
.icon { padding: .25em .4em; color: inherit; background: transparent; border: 0; font-size: 1.4rem; }

.hero { background: var(--umber); color: var(--cream); }
.hero-inner { position: relative; isolation: isolate; padding-block: clamp(2rem, 3vw, 3.5rem); }
.hero .eyebrow, #services .eyebrow, #contact .eyebrow { color: inherit; }
.hero-photo { position: absolute; z-index: -1; width: 24.6%; top: 5%; right: 15.5%; }
.hero h1 { text-transform: uppercase; letter-spacing: -.035em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 span:first-child { font-size: clamp(3rem, 10vw, 12rem); }
.hero h1 span:last-child { font-size: clamp(2.4rem, 7.6vw, 9.2rem); white-space: nowrap; }
.hero h1 em { margin: -.03em 0 .035em 13%; font-size: clamp(4.25rem, 11.6vw, 14rem); text-transform: none; }
.hero-footer { margin-top: clamp(2rem, 4.6vw, 5rem); padding-top: 1.8rem; border-top: 1px solid #96746a; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.hero-footer p { margin: 0; font-size: clamp(1rem, 1.6vw, 1.5rem); }

#about { display: grid; grid-template-columns: 28% 1fr; column-gap: 6.5%; align-items: start; }
#about > .eyebrow { grid-column: 1 / -1; }
#about > img { width: 86%; }
#about h2 { font-size: clamp(2.6rem, 6.2vw, 7rem); }
#about h2 em, #founders h2 { color: var(--clay); }
.about-body { max-width: 43rem; margin: clamp(2rem, 4vw, 4rem) 0 0 auto; }
.about-body p { font-size: clamp(1rem, 1.45vw, 1.35rem); }

#services { color: var(--cream); background: var(--clay); }
#services h2 { margin-bottom: clamp(2rem, 4vw, 4rem); font-size: clamp(2.8rem, 6.2vw, 7rem); }
#services h2 em { margin-left: .1em; }
details { border-top: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .95em; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: Arial, sans-serif; font-size: 1.2rem; }
details[open] > summary::after { content: '−'; }
details > p { max-width: 44rem; margin-bottom: 1.4rem; }
#services summary { font-size: clamp(1.4rem, 3vw, 3.4rem); padding-block: .58em; }
#services details:last-child, .faq-list details:last-child { border-bottom: 1px solid var(--rule); }

#work { display: grid; grid-template-columns: 2fr 1fr; align-items: end; }
#work .eyebrow { grid-column: 1 / -1; }
#work p { margin: 0; }
#work::after { content: ''; grid-column: 1 / -1; margin-top: 3.4rem; border-top: 1px solid var(--rule); }
main > #work { padding-bottom: 0; }

#founders { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: clamp(1rem, 2vw, 2rem); }
#founders > div:first-child { grid-column: 1 / 8; grid-row: 1; }
#founders h2 { font-size: clamp(2.4rem, 5.4vw, 6rem); margin-bottom: 1.6rem; }
#founders > div:first-child p { max-width: 40rem; font-size: clamp(1rem, 1.45vw, 1.35rem); }
.founder-portrait { grid-column: 9 / -1; grid-row: 1 / 3; width: 100%; }
.studio-gallery { grid-column: 1 / 9; grid-row: 2 / 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(.65rem, 1.4vw, 1.4rem); }
.studio-gallery img { width: 100%; }
.studio-gallery img:nth-child(2) { width: 91%; }
.studio-gallery img:nth-child(3) { width: 83%; }
.founder-bios { grid-column: 9 / -1; grid-row: 3; }
.founder-bios article { border-top: 1px solid var(--rule); padding: 1.1rem 0 0; }
.founder-bios article + article { margin-top: 1rem; }
.founder-bios h3 { margin-bottom: .5rem; font-size: clamp(1.4rem, 2vw, 2.4rem); }

#process { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.steps article { border-top: 1px solid #9d7763; padding-top: 1.45rem; }
.steps h3 { font-size: clamp(1.9rem, 3.4vw, 3.8rem); margin-bottom: 1rem; }
.steps p { margin-bottom: 0; max-width: 23rem; }

#faq { display: grid; grid-template-columns: 42% 1fr; align-content: start; }
#faq .eyebrow, #faq h2 { grid-column: 1; }
#faq h2 { grid-row: 2; font-size: clamp(2.3rem, 3.6vw, 4rem); }
.faq-list { grid-column: 2; grid-row: 1 / 3; }
#contact { background: var(--umber); color: var(--cream); display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; }
#contact .eyebrow, #contact h2 { grid-column: 1 / -1; }
#contact h2 { font-family: Arial, sans-serif; letter-spacing: -.04em; margin-bottom: 1.8rem; }
#contact h2 em { font-size: 1.33em; }
#contact p { margin: 0; align-self: end; }
footer { min-height: 5rem; justify-content: start; flex-wrap: wrap; }
footer .logo img { width: 3.3rem; }
footer a:last-child { margin-left: auto; }

dialog { width: min(38rem, 90vw); padding: 2rem; border: 1px solid var(--clay); background: var(--cream); color: var(--ink); }
dialog h2 { font-size: 2rem; margin-bottom: 1rem; }
dialog::backdrop { background: #2e221c99; }
input { width: 100%; padding: .75rem; border: 1px solid var(--clay); background: transparent; color: var(--ink); }
#results a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  header { padding-block: 1rem; align-items: flex-start; }
  nav { justify-content: flex-end; font-size: .875rem; }
  nav a { padding-block: .25rem; }
  nav .outline { padding-inline: .65em; }
  .hero h1 span:last-child { white-space: normal; font-size: clamp(2.3rem, 9.2vw, 4.5rem); }
  .hero h1 em { margin-left: 5%; }
  .hero-photo { width: 34%; top: 13%; right: 6%; }
  .hero-footer { align-items: start; flex-direction: column; }
  .hero-footer br { display: none; }
  #about, #work, #faq, #contact { grid-template-columns: 1fr; gap: 1.15rem; }
  #about > .eyebrow, #work .eyebrow, #faq .eyebrow { margin-bottom: 0; }
  #about > img { width: min(62%, 18rem); }
  #about h2 { font-size: clamp(2.25rem, 8.3vw, 4.4rem); }
  #work::after { margin-top: 1.6rem; }
  #founders { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  #founders > div:first-child, .studio-gallery { grid-column: 1 / -1; grid-row: auto; }
  .founder-portrait, .founder-bios { grid-column: auto; grid-row: auto; }
  .studio-gallery { order: 1; }
  .steps { grid-template-columns: 1fr; }
  .faq-list { grid-column: 1; grid-row: auto; }
  #contact h2 { margin-bottom: .3rem; }
}

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

/* Shared navigation and links for the individual pages. */
.logo { display: inline-flex; flex-shrink: 0; }
nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.page-link {
  display: inline-block;
  width: fit-content;
  margin-top: 1.4rem;
  text-decoration: underline;
  text-underline-offset: .32em;
}

/* Give each closing section its own composition. */
#process { background: var(--sand); }
#process h2 { max-width: 13ch; margin-bottom: 2.5rem; }
.steps { gap: clamp(1.2rem, 3vw, 3rem); }
.steps article { padding: 1.4rem 0 1rem; }

#faq {
  background: var(--cream);
  grid-template-columns: minmax(0, 1fr) minmax(0, 38rem);
  gap: 0 3rem;
}
#faq h2 { align-self: start; }
.faq-list {
  padding: 0 clamp(1rem, 2vw, 2rem) 1.4rem;
  background: #f7eee3;
  border: 1px solid var(--rule);
}
.faq-list details:first-child { border-top: 0; }

#contact {
  background: var(--umber);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  padding-block: clamp(3rem, 8vw, 8rem);
}
#contact .eyebrow, #contact h2 { margin: 0; }
#contact p { align-self: center; }
#contact .outline { border-color: currentColor; }

.interior h1 {
  font-size: clamp(3rem, 7vw, 8rem);
  letter-spacing: -.05em;
  line-height: .98;
  margin-bottom: 1.5rem;
}
.interior #services h1 { margin-bottom: 2.5rem; }
.interior #work { grid-template-columns: 1fr; padding-bottom: var(--gutter); }
.interior #work::after { display: none; }
.interior #founders h1 { color: var(--clay); letter-spacing: 0; font-size: clamp(2.8rem, 5.5vw, 6rem); }
.interior #contact h1 { font-family: Arial, sans-serif; margin-bottom: .8rem; }
.interior #contact h1 em { font-size: 1.18em; }
.page-followup, .experience { background: var(--sand); }
.page-followup p { margin-top: 1.4rem; max-width: 36rem; }
.experience-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.experience-grid article { border-top: 1px solid #9d7763; padding-top: 1.4rem; }
.experience-grid h3 { font-size: clamp(1.5rem, 3vw, 3rem); margin-bottom: 1rem; }
.experience-grid p { max-width: 34rem; }
.work-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.work-images img { max-height: 40rem; width: auto; }

@media (max-width: 760px) {
  #faq { grid-template-columns: 1fr; gap: 1.2rem; }
  .experience-grid { grid-template-columns: 1fr; }
}

/* Typography and photography enter in the order they are read. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 > * {
    animation: hero-word-in 780ms cubic-bezier(.22, 1, .36, 1) both;
  }
  .hero h1 em { animation-delay: 110ms; }
  .hero h1 span:last-child { animation-delay: 220ms; }
  .hero-photo {
    animation: hero-photo-in 980ms cubic-bezier(.22, 1, .36, 1) both;
  }
  .hero-footer { animation: section-in 650ms 260ms ease-out both; }

  .motion-entered {
    animation: section-in 700ms cubic-bezier(.22, 1, .36, 1) both;
  }
  img.motion-entered {
    animation-name: photo-in;
    animation-duration: 850ms;
  }
  .studio-gallery img:nth-child(2).motion-entered,
  .steps article:nth-child(2).motion-entered,
  .experience-grid article:nth-child(2).motion-entered {
    animation-delay: 90ms;
  }
  .studio-gallery img:nth-child(3).motion-entered,
  .steps article:nth-child(3).motion-entered {
    animation-delay: 180ms;
  }

  details > summary::after { transition: transform 220ms ease; }
  details[open] > summary::after { transform: rotate(180deg); }
  details[open] > p { animation: detail-in 260ms ease-out both; }
  a.outline { transition: background-color 220ms ease, color 220ms ease; }
  a.outline:hover, a.outline:focus-visible { background: var(--clay); color: var(--cream); }
  #contact a.outline:hover, #contact a.outline:focus-visible { background: var(--cream); color: var(--umber); }
}

@supports (animation-timeline: scroll()) {
  @media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
    .hero-photo {
      animation: hero-photo-in 980ms cubic-bezier(.22, 1, .36, 1) both,
                 hero-photo-drift auto linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0px 580px;
    }
  }
}

@keyframes hero-word-in {
  from { opacity: 0; transform: translateY(.28em); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-in {
  from { opacity: .4; clip-path: inset(10% 0 12%); }
  to { opacity: 1; clip-path: inset(0); }
}
@keyframes hero-photo-drift {
  from { translate: 0 0; }
  to { translate: 0 32px; }
}
@keyframes section-in {
  from { opacity: .28; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes photo-in {
  from { opacity: .4; clip-path: inset(0 0 12%); transform: translateY(16px); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}
@keyframes detail-in {
  from { opacity: .5; transform: translateY(-.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.motion-band {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem var(--gutter);
  color: var(--ink);
  background: var(--sand);
  border-bottom: 1px solid var(--rule);
}
.motion-band-window { overflow: hidden; min-width: 0; flex: 1; }
.motion-band-track {
  margin: 0;
  font-size: clamp(1.25rem, 3.3vw, 3rem);
  line-height: 1.25;
  letter-spacing: -.04em;
}
.motion-band-track em { color: var(--clay); }
.motion-band-track > [aria-hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .motion-band .motion-band-track { display: flex; width: max-content; }
  .motion-band .motion-band-track > span { white-space: nowrap; min-width: 50vw; padding-inline-end: 2em; }
  .motion-band .motion-band-track > [aria-hidden] { display: inline-block; }
  .motion-band .motion-band-track { animation: strapline-scroll 27s linear infinite; }
  .motion-band:hover .motion-band-track, .motion-band:focus .motion-band-track { animation-play-state: paused; }

  .hero h1 > * { animation-name: hero-line-reveal; }
  .hero h1 span:last-child { animation-delay: 290ms; }
  img.motion-entered { animation-name: editorial-photo-in; }
  #services details.motion-entered { animation-name: service-row-in; }
  #services details:nth-of-type(2).motion-entered { animation-delay: 75ms; }
  #services details:nth-of-type(3).motion-entered { animation-delay: 150ms; }
  #services details:nth-of-type(4).motion-entered { animation-delay: 225ms; }
  #process .motion-entered, #faq .motion-entered, #contact .motion-entered {
    animation-duration: 850ms;
  }
  #faq details[open] > p { animation-duration: 320ms; }
  .steps article.motion-entered {
    position: relative;
    border-top-color: transparent;
  }
  .steps article.motion-entered::before {
    content: '';
    position: absolute;
    inset: -1px 0 auto;
    border-top: 1px solid #9d7763;
    transform-origin: left;
    animation: process-line 960ms cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: inherit;
  }
}
@keyframes strapline-scroll { to { transform: translateX(-50%); } }
@keyframes hero-line-reveal {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(.32em); }
  to { opacity: 1; clip-path: inset(-20% -8% -20% -8%); transform: translateY(0); }
}
@keyframes editorial-photo-in {
  from { opacity: .42; clip-path: inset(0 0 86% 0); transform: translateY(24px); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}
@keyframes service-row-in {
  from { opacity: .45; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes process-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Layouts for the longer studio copy and enquiry preview. */
.hero-footer { justify-content: flex-end; }
.home-about-copy { background: #f7eee3; }
.home-about-copy h2 { color: var(--clay); max-width: 19ch; margin-bottom: 1rem; }
.home-about-copy p:not(.eyebrow), #process > p:not(.eyebrow) { max-width: 44rem; }
#work > div:last-of-type { max-width: 34rem; }
#work > div:last-of-type p { margin-top: 1rem; }
#contact .copy-measure p { margin-block: 1rem; }
#contact .copy-measure { text-align: left; }
.copy-measure { max-width: 46rem; }
.copy-measure h2, .copy-pair h2 { margin-bottom: 1.25rem; }
.copy-panel + .copy-panel { border-top: 1px solid var(--rule); }
.copy-pair, .service-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 4rem);
}
.service-copy { padding-block: 2.2rem; border-top: 1px solid var(--rule); }
.service-copy h2 { font-size: clamp(2rem, 4vw, 4rem); }
.service-copy h3 { font-size: 1.2rem; margin-top: 1.4rem; }
.copy-panel li { margin-block: .45rem; }
.all-faqs { max-width: 56rem; margin-top: 2rem; }
.enquiry-fields {
  max-width: 60rem;
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.enquiry-fields label { display: grid; align-content: start; gap: .5rem; }
.enquiry-fields input, .enquiry-fields select, .enquiry-fields textarea {
  width: 100%;
  border: 1px solid var(--rule);
  padding: .75rem;
  background: #f7eee3;
  color: var(--ink);
  font: inherit;
}
.enquiry-fields label:has(textarea) { grid-column: 1 / -1; }
.enquiry-fields button { width: fit-content; }
#enquiry-status { margin-top: 1.25rem; }
.studio-footer { justify-content: space-between; padding-block: 2rem; }
.footer-brand p { margin: .65rem 0 0; }
.studio-footer nav { align-self: center; }
.studio-footer small { flex-basis: 100%; }

@media (max-width: 760px) {
  .hero-footer { align-items: flex-end; }
  .copy-pair, .service-copy, .enquiry-fields { grid-template-columns: 1fr; }
  .studio-footer nav { justify-content: flex-start; }
}

.agency-placeholder {
  display: grid;
  min-height: 60vh;
  place-items: center;
  text-align: center;
}
.agency-placeholder h1 {
  color: var(--clay);
  font-size: clamp(3.4rem, 12vw, 12rem);
  line-height: 1.15;
}

.case-studies-notice {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin: .75em 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .interior > section:first-child h1,
  .agency-placeholder h1 {
    animation: page-heading-in 800ms cubic-bezier(.22, 1, .36, 1) both;
  }

  .hero .eyebrow,
  .interior > section:first-child .eyebrow {
    animation: section-in 520ms ease-out both;
  }

  .interior > section:first-child h1 + p,
  .interior > section:first-child h1 + .copy-measure {
    animation: page-heading-in 700ms 110ms cubic-bezier(.22, 1, .36, 1) both;
  }

  .copy-panel p.motion-entered,
  .about-body > p.motion-entered,
  .home-about-copy > p.motion-entered,
  .founder-bios > article.motion-entered {
    animation-name: page-heading-in;
  }

  header .logo img {
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
  }

  header .logo:hover img,
  header .logo:focus-visible img {
    transform: scale(1.07);
  }

  .page-link {
    transition: translate 220ms ease-out;
  }

  .page-link:hover,
  .page-link:focus-visible {
    translate: 0 -2px;
  }
}

@keyframes page-heading-in {
  from { opacity: .75; transform: translateY(.65rem); }
  to { opacity: 1; transform: translateY(0); }
}
