/* ==========================================================================
   AMWoodFrames — coastal wood
   Palette: bleached sand, driftwood, walnut, fog, deep tide
   ========================================================================== */

:root {
  /* surfaces */
  --sand:        #f7f3ec;
  --sand-deep:   #efe8dc;
  --paper:       #fdfbf7;
  --shell:       #e6dccb;

  /* ink */
  --ink:         #2b2621;
  --ink-soft:    #5c5349;
  --ink-faint:   #8d8377;

  /* accents */
  --walnut:      #8a5a3b;
  --walnut-deep: #6d452c;
  --tide:        #37605e;
  --tide-deep:   #274745;

  --line:        #ded3c1;

  --wrap:        1180px;
  --radius:      3px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(43, 38, 33, .06), 0 4px 14px rgba(43, 38, 33, .05);
  --shadow-md: 0 2px 6px rgba(43, 38, 33, .07), 0 18px 44px rgba(43, 38, 33, .10);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

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

/* ------------------------------------------------------------ typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.005em; }
p  { margin: 0 0 1.15em; }
a  { color: var(--walnut-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tide); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--walnut);
  margin: 0 0 1rem;
}
.lede, .section-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--sand); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 2px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--walnut); color: var(--paper); }
.btn-primary:hover { background: var(--walnut-deep); color: var(--paper); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(253,251,247,.5); color: var(--paper); }
.btn-ghost:hover { background: rgba(253,251,247,.14); color: var(--paper); border-color: var(--paper); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,243,236,.88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px; flex: none;
  border: 4px solid var(--walnut);
  border-radius: 1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub  { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); }

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .93rem; font-weight: 500;
  padding-block: .35rem; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--walnut); }
.site-nav .nav-cta {
  background: var(--tide); color: var(--paper);
  padding: .55rem 1.15rem; border-radius: var(--radius); border-bottom: 0;
}
.site-nav .nav-cta:hover { background: var(--tide-deep); color: var(--paper); border-bottom-color: transparent; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .6rem .7rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: relative; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem clamp(1.25rem, 5vw, 2.5rem) 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: .9rem; text-align: center; border-bottom: 0; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; color: var(--paper); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(30,25,20,.90) 0%, rgba(30,25,20,.74) 42%, rgba(30,25,20,.30) 100%),
    linear-gradient(to top, rgba(30,25,20,.55), transparent 45%);
}
.hero-inner { padding: clamp(6rem, 15vw, 11rem) 0 clamp(5rem, 12vw, 9rem); max-width: 58rem; }
.hero .eyebrow { color: #e2c9a8; }
.hero h1 { color: var(--paper); text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero .lede { color: #ece4d8; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

/* ------------------------------------------------------------ fact strip */
.factstrip { background: var(--ink); color: var(--sand); }
.factstrip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px 2rem; padding-block: 2.4rem;
}
.fact { display: flex; flex-direction: column; gap: .2rem; }
.fact strong { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; color: var(--paper); }
.fact span { font-size: .85rem; color: #b6ac9d; line-height: 1.45; }
@media (max-width: 820px) { .factstrip-inner { grid-template-columns: 1fr 1fr; gap: 1.7rem; } }
@media (max-width: 460px) { .factstrip-inner { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- story */
.section-story { background: var(--paper); }
.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.85rem; color: var(--ink-soft); font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border: 2px solid var(--tide); border-radius: 1px;
}
.story-figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.story-figure figcaption,
.gallery figcaption { font-size: .87rem; color: var(--ink-faint); margin-top: .9rem; line-height: 1.5; }

/* --------------------------------------------------------------- gallery */
.section-frames { background: var(--sand-deep); }
/* Masonry via CSS columns: every photo keeps its own proportions, so no
   frame ever gets sliced by a crop it wasn't shot for. */
.gallery {
  columns: 3;
  column-gap: clamp(1rem, 2.2vw, 1.6rem);
  margin-top: 3rem;
}
.shot {
  break-inside: avoid;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }

.shot-btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--shell); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.shot-btn img {
  width: 100%;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), filter .3s ease;
}
.shot-btn:hover { box-shadow: var(--shadow-md); }
.shot-btn:hover img { transform: scale(1.035); }
.gallery figcaption span {
  display: block; color: var(--ink); font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem;
}

/* ----------------------------------------------------------------- woods */
.section-woods { background: var(--paper); }
.woodgrid {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 880px) { .woodgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .woodgrid { grid-template-columns: 1fr; } }
.wood {
  background: var(--paper); padding: 1.9rem 1.7rem 1.7rem;
  border-top: 4px solid var(--swatch, var(--walnut));
  transition: background-color .25s ease;
}
.wood:hover { background: var(--sand); }
.wood h3 { margin-bottom: .4rem; }
.wood p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------------------------------------------------------------- custom */
.section-custom { background: var(--sand-deep); }
.grid-2-alt { align-items: start; }
.pricecard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-sm);
}
.pricecard h3 { font-size: 1.35rem; margin-bottom: 1.4rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.3rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.1rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.1rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  font-family: var(--font-display); font-size: .95rem;
  background: var(--tide); color: var(--paper); border-radius: 50%;
}
.steps > li > strong { display: block; font-weight: 600; font-size: 1rem; }
.steps span strong { font-weight: 600; color: var(--ink); }
.steps span { display: block; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.pricenote { margin: 0; font-size: .88rem; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 1.2rem; }

/* ----------------------------------------------------------------- about */
.section-about { background: var(--paper); }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.pullquote {
  font-family: var(--font-display); font-size: 1.24rem; line-height: 1.5;
  color: var(--ink); border-left: 3px solid var(--walnut);
  padding-left: 1.3rem; margin: 1.8rem 0;
}
.about-links { font-size: .93rem; color: var(--ink-faint); margin: 0; }

/* --------------------------------------------------------------- contact */
.section-contact { background: var(--tide-deep); color: var(--sand); text-align: center; }
.contact-inner { max-width: 44rem; margin-inline: auto; }
.section-contact .eyebrow { color: #8fb8b3; }
.section-contact h2 { color: var(--paper); }
.section-contact .section-lede { color: #cfded9; margin-inline: auto; }
.section-contact .btn-primary { margin-top: 1rem; }
.contact-alt { margin-top: 1.4rem; font-size: .9rem; color: #a9c4bf; }
/* Placeholder while the contact details are withheld. */
.contact-pending {
  display: inline-block;
  margin: 1.6rem 0 0;
  padding: .95rem 1.9rem;
  border: 1px dashed rgba(247,243,236,.35);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #cfded9;
}
.contact-alt a, .section-contact a { color: var(--paper); }
.contact-facts {
  list-style: none; padding: 2.6rem 0 0; margin: 2.6rem 0 0;
  border-top: 1px solid rgba(247,243,236,.16);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.contact-facts li { font-size: .92rem; color: #cfded9; }
.contact-facts strong {
  display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: #8fb8b3; margin-bottom: .3rem; font-weight: 600;
}
@media (max-width: 560px) { .contact-facts { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #9c9385; padding: 3rem 0; }
.footer-inner { display: grid; gap: 1.6rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.25rem; color: var(--sand); margin: 0 0 .2rem; }
.footer-line { margin: 0; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: #c5bcae; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--sand); text-decoration: underline; }
.footer-copy { margin: 0; font-size: .82rem; color: #7d7466; border-top: 1px solid #3d372f; padding-top: 1.5rem; }

/* ------------------------------------------------------------- lightbox  */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(24, 20, 16, .93);
  display: grid; place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  animation: fade .2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { max-width: 1200px; width: 100%; text-align: center; }
.lightbox-figure img {
  max-width: 100%; max-height: 78vh; width: auto; margin-inline: auto;
  border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.lightbox-figure figcaption { color: #d8cfc0; font-size: .92rem; margin-top: 1.1rem; }
.lightbox-close {
  position: absolute; top: clamp(.75rem, 3vw, 1.75rem); right: clamp(.75rem, 3vw, 1.75rem);
  width: 46px; height: 46px; font-size: 2rem; line-height: 1;
  background: rgba(247,243,236,.1); color: var(--sand);
  border: 1px solid rgba(247,243,236,.28); border-radius: 50%; cursor: pointer;
}
.lightbox-close:hover { background: rgba(247,243,236,.22); }

/* ------------------------------------------------------------- print --- */
@media print {
  .site-header, .lightbox, .hero-actions, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
