/* The Vining Studio — moss, clay & warm white theme.
   Fonts are self-hosted (latin subset). */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/dm-sans-var.woff2") format("woff2");
}

:root {
  --ivory: #faf9f5;
  --logo-bg: #faf0e8; /* matches the logo artwork background so no blend mode is needed */
  --paper: #f4f5f0;
  --sage: #e3e8dc;
  --sage-light: #edf0e8;
  --green: #52644b;
  --green-deep: #30382f;
  --gold: #c5ad79;
  --gold-dark: #6f5833;
  --clay: #8f5a47;
  --ink: #303330;
  --line: #e4d7c6;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1; margin: 0 0 24px; max-width: 600px; }
h2 { font-size: clamp(36px, 5vw, 46px); line-height: 1.05; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--green-deep); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--logo-bg);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 6%;
  position: relative; z-index: 30;
}
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { width: 128px; height: 128px; object-fit: contain; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a {
  color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  text-decoration: none; padding: 8px 0; transition: color .18s ease;
}
.desktop-nav a:hover, .text-link:hover { color: var(--gold-dark); }

.nav-toggle { display: none; width: 48px; height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { background: var(--logo-bg); border-bottom: 1px solid var(--line); padding: 8px 6% 16px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: block; padding: 14px 0; text-transform: uppercase; letter-spacing: .14em; font-size: 13px;
  text-decoration: none; color: var(--green); border-bottom: 1px solid var(--line);
}

/* ---------- Buttons & links ---------- */
.button {
  display: inline-block; color: #fff; background: var(--green);
  letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 500; line-height: 1.2;
  padding: 16px 22px; text-decoration: none; text-align: center; border: 1px solid var(--green);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.button-small { padding: 14px 18px; margin-left: 4px; }
.button-ghost { background: transparent; color: var(--green-deep); border-color: #69765f; }
.button-ghost:hover { background: var(--green-deep); color: #fff; }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.button.gold:hover { background: #d4be8e; border-color: #d4be8e; color: var(--green-deep); }
.text-link {
  display: inline-block; color: var(--green); border-bottom: 1px solid var(--gold-dark);
  text-transform: uppercase; letter-spacing: .16em; padding-bottom: 5px; font-size: 12px; font-weight: 500;
  text-decoration: none; transition: color .18s ease;
}
.text-link.light { color: var(--paper); border-color: var(--gold); }
.text-link.light:hover { color: var(--gold); }

.eyebrow { color: #f0dba6; text-transform: uppercase; letter-spacing: .22em; margin: 0 0 16px; font-size: 12px; font-weight: 500; }
.eyebrow.dark { color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero {
  background: #dde3d7; color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 520px; position: relative; overflow: hidden;
}
.hero::after { content: ""; position: absolute; top: 16%; bottom: 16%; right: 47.5%; width: 1px; background: rgba(121, 97, 59, .45); }
.hero-copy { align-self: center; padding: 56px 10%; position: relative; z-index: 1; }
.hero .eyebrow { color: #5f4d2e; }
.hero-description { color: #3d4639; max-width: 440px; margin: 0 0 28px; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button:first-child { background: var(--green); }
.hero-actions .button:first-child:hover { background: var(--green-deep); }
.hero-image { margin: 5.5%; border: 1px solid rgba(121, 97, 59, .45); overflow: hidden; min-height: 420px; position: relative; z-index: 1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; position: absolute; inset: 0; }

.trust-ribbon {
  background: var(--clay); color: #fff; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 500;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 6%;
}

/* ---------- Intro blocks ---------- */
.first-visit { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.first-visit article { padding: 44px 10%; }
.first-visit article + article { background: var(--sage); }
.first-visit h2 { font-size: 32px; margin: 6px 0 12px; line-height: 1.1; }
.first-visit p:not(.eyebrow) { margin: 0 0 18px; font-size: 16px; max-width: 46ch; }

.section { padding: 80px 8%; }
.studio-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; }
.body-copy { margin: 0 0 22px; font-size: 18px; line-height: 1.65; max-width: 60ch; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 32px; }

/* ---------- Services ---------- */
.services { background: var(--sage-light); }
.service-grid article { background: var(--paper); border-top: 2px solid var(--gold); padding: 28px 24px; height: 100%; min-height: 250px; }
.service-grid .num { color: var(--gold-dark); letter-spacing: .16em; font-size: 12px; font-weight: 500; }
.service-grid h3 { margin: 16px 0 12px; font-size: 30px; line-height: 1.1; }
.service-grid p { color: #444d44; font-size: 15px; line-height: 1.65; margin: 0; }
.section-note { margin: 24px 0 0; font-size: 15px; color: rgba(48, 51, 48, .8); }

/* ---------- Work ---------- */
.work { background: var(--green); color: var(--paper); }
.gallery figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery .col-md-4:nth-child(2) figure { aspect-ratio: 1 / 1; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery .col-md-4:first-child img { object-position: 50% 26%; }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 52%, rgba(9, 28, 20, .65)); }
.gallery figcaption { position: absolute; z-index: 1; bottom: 16px; left: 16px; color: #fff; letter-spacing: .17em; text-transform: uppercase; font-size: 12px; font-weight: 500; }
.gallery .row { align-items: flex-end; }

/* ---------- Artist ---------- */
.artist { background: var(--ivory); display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; }
.artist figure { margin: 0; position: relative; background: var(--sage); }
.artist figure img { width: 100%; height: auto; }
.artist figcaption { position: absolute; left: 0; bottom: 20px; background: var(--ink); color: #fff; padding: 8px 14px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.artist-about { padding: 76px 11%; }
.artist h2 { margin: 12px 0 20px; }
.artist-about p { margin: 0 0 1rem; line-height: 1.7; font-size: 16px; }
.artist-about p.body-copy { font-size: 18px; }
.pull {
  font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.35; color: var(--green);
  border-left: 2px solid var(--gold); padding-left: 1.1rem; margin: 1.5rem 0 1.75rem;
}

/* ---------- Policies / FAQ ---------- */
.policies { background: var(--sage); }
.policy-grid article { background: #fff; border: 1px solid var(--line); padding: 24px 20px; height: 100%; }
.policy-grid h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--green); }
.policy-grid p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(48, 51, 48, .9); }

.faq { background: var(--paper); }
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary {
  cursor: pointer; font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.2; color: var(--green);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-sans); font-size: 24px; color: var(--gold-dark); flex: 0 0 auto; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 12px 0 4px; font-size: 16px; line-height: 1.7; color: rgba(48, 51, 48, .9); max-width: 62ch; }

/* ---------- Booking ---------- */
.booking { background: var(--green); color: var(--paper); padding: 88px 6%; }
.booking-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 1100px; margin: 0 auto; }
.booking h2 { font-size: clamp(42px, 6vw, 56px); margin: 12px 0 24px; }
.booking-lead { color: #f0e7d8; max-width: 440px; margin: 0 0 24px; font-size: 18px; line-height: 1.55; }
.booking-phone { display: flex; flex-direction: column; gap: 6px; margin: 0 0 24px; letter-spacing: .06em; }
.booking-phone a { color: var(--ivory); text-decoration: none; font-size: 1.6rem; font-family: var(--font-serif); }
.booking-phone span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #e6ddcc; }
.booking-note { font-size: 14px; color: #e6ddcc; margin: 20px 0 0; max-width: 40ch; }

.booking-form { background: var(--ivory); color: var(--ink); padding: 32px 28px; border: 1px solid rgba(197, 173, 121, .6); }
.form-title { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.1; color: var(--green); margin: 0 0 20px; }
.field { margin-bottom: 14px; }
.booking-form .row { --bs-gutter-y: 0; }
.booking-form label {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(48, 51, 48, .85); margin-bottom: 6px;
}
.booking-form .form-control, .booking-form .form-select {
  border: 1px solid #cfc6b6; border-radius: 0; background-color: #fff; color: var(--ink);
  font-size: 16px; padding: 12px; box-shadow: none;
}
.booking-form .form-control:focus, .booking-form .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(82, 100, 75, .25); }
.booking-form .is-invalid { border-color: #a4402b; }
.field-error { color: #9a3a26; font-size: 14px; margin: 6px 0 0; }
.field-error:empty { display: none; }
.booking-form .button { width: 100%; margin-top: 8px; cursor: pointer; }
.booking-form .button[disabled] { opacity: .65; cursor: wait; }
.form-status { margin: 14px 0 0; padding: 12px 14px; font-size: 15px; line-height: 1.5; border-left: 3px solid var(--gold-dark); background: var(--sage); color: var(--green-deep); }
.form-status:empty { display: none; }
.form-status.is-error { border-color: #a4402b; background: #f6e4de; color: #6e2616; }
.form-footnote { font-size: 13px; color: rgba(48, 51, 48, .75); margin: 14px 0 0; }
.form-footnote a { color: var(--green); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
footer { background: #303330; color: #e2e5dd; padding: 56px 6% 28px; }
.footer-policies h2 { font-size: 34px; line-height: 1.2; color: #faf9f5; margin-bottom: 8px; }
.footer-policy-grid { margin-top: 12px; margin-bottom: 24px; --bs-gutter-y: 1.5rem; }
.footer-policy-grid dt { font-size: 16px; font-weight: 500; color: #faf9f5; margin-bottom: 8px; }
.footer-policy-grid dd { margin: 0; font-size: 15px; line-height: 1.7; color: #e2e5dd; }
.footer-policy-agreement { font-size: 15px; line-height: 1.7; margin: 0 0 32px; }
.footer-policies a { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid #70786c; padding-top: 28px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
}
.footer-brand-row img { width: 120px; height: 120px; object-fit: contain; }
.footer-brand-row a { text-decoration: none; color: inherit; }
.instagram-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border: 1px solid #c5ad79; color: #faf9f5 !important; }
.instagram-link:hover { background: var(--green); }
.footer-phone { padding: 12px 0; }
.copyright { margin: 28px 0 0; font-size: 13px; color: #b9bfb2; text-align: center; }

.mobile-cta { display: none; }

/* Skip layout/paint work for below-the-fold sections until they approach the viewport */
.services, .work, .artist, .policies, .faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand img { width: 96px; height: 96px; }
  .site-header { padding-block: 6px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero::after { display: none; }
  .hero-copy { padding: 44px 8%; }
  .hero-image { margin: 0; border: 0; min-height: 0; height: 340px; }
  .hero-image img { object-position: center 30%; }

  .first-visit, .studio-intro, .artist, .booking-inner { grid-template-columns: 1fr; }
  .first-visit article { padding: 40px 8%; }
  .studio-intro { gap: 24px; }
  .section { padding: 60px 8%; }
  .section-heading { display: block; }
  .section-heading .text-link { margin-top: 18px; }
  .artist figure { width: min(100%, 440px); margin-inline: auto; }
  .artist-about { padding: 52px 8%; }
  .booking { padding: 64px 6% 40px; }
  .booking-form { padding: 26px 20px; }
  .trust-ribbon { justify-content: center; text-align: center; }

  body { padding-bottom: 76px; }
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--ivory); border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cta a {
    flex: 1; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 500;
    padding: 14px 10px; border: 1px solid var(--green); color: var(--green);
  }
  .mobile-cta .mobile-cta-primary { background: var(--green); color: #fff; }
}
@media (max-width: 520px) {
  .hero-copy { padding: 32px 7% 40px; }
  .hero-description { font-size: 17px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-image { height: 280px; }
  .footer-brand-row { justify-content: center; text-align: center; }
  .footer-brand-row > span { flex-basis: 100%; }
  .pull { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
