:root {
  color-scheme: light;
  --paper: #fbf7f0;
  --warm: #f3e8db;
  --card: #fffdf8;
  --ink: #25191d;
  --muted: #69555c;
  --wine: #751d33;
  --wine-dark: #4b1325;
  --wine-light: #f7e8e8;
  --line: #e4d4c8;
  --gold: #a47a3b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
section[id], article[id], div[id] { scroll-margin-top: 6.25rem; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.container {
  width: min(73rem, calc(100% - 4rem));
  margin-inline: auto;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  transform: translateY(-200%);
  background: var(--card);
  color: var(--wine);
}

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

.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spark {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-layout {
  position: relative;
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .65rem;
  font-family: var(--serif);
  font-size: 1.47rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  width: 1.8rem;
  height: auto;
}

.brand-accent { color: var(--wine); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.6vw, 2.35rem);
}

.desktop-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.mobile-nav { display: none; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}

.header-contact {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

.button-primary { background: var(--wine); color: white; }
.button-primary:hover { background: var(--wine-dark); }

.button-outline { border-color: #b4979b; color: var(--wine); }
.button-outline:hover { border-color: var(--wine); background: var(--wine-light); }

.button-light { background: var(--paper); color: var(--wine-dark); }
.button-light:hover { background: #fff; }

.button-inverse { border-color: #c492a0; color: white; }
.button-inverse:hover { border-color: white; background: #ffffff1a; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--wine);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 36.5rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.75rem);
  padding-block: clamp(3rem, 5vw, 4.35rem);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.11;
}

h1 {
  max-width: 13ch;
  margin-block: .95rem 1.35rem;
  font-size: clamp(3.6rem, 6.2vw, 5.65rem);
  line-height: 1.04;
}

h1 em, h2 em {
  color: var(--wine);
  font-weight: 500;
}

.hero-description {
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.78;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.85rem;
}

.portrait {
  position: relative;
  width: min(100% - .8rem, 25.5rem);
  justify-self: center;
  isolation: isolate;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 0.94;
}

.portrait-frame::before {
  position: absolute;
  z-index: -1;
  inset: .65rem -.65rem -.65rem .65rem;
  border: 1px solid #b49070;
  border-radius: 50% 50% .45rem .45rem / 34% 34% .45rem .45rem;
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50% 50% .45rem .45rem / 34% 34% .45rem .45rem;
  background: var(--warm);
  object-fit: cover;
  object-position: center 37%;
}

.portrait-spark {
  position: absolute;
  top: 1.3rem;
  right: .75rem;
  width: clamp(1.65rem, 3.55vw, 2.75rem);
  height: auto;
  aspect-ratio: 1;
  color: var(--gold);
}

.portrait figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.1rem;
  margin-top: 1.35rem;
  font-size: .875rem;
  font-weight: 600;
}

.portrait figcaption a {
  color: var(--wine);
  text-underline-offset: .22em;
}

.proof-band {
  border-block: 1px solid var(--line);
  background: var(--warm);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 1.45rem;
  text-align: center;
}

.proof-grid > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: start;
  align-items: center;
  padding-inline: .65rem;
}

.proof-grid > div + div { border-left: 1px solid #d9c4b5; }

.proof-grid dd {
  color: var(--wine);
  font: 600 clamp(1.95rem, 3.25vw, 2.65rem)/1.15 var(--serif);
}

.proof-grid dt {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.45;
}

.section { padding-block: clamp(4rem, 7.2vw, 6.75rem); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  margin-bottom: 2rem;
}

.section-heading > p { max-width: 23.5rem; color: var(--muted); }
.section-heading .button { flex: none; }

h2 {
  margin-top: .65rem;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.3;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(1.15rem, 2vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--card);
}

.service-highlight { border-color: #d3aaad; background: #f8ece7; }

.service-icon {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1.15rem;
  place-items: center;
  border: 1px solid #e6cdd1;
  border-radius: .55rem;
  background: var(--wine-light);
  color: var(--wine);
}

.service-card p, .work-caption p {
  margin-block: .63rem 1.1rem;
  color: var(--muted);
}

.service-card .text-link { margin-top: auto; }

.text-link {
  color: var(--wine);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .075em;
  text-underline-offset: .23em;
}

.text-link:hover { text-decoration-thickness: .15em; }

.work {
  border-block: 1px solid var(--line);
  background: #f6eee4;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.work-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--card);
  text-decoration: none;
}

.work-image {
  position: relative;
  overflow: hidden;
  background: var(--wine-dark);
}

.work-image img {
  width: 100%;
  height: auto;
  transition: transform 200ms ease;
}

.work-card:hover img { transform: scale(1.03); }
.work-card:hover .text-link { text-decoration-thickness: .15em; }

.play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #25191dd9;
}

.play::before {
  margin-left: .16rem;
  border-block: .44rem solid transparent;
  border-left: .7rem solid #fff;
  content: "";
}

.work-caption { padding: 1.2rem 1.4rem 1.4rem; }
.work-caption p { margin-bottom: .45rem; }

.community-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid #dcc0b7;
  border-radius: .65rem;
  background: #f6e8df;
}

.community-panel p:not(.eyebrow),
.contact p:not(.eyebrow) {
  max-width: 33rem;
  margin-top: 1.05rem;
}

.community-panel p:not(.eyebrow) { color: var(--muted); }

.community-actions,
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .8rem;
  text-align: center;
}

.contact {
  padding-block: clamp(3.5rem, 6.5vw, 5.75rem);
  background: var(--wine-dark);
  color: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem clamp(2rem, 8vw, 7rem);
}

.contact .eyebrow, .contact h2 em, .contact .text-link { color: #f5cfd3; }
.contact p:not(.eyebrow) { color: #f1dfe1; }
.contact-actions .button { min-width: 14rem; }

.footer-layout {
  display: flex;
  min-height: 6rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 1.5rem;
  padding-block: 1.25rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }

@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .desktop-nav, .header-contact { display: none; }
  .mobile-nav { display: block; }

  .mobile-nav summary {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    gap: .35rem;
    padding-inline: .75rem;
    border: 1px solid #b4979b;
    border-radius: .4rem;
    color: var(--wine);
    cursor: pointer;
    font-size: .875rem;
    font-weight: 700;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] summary svg { transform: rotate(180deg); }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + .35rem);
    right: 0;
    display: grid;
    width: min(18rem, 100%);
    padding: .4rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--card);
    box-shadow: 0 .7rem 1.9rem #25191d20;
  }

  .mobile-nav nav a {
    display: block;
    padding: .65rem .8rem;
    border-radius: .25rem;
    color: var(--wine);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-nav nav a:hover { background: var(--wine-light); }
  .hero { min-height: 0; }
  h1 { font-size: clamp(2.7rem, 7.2vw, 4.25rem); }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 650px) {
  .container { width: calc(100% - 2.5rem); }
  .header-layout { min-height: 4.15rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: clamp(2.7rem, 11vw, 4.3rem); }
  .portrait { width: min(100% - .75rem, 23rem); }
  .proof-grid { padding-block: 1.15rem; }
  .proof-grid dt { font-size: .8125rem; }
  .work-grid, .community-panel, .contact-layout { grid-template-columns: 1fr; }
  .community-actions, .contact-actions { justify-self: start; }
  .contact-actions .text-link { text-align: start; }
  .footer-layout { align-items: start; flex-direction: column; }
}

@media (max-width: 460px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
