/* Locked & Found — site styles
   Palette taken from the logo (navy ink, brass) and the AID case documents (manila paper, stamp red). */

@font-face { font-family: "IM Fell English"; src: url("fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IM Fell English"; src: url("fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --manila: #e8dec6;      /* folder paper */
  --sheet: #f4efe3;       /* loose sheet inside the folder */
  --ink: #1b2537;         /* navy from the logo */
  --night: #121a28;       /* deep navy for dark sections */
  --brass: #9c7a38;       /* brass on light paper */
  --brass-lit: #c9a862;   /* brass on dark navy */
  --stamp: #8b1a1a;       /* AID stamp red */
  --text: #2a2620;
  --text-soft: #5b5446;
  --on-dark: #ece4d1;
  --on-dark-soft: #b7b09f;

  --display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --type: "Courier Prime", "Courier New", monospace;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--manila);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-dark); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--text-soft); max-width: 38em; }

/* ---------- header ---------- */
.site-header { background: var(--sheet); border-bottom: 1px solid #d6cbb0; position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .98rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }
.lang { display: flex; gap: .35rem; font-size: .9rem; color: var(--text-soft); }
.lang a { color: var(--text-soft); }
.lang strong { color: var(--ink); font-weight: 600; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: .95rem; padding: .35rem .8rem; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; padding: .8rem 1.4rem; border: 1px solid transparent; transition: background-color .15s, color .15s; }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: var(--night); }
.btn-brass { background: var(--brass-lit); color: var(--night); }
.btn-brass:hover { background: #d8bb7a; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(201,168,98,.12); }
.nav .btn { color: var(--on-dark); padding: .55rem 1.1rem; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ---------- hero (home) ---------- */
.hero { background: var(--night); color: var(--on-dark); padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: var(--on-dark); }
.hero .sub { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--brass-lit); margin-bottom: 2rem; }
.hero .btn-line { color: var(--on-dark); }

/* image slots: replace with <img> once photos are ready */
.img-slot { margin: 0; aspect-ratio: 4 / 3; background:
    linear-gradient(160deg, rgba(201,168,98,.10), rgba(0,0,0,.25)),
    #1d2738;
  border: 1px solid rgba(201,168,98,.35); display: flex; align-items: flex-end; padding: 1rem; }
.img-slot span { font-family: var(--type); font-size: .82rem; color: var(--on-dark-soft); }
.img-slot.light { background: #ddd1b3; border-color: #c2b38f; }
.img-slot.light span { color: var(--text-soft); }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #1d2738; }
.hero .photo { max-height: 640px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.with-photo { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.with-photo.reverse { grid-template-columns: 1.2fr .8fr; }
.with-photo .lines { margin-bottom: 1.5rem; }

/* ---------- page head (inner pages) ---------- */
.page-head { background: var(--night); color: var(--on-dark); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { color: var(--on-dark); max-width: 16em; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head .lede { color: var(--on-dark-soft); margin: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sheet { background: var(--sheet); }
.section-head { max-width: 40em; margin-bottom: 2.5rem; }
.section-head p { color: var(--text-soft); }
.prose { max-width: 36em; }
.prose p { font-size: 1.12rem; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--brass); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--brass); margin-bottom: .5rem; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--text-soft); margin: 0; }
.steps.vertical { grid-template-columns: 1fr; max-width: 44em; gap: 0; }
.steps.vertical li { display: grid; grid-template-columns: 4rem 1fr; padding: 1.4rem 0; }
.steps.vertical li::before { grid-row: span 2; margin: 0; }

/* experience block */
.experience { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.experience .lines p { font-family: var(--display); font-size: 1.5rem; line-height: 1.35; color: var(--ink); margin-bottom: .5em; }

/* ---------- the case files: the one bold element ---------- */
.case-file { position: relative; background: var(--sheet); padding: clamp(1.75rem, 4vw, 3rem); margin-top: 2.2rem;
  box-shadow: 0 1px 0 #d2c6a8, 0 18px 40px -24px rgba(27,37,55,.45); }
.case-file::before { /* folder tab */
  content: attr(data-tab); position: absolute; top: -2.1rem; left: 0; height: 2.1rem; padding: .45rem 1.4rem 0;
  background: var(--sheet); font-family: var(--type); font-size: .9rem; color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
.case-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); }
.case-file h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.specs { font-family: var(--type); font-size: .95rem; margin: 0 0 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem; }
.specs dt { color: var(--text-soft); }
.specs dd { margin: 0; color: var(--ink); }
.case-file .hook { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.price { font-family: var(--type); border-top: 1px dashed #b9ab8a; border-bottom: 1px dashed #b9ab8a; padding: .75rem 0; margin: 1.4rem 0; color: var(--ink); }
.stamp { position: absolute; top: 1.4rem; right: 1.6rem; transform: rotate(-8deg); border: 3px double var(--stamp); color: var(--stamp);
  font-family: var(--type); font-weight: 700; font-size: 1rem; padding: .3rem .8rem; letter-spacing: .08em; opacity: .85; mix-blend-mode: multiply; }

.upcoming { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4.5rem; }
.case-file.later { margin-top: 0; background: #ece5d4; color: var(--text-soft); box-shadow: 0 1px 0 #d2c6a8; }
.case-file.later::before { background: #ece5d4; }
.case-file.later h3, .case-file.later h2 { font-size: 1.7rem; color: var(--text-soft); padding-right: 9rem; }
.case-file.later p { margin: 0; font-style: italic; }
.case-file.later .stamp { color: var(--text-soft); border-color: var(--text-soft); font-size: .8rem; }

/* audiences */
.audiences { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3.5rem; }
.audiences h3 { margin-bottom: .3em; }
.audiences p { color: var(--text-soft); margin: 0; max-width: 32em; }

/* facts list */
.facts { display: grid; grid-template-columns: auto 1fr; gap: .6rem 2rem; max-width: 44em; margin: 0; padding: 1.5rem 0; border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }

.checklist { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.checklist li { margin-bottom: .3rem; }
.checklist li::marker { color: var(--brass); }

/* FAQ */
.faq { max-width: 46em; }
.faq details { border-bottom: 1px solid #cdbf9e; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative; font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; font-family: var(--body); font-size: 1.4rem; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.3rem; color: var(--text-soft); max-width: 40em; }

/* contact */
.contact-card { background: var(--sheet); padding: clamp(1.75rem, 4vw, 3rem); max-width: 40em; box-shadow: 0 1px 0 #d2c6a8; }
.contact-card .phone { font-family: var(--type); font-size: 1.25rem; color: var(--ink); margin: 1rem 0 1.5rem; }
.note { font-size: .95rem; color: var(--text-soft); margin-top: 1.5rem; }

/* legal + contact details */
.legal h2 { font-size: 1.55rem; margin: 2.2rem 0 .5rem; }
.legal h2:first-child { margin-top: 0; }
.phone-label { font-family: var(--body); font-size: .95rem; color: var(--text-soft); display: block; }
.contact-facts { margin-top: 2rem; }
.price small { display: block; font-size: .82rem; color: var(--text-soft); margin-top: .2rem; }
.fine { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.fine p { margin: 0; }

/* closing call to action */
.cta-band { background: var(--ink); color: var(--on-dark); padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--on-dark); margin: 0 0 .2em; }
.cta-band p { margin: 0; color: var(--on-dark-soft); }

/* footer */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding: 3rem 0 2.5rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.wordmark { font-family: var(--display); font-size: 1.6rem; color: var(--on-dark); margin: 0 0 .4rem; }
.wordmark span { color: var(--brass-lit); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer .lang a, .site-footer .lang { color: var(--on-dark-soft); }
.site-footer .lang strong { color: var(--on-dark); }
.fine { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(201,168,98,.25); font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .experience, .case-grid, .with-photo, .with-photo.reverse { grid-template-columns: 1fr; }
  .with-photo .photo, .hero .photo { max-height: 520px; }
}
@media (max-width: 860px) {
  .js .menu-toggle { display: block; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem;
    background: var(--sheet); padding: 1.25rem var(--gutter) 1.75rem; border-bottom: 1px solid #d6cbb0; }
  .site-header { position: relative; }
  .bar { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .steps, .audiences, .upcoming, .foot-grid { grid-template-columns: 1fr; }
  .steps.vertical li { grid-template-columns: 3rem 1fr; }
  .brand img { height: 34px; }
  .stamp, .case-file.later p.stamp { position: static; display: inline-block; margin-bottom: 1.75rem; }
  .case-file.later h3, .case-file.later h2 { padding-right: 0; }
  .facts { grid-template-columns: 1fr; gap: .1rem; }
  .facts dd { margin-bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* booking */
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.cta-wa { color: var(--on-dark-soft); font-size: .95rem; }
.cta-wa:hover { color: var(--on-dark); }
.book-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.booking { background: var(--sheet); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 1px 0 #d2c6a8; }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; padding: 0; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.field-row .field { margin-bottom: .4rem; }
.booking input[type=text], .booking input[type=date], .booking input[type=number], .booking select, .booking textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fffdf7; border: 1px solid #b9ab8a; border-radius: 0; padding: .65rem .75rem; }
.booking select:disabled { color: var(--text); opacity: 1; background: #efe9da; }
.booking input:focus, .booking select:focus, .booking textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.choice { display: flex !important; align-items: center; gap: .6rem; font-weight: 400 !important; color: var(--text) !important; margin: 0 0 .4rem; cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.hint { font-size: .9rem; color: var(--text-soft); margin: .35rem 0 0; }
.count-note { margin: 0 0 1.25rem; }
.warn { color: var(--stamp); }
.warn:empty, .hint:empty { display: none; }
.price-box { border-top: 1px dashed #b9ab8a; border-bottom: 1px dashed #b9ab8a; padding: .9rem 0; margin: .5rem 0 1.5rem; }
.price-label { font-weight: 600; color: var(--ink); margin: 0; }
div.total { font-family: var(--type); font-size: 1rem; color: var(--ink); margin: .5rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; }
.total s { color: var(--text-soft); }
.total strong { font-size: 1.25rem; padding-top: .35rem; border-top: 1px solid #d2c6a8; }
.total em { grid-column: 1 / -1; font-family: var(--body); font-size: .9rem; color: var(--stamp); }
.booking .btn { cursor: pointer; font-size: 1.05rem; }
.book-aside h2 { font-size: 1.7rem; }
.book-aside h3 { margin-top: 2.5rem; }
.next-steps { padding-left: 1.3rem; margin: 0; color: var(--text-soft); }
.next-steps li { margin-bottom: .45rem; }
.next-steps li::marker { color: var(--brass); font-family: var(--display); }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } .field-row .field { margin-bottom: 1.25rem; } }
.choice.is-off { color: var(--text-soft) !important; cursor: not-allowed; }

/* full-bleed hero */
.hero-full { position: relative; overflow: hidden; min-height: min(82vh, 760px); display: flex; align-items: center; isolation: isolate; }
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18,26,40,.94) 0%, rgba(18,26,40,.82) 38%, rgba(18,26,40,.25) 72%, rgba(18,26,40,.05) 100%); }
.hero-full .wrap { width: 100%; }
.hero-copy { max-width: 34rem; }
/* photo variants */
.photo-wide { aspect-ratio: 4 / 3; }
.photo-band { aspect-ratio: 21 / 9; margin: 0 0 2.5rem; }
.experience .photo-wide { margin-top: 1.5rem; }
.photo-later { aspect-ratio: 16 / 9; margin: 0 0 1.25rem; filter: grayscale(.55) brightness(.9); }
.case-file.later .stamp { z-index: 1; }
@media (max-width: 960px) {
  .hero-full { min-height: 0; padding: 0; display: block; }
  .hero-full .hero-bg { position: static; height: auto; aspect-ratio: 16 / 10; object-position: 75% center; }
  .hero-full::before { display: none; }
  .hero-full .wrap { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .photo-band { aspect-ratio: 16 / 9; }
}
.case-file.later .stamp { mix-blend-mode: normal; background: #ece5d4; top: 1.1rem; right: 1.2rem; }
.hero-copy { max-width: 30rem; }

/* gallery on the case page */
.gallery-block { margin: 4rem 0 0; }
.gallery-block h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .3em; }
.gallery-lede { color: var(--text-soft); margin-bottom: 1.5rem; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: end; }
.gallery-slide .photo { aspect-ratio: 4 / 5; }
.gallery-slide figcaption { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.4; color: var(--ink); max-width: 22em; padding-bottom: 1rem; }
.gallery-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.gallery-nav button { font: inherit; font-size: 1.2rem; width: 2.75rem; height: 2.75rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.gallery-nav button:hover:not(:disabled) { background: var(--ink); color: var(--on-dark); }
.gallery-nav button:disabled { opacity: .3; cursor: default; }
.gallery-count { font-family: var(--type); font-size: .95rem; color: var(--text-soft); min-width: 3.5rem; text-align: center; }
@media (max-width: 640px) {
  .gallery-slide { grid-template-columns: 1fr; gap: .8rem; }
  .gallery-slide figcaption { font-size: 1.15rem; padding: 0; }
}
.form-status { font-weight: 600; color: var(--ink); margin: 1rem 0 0; }
.form-status:empty { display: none; }
button.btn-line { background: transparent; color: var(--ink); }
