:root {
  --paper: #f4f0e7;
  --paper-light: #fcf8ef;
  --paper-deep: #e9e0d1;
  --ink: #172820;
  --dark-rule: #68746a;
  --ink-soft: #455147;
  --forest: #22352b;
  --rust: #953d29;
  --rule: #9e9b8c;
  --hairline: #c9c5b5;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --gutter: clamp(1.15rem, 3.3vw, 3.5rem);
  --section: clamp(3.6rem, 7vw, 6.6rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--paper-light); background: var(--rust); }
[hidden] { display: none !important; }
img { display: block; width: 100%; }
figure, h1, h2, h3, p, fieldset { margin: 0; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
section[id], #inquiry { scroll-margin-top: 6.25rem; }
.shell { width: min(100% - 2 * var(--gutter), 89rem); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 10;
  top: .5rem;
  left: .5rem;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--ink);
}
.skip:focus { transform: translateY(0); }
.header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; width: fit-content; gap: .85rem; }
.monogram {
  width: 2.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  padding-right: .13em;
  font: 600 1.65rem/.9 var(--serif);
  letter-spacing: -.14em;
}
.brand-name {
  border-left: 1px solid var(--rule);
  padding-left: .85rem;
  font: 600 1.52rem/.86 var(--serif);
}
.nav { display: flex; gap: clamp(1.25rem, 3.35vw, 3.3rem); }
.nav a { padding-block: .55rem; font: 600 1.23rem/1 var(--serif); }
.header :is(a, button):hover { color: var(--rust); }
.languages { display: flex; align-items: center; justify-self: end; gap: .15rem; font-size: .85rem; color: var(--ink-soft); }
.languages button { border: 0; background: none; padding: .55rem .45rem; font-weight: 600; }
.languages button[aria-pressed="true"] { color: var(--rust); text-decoration: underline; text-underline-offset: .28em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .94;
}
h2 { font-size: clamp(2.8rem, 5.4vw, 5.5rem); }
h3 { font-size: clamp(2.55rem, 4.05vw, 4.1rem); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6.75rem);
  padding-block: clamp(2rem, 3.6vw, 4rem);
}
.hero-content { padding-block: 1rem; }
.location {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 2vw, 1.45rem);
  color: var(--rust);
  font-size: .78rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: clamp(1.4rem, 2.5vw, 2.4rem);
}
.location::after {
  content: "";
  width: min(9rem, 35%);
  height: 1px;
  background: currentColor;
  opacity: .6;
}
h1 { font-size: clamp(3.75rem, 8.9vw, 9.5rem); }
h1 span, h1 em { display: block; }
h1 em { color: var(--rust); }
.hero-position {
  margin-top: clamp(1.2rem, 2.7vw, 2.1rem);
  font-weight: 800;
  font-size: clamp(1.025rem, 1.55vw, 1.35rem);
  line-height: 1.35;
}
.hero .intro {
  margin-top: .65rem;
  max-width: 31rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.5rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}
.hero-actions .text-link { font-size: .9rem; }

.button {
  min-height: 3.35rem;
  padding: .75rem 1.45rem;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  transition: color .19s ease, background .19s ease, border-color .19s ease;
}
.button-dark { color: var(--paper-light); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: var(--rust); border-color: var(--rust); }
.button-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--paper-deep); }
.text-link {
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-decoration-thickness: 1px;
  text-underline-offset: .38em;
  font-weight: 750;
}
.text-link:hover { color: var(--rust); }


.portrait {
  padding: .4rem;
  border: 1px solid var(--rule);
  background: var(--paper-light);
}
.portrait img {
  height: auto;
  aspect-ratio: .94;
  max-height: 36rem;
  object-fit: cover;
  object-position: 50% 34%;
  background: #65704b;
}
.portrait figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: .63rem .5rem .3rem;
  gap: .3rem 1rem;
  font-size: .84rem;
}
.portrait figcaption span:first-child { font-weight: 800; letter-spacing: .09em; }
.portrait figcaption span:last-child { color: var(--ink-soft); }

.requirements { background: var(--ink); color: var(--paper-light); }
.requirements-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 1.5rem clamp(1.25rem, 5vw, 5rem);
  padding-block: clamp(1.8rem, 3.1vw, 3.05rem);
}
.requirements h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--dark-rule);
  background: var(--dark-rule);
}
.requirements-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: .65rem 1.9rem .65rem .8rem;
  background: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.3;
}
.requirements-list a::after {
  content: "";
  position: absolute;
  right: .85rem;
  top: calc(50% - .14rem);
  width: .42rem;
  aspect-ratio: 1;
  border: 1px solid #e4a692;
  transform: rotate(45deg);
}
.requirements-list a:hover { background: var(--forest); }
.requirements-list a:hover::after { background: #e4a692; }
.requirements-list a:focus-visible { z-index: 1; outline-color: #e4a692; outline-offset: -3px; }
.agency {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(.8rem, 2.3vw, 1.5rem);
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-block: 1.15rem;
}
.agency img { width: clamp(3rem, 5vw, 4.65rem); height: auto; border-radius: 50%; }
.agency h2 { font: 800 clamp(1.1rem, 2vw, 1.55rem)/1.12 var(--sans); letter-spacing: -.04em; }
.agency p { color: var(--ink-soft); font-size: .88rem; margin-top: .28rem; }
.agency .button { min-height: 2.9rem; }
.services { padding-block: clamp(2.8rem, 5.7vw, 5.8rem) var(--section); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.35rem clamp(1.5rem, 6vw, 7rem);
  margin-bottom: 2.15rem;
}
.section-heading p { max-width: 30rem; color: var(--ink-soft); }
.service-tabs { display: flex; gap: .45rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.25rem; }
.service-tabs button {
  flex: 1;
  min-width: 0;
  padding: .55rem 1rem .7rem;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-align: left;
  background: transparent;
  font: 600 clamp(1.2rem, 3.9vw, 1.8rem)/1.1 var(--serif);
}
.service-tabs button + button { border-left: 1px solid var(--hairline); }
.service-tabs button:hover, .service-tabs button[aria-selected="true"] { color: var(--rust); }
.service-tabs button[aria-selected="true"] { border-bottom-color: var(--rust); }

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  background: var(--paper-deep);
}
.service-feature, .service-body { padding: clamp(1.8rem, 5.4vw, 5rem); }
.service-feature {
  display: grid;
  align-content: center;
  min-height: 21rem;
  background: var(--forest);
  color: var(--paper-light);
}
.service-feature p { color: #ede9df; margin-top: 1rem; max-width: 30rem; }
.service-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.service-rows { align-self: stretch; margin-bottom: 1.65rem; border-top: 1px solid var(--rule); }
.service-rows details { border-bottom: 1px solid var(--rule); }
.service-rows summary {
  display: flex;
  gap: 1rem;
  min-height: 2.9rem;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-weight: 750;
}
.service-rows summary::-webkit-details-marker { display: none; }
.service-rows summary::after {
  content: "";
  flex: none;
  width: .73rem;
  aspect-ratio: 1;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.service-rows details[open] summary::after {
  background-size: 100% 1px, 0 0;
}
.service-rows details p { padding: .05rem 1rem .9rem 0; color: var(--ink-soft); }
.about :focus-visible { outline-color: var(--paper-light); }
.about { background: var(--ink); color: var(--paper-light); padding-block: var(--section); }
.about-inner, .contact-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 2rem clamp(2rem, 7vw, 8rem); }
.section-label { color: var(--rust); font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1.2rem; }
.about .section-label, .about h2 em { color: #e4a692; }
.about h2 { font-size: clamp(4rem, 8vw, 8rem); }
.about-body > p { color: #ede9df; font-size: clamp(1.03rem, 1.45vw, 1.23rem); }
.about-body > p + p { margin-top: 1.05rem; }
.about-meta { border-block: 1px solid #819085; margin-top: 1.8rem; padding-block: .8rem; display: flex; gap: .35rem 1rem; flex-wrap: wrap; justify-content: space-between; font-size: .9rem; font-weight: 750; }
.contact { background: var(--paper-deep); padding-block: var(--section); }
.contact h2 span, .contact h2 em { display: block; }
.contact h2 em { color: var(--rust); }
.contact :is(h2 + p, .text-link) { display: block; }
.contact h2 + p { margin-top: 1.25rem; }
.contact .text-link { width: fit-content; margin-top: .55rem; }
fieldset { min-width: 0; border: none; padding: 0; }
legend, .message-label { display: block; font-size: .87rem; font-weight: 800; margin-bottom: .5rem; }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); gap: 1px; background: var(--ink); }
.topics label { position: relative; cursor: pointer; background: var(--paper-deep); }
.topics input { opacity: 0; position: absolute; width: 1px; height: 1px; inset: .5rem; }
.topics span { display: grid; min-height: 2.75rem; height: 100%; align-items: center; padding: .45rem .22rem; text-align: center; font-size: .875rem; overflow-wrap: anywhere; line-height: 1.25; font-weight: 750; }
.topics input:checked + span { background-color: var(--ink); color: var(--paper-light); }
.topics input:focus-visible + span { position: relative; z-index: 1; outline: 2px solid var(--rust); outline-offset: 2px; }
.message-label { margin-top: 1rem; }
.brief-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.05rem;
}
.brief-field { min-width: 0; }
.brief-field:last-child { grid-column: 1 / -1; }
.brief-field span { display: block; margin-bottom: .35rem; font-size: .86rem; font-weight: 800; }
.brief-field input, textarea {
  width: 100%;
  padding: .74rem .85rem;
  display: block;
  background-color: var(--paper-light);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
}
.brief-field input { min-height: 2.85rem; }
textarea { min-height: 6rem; resize: vertical; }
textarea::placeholder { color: var(--ink-soft); }
#inquiry > button { margin-top: .8rem; width: 100%; }
.footer { border-top: 1px solid var(--rule); }
.footer-inner { min-height: 6.15rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.05rem; }
.footer .text-link, .footer-agency { font-size: .88rem; }
.footer-agency:hover { color: var(--rust); }
dialog {
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid var(--ink);
  width: min(35rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.1rem, 4vw, 2.25rem);
  overflow: auto;
}
dialog::backdrop { background: rgb(19 31 25 / .65); }
.dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dialog-top h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
.dialog-close { border: 1px solid var(--hairline); background: transparent; font-size: 1.5rem; width: 2.6rem; aspect-ratio: 1; line-height: 1; flex: none; }
.dialog-close:hover { background: var(--paper-deep); }
.preview-text { padding: .95rem; margin-block: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper-deep); max-height: 40vh; overflow: auto; }
.dialog-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
#copy-status { font-size: .875rem; }
#copy-status:not(:empty) { margin-top: .55rem; }
.mobile-contact { display: none; }

@media (max-width: 70rem) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  section[id], #inquiry { scroll-margin-top: calc(7.3rem + env(safe-area-inset-top)); }
  .header { padding-top: env(safe-area-inset-top); }
  .shell { width: min(100% - 2 * max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)), 89rem); }
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .mobile-contact {
    position: fixed;
    inset: auto 0 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: .55rem max(var(--gutter), env(safe-area-inset-right))
      calc(.55rem + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    background: var(--paper);
    border-top: 1px solid var(--rule);
  }
  .mobile-contact .button { min-height: 2.85rem; padding-inline: .35rem; font-size: .83rem; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .65rem; padding-top: .65rem; }
  .header .nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--hairline); margin-top: .65rem; }
  .nav a { display: inline-flex; min-height: 2.75rem; align-items: center; padding-block: .6rem; font-size: clamp(.9rem, 4vw, 1.15rem); white-space: nowrap; }
  .header .brand, .languages button { min-height: 2.75rem; }
  .languages button { min-width: 2.75rem; }
  .brand-name { font-size: 1.36rem; }
  .monogram { width: 2.4rem; font-size: 1.45rem; }
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr);
    gap: 1.05rem .95rem;
    padding-block: 1.7rem 1.5rem;
  }
  .hero-content { display: contents; }
  .hero :is(.location, h1, .hero-actions) { grid-column: 1 / -1; }
  .location { margin-bottom: 0; }
  h1 { font-size: clamp(3.5rem, 13.3vw, 6.35rem); }
  .hero-summary { align-self: center; }
  .hero-position { margin-top: 0; }
  .hero .intro { margin-top: .45rem; line-height: 1.5; }
  .hero-actions { grid-row: 4; align-self: start; margin-top: .15rem; }
  .hero-actions .button { padding-inline: .95rem; }
  .hero-actions .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; }
  .hero .portrait { grid-column: 2; grid-row: 3; }
  .portrait img { aspect-ratio: .85; max-height: 25rem; }
  .portrait figcaption { padding: .4rem .25rem .15rem; gap: .15rem .55rem; font-size: .74rem; line-height: 1.25; }
  .agency .button { padding-inline: .7rem; font-size: .8rem; }
  .requirements-inner, .section-heading, .about-inner, .contact-inner, .service-panel { grid-template-columns: 1fr; }
  .service-tabs { gap: 0; }
  .service-tabs button { padding-inline: .55rem; }
  .section-heading { margin-bottom: 1.45rem; gap: .9rem; }
  .service-feature { min-height: 0; }
  .service-feature, .service-body { padding: 1.6rem; }
  .services, .about, .contact { padding-block: 3.15rem; }
  .about h2 { font-size: clamp(3.5rem, 12vw, 5.4rem); }
}
@media (max-width: 25rem) {
  .requirements-list { grid-template-columns: 1fr; }
  .brief-fields { grid-template-columns: 1fr; }
}
@media (max-width: 23rem) {
  .agency .button { grid-column: 2; justify-self: start; }
  .header .nav { gap: .35rem; }
  .hero-actions { gap: .65rem .85rem; }
  .hero-actions .text-link { font-size: .84rem; }
  .topics span { font-size: .78rem; }
  .dialog-actions .button { width: 100%; }
}
@media (max-width: 18.75rem) {
  section[id], #inquiry { scroll-margin-top: calc(10rem + env(safe-area-inset-top)); }
  .header .monogram { display: none; }
  .header .brand-name { border: 0; padding: 0; }
  .header .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.65rem, 16vw, 3.5rem); }
  .hero-actions, .hero .portrait { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
