/* Truly Yours, Photography — Direction A: Evergreen Heirloom */
:root {
  --linen: #F7F3EC;
  --ink: #2E2A24;
  --evergreen: #2F4A3A;
  --terracotta: #A2574A;
  --terracotta-dark: #8A4539;
  --blush: #E8D5CF;
  --white: #fff;
  --line: #d9d0c3;
  --script: "Allison", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--evergreen); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--evergreen); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--evergreen); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 400; color: var(--terracotta); line-height: 1.1; display: block; font-size: clamp(2.5rem, 7vw, 4rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 500; color: var(--evergreen); margin-bottom: .75rem; }
.lead { font-size: 1.2rem; max-width: 60ch; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,236,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--evergreen); font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.brand img { width: 76px; height: 76px; object-fit: contain; border-radius: 6px; }
@media (max-width: 480px) { .brand { font-size: 1.05rem; line-height: 1.1; } .brand img { width: 60px; height: 60px; flex: none; } }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:not(.btn):hover { border-color: var(--terracotta); }
.menu-btn { display: none; background: none; border: 1px solid var(--evergreen); color: var(--evergreen); font: 500 1rem var(--sans); padding: .5rem .9rem; border-radius: 4px; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--linen); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { display: block; padding: .9rem 0; border: 0; }
  .nav li:last-child { border: 0; padding-top: .8rem; }
}

/* buttons */
.btn { display: inline-block; background: var(--terracotta); color: #fff; text-decoration: none; font: 500 1rem var(--sans); padding: .85rem 1.6rem; border: 2px solid var(--terracotta); border-radius: 3px; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--evergreen); border-color: var(--evergreen); }
.btn.ghost:hover { background: var(--evergreen); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* photo placeholders (swap for real <img> when photos arrive) */
.ph { position: relative; background: linear-gradient(135deg, var(--blush), #cdd6c8); border: 8px solid var(--white); box-shadow: 0 8px 24px rgba(46,42,36,.12); overflow: hidden; display: grid; place-items: center; color: var(--evergreen); font-family: var(--serif); font-style: italic; text-align: center; padding: 1rem; }
.ph.g2 { background: linear-gradient(160deg, #cdd6c8, #e9dccb); }
.ph.g3 { background: linear-gradient(200deg, var(--blush), #f2e8dd); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-p { aspect-ratio: 4/5; } .ar-l { aspect-ratio: 3/2; } .ar-s { aspect-ratio: 1; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 680px); }
.hero-photo { background: linear-gradient(135deg, var(--blush), #cdd6c8); display: grid; place-items: center; position: relative; min-height: 340px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.25rem, 5vw, 4.5rem); }
.hero-copy h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 500; max-width: 22ch; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-photo { min-height: 320px; order: -1; } }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band { background: var(--blush); }
.band h2, .band .eyebrow { color: var(--evergreen); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.rule { display: block; width: 72px; height: 2px; background: var(--terracotta); margin: 1rem 0 1.4rem; transform-origin: left; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

/* cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(46,42,36,.1); }
.card-head { background: var(--blush); padding: 1.2rem 1.5rem; }
.card-head h3 { margin: 0; }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.price { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--evergreen); line-height: 1; }
.price small { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--ink); }
.card ul { padding-left: 1.2rem; margin: 1rem 0; }
.card .btn { margin-top: auto; text-align: center; }
.flag { display: inline-block; background: var(--terracotta); color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 2px; margin-bottom: .6rem; }

/* overlapping photos */
.pair { position: relative; aspect-ratio: 1; }
.pair .ph:first-child { width: 70%; }
.pair .ph:last-child { position: absolute; width: 46%; right: 0; bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 2.6rem; color: var(--terracotta); display: block; line-height: 1; }

/* portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filters button { font: 500 1rem var(--sans); padding: .55rem 1.2rem; background: transparent; border: 1px solid var(--evergreen); color: var(--evergreen); border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--evergreen); color: #fff; }
/* masonry via columns; tiles keep natural aspect ratios */
.gallery { columns: 3 260px; column-gap: 1rem; }
.tile { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; margin: 0 0 1rem; break-inside: avoid; }
.tile .ph { width: 100%; transition: transform .25s; }
.tile:hover .ph { transform: scale(1.015); }
.tile[hidden] { display: none; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); width: 100%; }
dialog.lightbox::backdrop { background: rgba(30,26,22,.85); }
.lb-inner { background: var(--linen); padding: 1rem; border-radius: 4px; }
.lb-inner .ph { aspect-ratio: 3/2; max-height: 70vh; width: 100%; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .8rem; }
.lb-bar button { font: 500 1rem var(--sans); background: var(--evergreen); color: #fff; border: 0; padding: .6rem 1rem; border-radius: 3px; cursor: pointer; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--evergreen); }
details p { margin: .7rem 0 0; }

/* form */
form { display: grid; gap: 1.2rem; max-width: 640px; }
label { display: block; font-weight: 500; margin-bottom: .3rem; }
input, select, textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #8b8478; border-radius: 3px; background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; font-weight: 400; }
.check input { width: auto; }
.hint { font-size: .95rem; color: #5b554b; margin: .25rem 0 0; }
.error { color: #9a2f22; font-weight: 500; margin: .3rem 0 0; }
.status { padding: 1rem 1.2rem; background: var(--white); border-left: 4px solid var(--evergreen); }
.hp { position: absolute; left: -9999px; }
.contact-side { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; border-radius: 4px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--evergreen); color: #F7F3EC; padding: 3rem 0 2rem; }
.site-footer a { color: #F7F3EC; }
.site-footer .script { color: #F7F3EC; font-size: 2.6rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.foot-grid h2 { color: #F7F3EC; font-size: 1.2rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.copy { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(247,243,236,.25); font-size: .92rem; }
.page-title { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }

/* motion: enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .rise.in { opacity: 1; transform: none; }
  .pair .ph:last-child { transition: transform .6s ease; transform: translate(14px, 14px); }
  .pair.in .ph:last-child { transform: none; }
  @view-transition { navigation: auto; }
}
.est { font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: .04em; margin-top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lb-inner .ph { background: #1f1b17; border: 0; padding: 0; }
.lb-inner .ph img { object-fit: contain; }
.tile .ph { padding: 0; }

.tile .ph.ar-p { aspect-ratio: 2/3; }

/* ---- premium motion layer (all gated by prefers-reduced-motion) ---- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(46,42,36,.09); }
.nav a:not(.btn) { transition: border-color .25s ease, color .25s ease; }
@media (prefers-reduced-motion: no-preference) {
  .nav { transition: min-height .3s ease; }
  .brand img { transition: width .3s ease, height .3s ease; }
  .site-header.scrolled .nav { min-height: 68px; }
  .site-header.scrolled .brand img { width: 58px; height: 58px; }

  /* staggered reveal delay + softer easing */
  .rise { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); }
  .rise { transform: translateY(22px); }
  .rise.in { transform: none; }

  /* gold-line style rule draws in */
  .rule.draw { transform: scaleX(0); transition: transform .8s cubic-bezier(.22,.61,.36,1) .15s; }
  .rule.draw.in { transform: scaleX(1); }

  /* hero entrance */
  .hero-copy > * { opacity: 0; animation: heroUp .9s cubic-bezier(.22,.61,.36,1) forwards; }
  .hero-copy > :nth-child(1) { animation-delay: .1s; }
  .hero-copy > :nth-child(2) { animation-delay: .3s; }
  .hero-copy > :nth-child(3) { animation-delay: .5s; }
  .hero-copy > :nth-child(4) { animation-delay: .7s; }
  .hero-photo { overflow: hidden; }
  .hero-photo img { animation: heroZoom 2.2s cubic-bezier(.22,.61,.36,1) both; }
  .page-title > * { opacity: 0; animation: heroUp .8s cubic-bezier(.22,.61,.36,1) forwards; }
  .page-title > :nth-child(2) { animation-delay: .12s; } .page-title > :nth-child(3) { animation-delay: .24s; } .page-title > :nth-child(4) { animation-delay: .36s; }

  /* photo hover: slow zoom inside the frame */
  .tile .ph img, .pair .ph img, .split .ph img { transition: transform .9s cubic-bezier(.22,.61,.36,1); }
  .tile:hover .ph img, .pair .ph:hover img, .split .ph:hover img { transform: scale(1.06); }
  .tile:hover .ph { transform: none; }
  .btn { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, background .25s ease; }
  .card { transition: opacity .7s cubic-bezier(.22,.61,.36,1) var(--d,0ms), transform .7s cubic-bezier(.22,.61,.36,1) var(--d,0ms), box-shadow .35s ease; }
  .card.rise.in:hover { transform: translateY(-3px); transition: transform .3s ease, box-shadow .3s ease; }
  .btn:active { transform: translateY(0) scale(.98); }

  /* lightbox open */
  dialog.lightbox[open] { animation: lbIn .35s cubic-bezier(.22,.61,.36,1); }
  dialog.lightbox[open]::backdrop { animation: fadeIn .35s ease; }

  /* thin reading-progress line under the header (browsers with scroll timelines) */
  @supports (animation-timeline: scroll()) {
    .site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--terracotta); transform-origin: left; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root); }
  }
}
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes progress { to { transform: scaleX(1); } }

/* ===== Direction A: Evergreen Heirloom (client-selected) ===== */
/* Option A: Evergreen Heirloom (dark forest, ivory, antique gold) */
:root{--linen:#1F3A2E;--ink:#F4EFE6;--evergreen:#F4EFE6;--terracotta:#C9A96E;--terracotta-dark:#B8975A;--blush:#183026;--white:#F4EFE6;--line:rgba(201,169,110,.35);--script:"Allison",cursive;--serif:"Cormorant Garamond",Georgia,serif;--sans:"Lato",system-ui,sans-serif}
body{font-size:1.125rem;line-height:1.6}
a{color:#C9A96E}a:hover{color:#E0C48C}
.site-header{background:rgba(31,58,46,.96)}
.brand,.nav a:not(.btn){color:#F4EFE6}
.brand{font-weight:600}
.nav a[aria-current="page"],.nav a:not(.btn):hover{border-color:#C9A96E}
.btn{color:#1F3A2E}.btn:hover{color:#1F3A2E;background:#DCC28E;border-color:#DCC28E}
.btn.ghost{color:#C9A96E;border-color:#C9A96E;background:transparent}.btn.ghost:hover{background:#C9A96E;color:#1F3A2E}
.script{color:#C9A96E}
h1,h2,h3{color:#F4EFE6}
.eyebrow{color:#A8B5A2}
.rule{background:#C9A96E}
.lead{color:#F4EFE6}
.band{background:#183026}
.card{color:#1F3A2E !important;border:1px solid #C9A96E}
.card h3,.card .price,.card p{color:#1F3A2E}
.card-head{background:#E7DECB}
.flag{background:#1F3A2E;color:#C9A96E}
.ph{border:0;box-shadow:none;outline:1px solid #C9A96E;outline-offset:7px;margin:8px}
.pair .ph:last-child{margin:0}
.steps li::before{color:#C9A96E}
.hero{position:relative;display:block;min-height:min(88vh,780px)}
.hero-photo{position:absolute;inset:0;min-height:0}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,58,46,.96) 0%,rgba(31,58,46,.82) 38%,rgba(31,58,46,.15) 78%)}
.hero-photo img{object-position:70% 30%}
.hero-copy{position:relative;z-index:2;max-width:680px;min-height:min(88vh,780px);padding-left:clamp(1.5rem,6vw,6rem)}
.hero-copy .script{font-size:clamp(4rem,9vw,6.5rem)}
.hero-copy h1{color:#F4EFE6}
.site-footer{background:#162A21;color:#F4EFE6}.site-footer .script{color:#C9A96E}
.site-footer a{color:#F4EFE6}

.script{font-size:clamp(3.2rem,8vw,5.2rem)}.hero-copy .script{font-size:clamp(5rem,11vw,8rem)}.site-footer .script{font-size:3.4rem}

/* Direction A: contrast fixes for inner pages */
.hint{color:#A8B5A2}
.contact-side{background:#183026;border:1px solid #C9A96E;color:#F4EFE6}
.contact-side h2,.contact-side h3,.contact-side p,.contact-side li{color:#F4EFE6}
.contact-side a{color:#C9A96E}
input,select,textarea{background:#F4EFE6;color:#1F3A2E;border-color:#C9A96E}
input::placeholder,textarea::placeholder{color:#5b6b60}
label{color:#F4EFE6}
.error{color:#F2B8A8}
.filters button{color:#F4EFE6;background:transparent;border:1px solid #C9A96E}
.filters button:hover{background:rgba(201,169,110,.18)}
.filters button[aria-pressed="true"]{background:#C9A96E;color:#1F3A2E;border-color:#C9A96E}
.site-footer .script{margin-bottom:.9rem;line-height:1.3}
.gallery{column-gap:1.4rem}.tile{margin-bottom:1.4rem}
.hero-photo img{object-position:90% 30%}
details summary{color:#F4EFE6}
.hero-copy .script{margin-bottom:1.4rem}
@media (max-width:700px){
  .hero-photo::after{background:linear-gradient(180deg,rgba(31,58,46,.55) 0%,rgba(31,58,46,.88) 45%,rgba(31,58,46,.95) 100%)}
  .hero-photo img{object-position:75% 20%}
  .hero-copy{justify-content:flex-end;padding-bottom:2.5rem}
  .brand{flex-direction:row;font-size:1.05rem}
  .brand img{width:52px;height:52px}
  .nav{min-height:72px}
}
@media (max-width:700px){
  .hero-photo::after{background:linear-gradient(180deg,rgba(31,58,46,.15) 0%,rgba(31,58,46,.55) 35%,rgba(31,58,46,.94) 70%)}
  .brand{display:flex !important;flex-direction:row !important;flex-wrap:nowrap}
}
.script{font-size:clamp(2.8rem,7vw,4.4rem)}.hero-copy .script{font-size:clamp(4rem,10vw,6.5rem)}.site-footer .script{font-size:3rem}

/* Mobile booking bar + privacy note */
.book-bar{display:none}
.privacy{margin:0}
@media (max-width:820px){
  .book-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));background:rgba(22,42,33,.97);border-top:1px solid #C9A96E}
  .book-bar .btn{display:block;text-align:center}
  body.has-bar{padding-bottom:5rem;background:#162A21}
  body.has-bar main{background:var(--linen)}
  html{scroll-padding-bottom:5.5rem}
}
/* keep the header on one line with the longer "Book your session" label */
.nav a,.brand span{white-space:nowrap}
@media (min-width:821px) and (max-width:1060px){
  .nav ul{gap:.8rem;font-size:.95rem}
  .nav .btn{padding:.6rem .8rem;font-size:.95rem}
  .brand{font-size:1.05rem}
  .brand span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}
/* tuck the bar away while the hero's own button is on screen */
.book-bar{transition:transform .3s ease,visibility .3s}
.book-bar.tucked{transform:translateY(100%);visibility:hidden}
