/* Charleston Wall Art
   Ground is haint blue, the pale blue-green painted on Charleston porch ceilings.
   Photos sit on white mats like prints on a wall. */
:root {
  --ground: #e3eeeb;
  --ground-2: #d2e3de;
  --paper: #fbfcfa;
  --ink: #183230;
  --ink-2: #0f2321;
  --tide: #4a605d;
  --spartina: #a07c1c;
  --rule: rgba(24, 50, 48, .18);
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--spartina); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.section { padding-top: clamp(56px, 8vw, 104px); }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(227, 238, 235, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.site-head.scrolled { border-bottom-color: var(--rule); }
.head-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 22px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--spartina); }

/* buttons */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none;
  font-weight: 600; padding: .85em 1.35em; border-radius: 3px; line-height: 1.2;
}
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(251, 252, 250, .12); color: var(--paper); }
.text-link { font-weight: 500; }

/* hero */
.hero { position: relative; min-height: clamp(520px, 84vh, 880px); display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 24, 23, .84) 0%, rgba(10, 24, 23, .5) 40%, rgba(10, 24, 23, 0) 70%), linear-gradient(to right, rgba(10, 24, 23, .45), rgba(10, 24, 23, 0) 55%); }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) clamp(36px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 15ch; margin-bottom: .35em; text-wrap: balance; }
.hero p { max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* collection tiles */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 22px); }
.col-tile { position: relative; display: block; overflow: hidden; color: var(--paper); text-decoration: none; aspect-ratio: 4 / 3; background: var(--ink); }
.col-tile img { width: 100%; height: 100%; object-fit: cover; }
.col-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 24, 23, .78), rgba(10, 24, 23, 0) 55%); }
.col-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.col-name, .col-count { position: absolute; left: 18px; z-index: 1; }
.col-name { bottom: 40px; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; right: 18px; }
.col-big .col-name { font-size: clamp(1.6rem, 3vw, 2.4rem); bottom: 44px; }
.col-count { bottom: 14px; font-size: .9rem; opacity: .9; }
.col-tile:hover { color: var(--paper); }
.col-tile:hover img { filter: brightness(1.06); }

/* matted photos */
.mat { display: block; background: var(--paper); padding: 10px; box-shadow: 0 1px 2px rgba(24, 50, 48, .14), 0 16px 30px -20px rgba(24, 50, 48, .55); }
.mat-lg { padding: clamp(14px, 2.4vw, 32px); }
.mat img { width: 100%; }

/* gallery */
.gallery { columns: 3 300px; column-gap: clamp(18px, 2.4vw, 32px); }
.gallery-4 { columns: 4 220px; }
.tile { break-inside: avoid; margin: 0 0 clamp(24px, 3vw, 36px); }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.tile figcaption > a:first-child { font-family: var(--serif); font-size: 1.06rem; line-height: 1.3; text-decoration: none; }
.tile figcaption > a:first-child:hover { text-decoration: underline; }
.order-link { font-size: .92rem; font-weight: 600; color: var(--tide); flex: none; }

/* heron spotlight */
.spotlight { background: var(--ink); color: var(--ground); margin-top: clamp(56px, 8vw, 104px); padding: clamp(48px, 7vw, 96px) 0; }
.spot-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.spotlight h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.spotlight p { max-width: 44ch; }
.spotlight .btn { background: var(--paper); color: var(--ink); }
.spotlight .btn:hover { background: #fff; }
.spotlight .text-link { color: var(--ground); }

/* steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 18px; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--spartina); display: block; margin-bottom: 12px; }
.steps p { color: var(--tide); max-width: 36ch; }

/* faq */
.faq > * { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.18rem; padding: 14px 0; list-style-position: outside; }
.faq details p { color: var(--tide); max-width: 68ch; }

/* breadcrumbs, page heads */
.crumbs ol { list-style: none; padding: 0; margin: 8px 0 28px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .92rem; color: var(--tide); }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; opacity: .6; }
.page-head { max-width: 68ch; margin-bottom: clamp(32px, 4vw, 52px); }
.page-head p { color: var(--tide); font-size: 1.1rem; }

/* print page */
.print { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.print-figure { margin: 0; }
.print-info { position: sticky; top: 24px; }
.print-info h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.place { color: var(--tide); font-weight: 500; margin-top: -.3em; }
.buy { margin: 1.6em 0 1em; }
.fine { font-size: .95rem; color: var(--tide); }
.more { margin-top: clamp(56px, 7vw, 96px); }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list a { display: inline-block; padding: .55em 1em; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 500; background: rgba(251, 252, 250, .5); }
.pill-list a:hover { border-color: var(--ink); }

/* about */
.prose { max-width: 66ch; }
.prose h2 { margin-top: 1.4em; }

/* footer */
.site-foot { background: var(--ink); color: var(--ground); margin-top: clamp(72px, 10vw, 128px); padding: clamp(40px, 6vw, 64px) 0 28px; }
.site-foot a { color: var(--ground); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; font-size: .97rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-brand { font-family: var(--serif); font-size: 1.35rem; }
.copy { max-width: var(--wrap); margin: 36px auto 0; padding: 18px var(--gut) 0; border-top: 1px solid rgba(227, 238, 235, .2); font-size: .88rem; opacity: .8; }

@media (max-width: 900px) {
  .head-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: flex-start; gap: 0 18px; }
  .site-nav a { white-space: nowrap; }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .col-big { grid-row: auto; aspect-ratio: 16 / 10; }
  .spot-grid, .print { grid-template-columns: 1fr; }
  .print-info { position: static; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .col-grid { grid-template-columns: 1fr; }
  .col-big { grid-column: auto; aspect-ratio: 4 / 3; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; background: var(--ink); }
  .hero-img { position: static; height: 300px; object-position: 60% 50%; }
  .hero::after { display: none; }
  .hero-text { padding-top: 26px; padding-bottom: 36px; }
  .hero h1 { font-size: 2.2rem; }
}

/* share + gifts */
.share { margin-top: 1.6em; }
.share-label { font-size: .95rem; font-weight: 600; margin-bottom: .5em; }
.pill-list button { font: inherit; font-weight: 500; color: inherit; cursor: pointer; padding: .55em 1em; border: 1px solid var(--rule); border-radius: 999px; background: rgba(251, 252, 250, .5); }
.pill-list button:hover { border-color: var(--ink); }
.gift-group { margin-top: clamp(40px, 6vw, 72px); }
.lede { color: var(--tide); max-width: 62ch; margin-bottom: 1.6em; }

/* ---------- premium details ---------- */
.brand span { letter-spacing: .01em; }
.hero-text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > *:nth-child(2) { animation-delay: .12s; }
.hero-text > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.place { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* collection banner */
.col-hero { position: relative; height: clamp(260px, 46vh, 520px); overflow: hidden; color: var(--paper); margin-bottom: 8px; }
.col-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.col-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 24, 23, .78), rgba(10, 24, 23, .1) 60%, rgba(10, 24, 23, 0)); }
.col-hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) clamp(22px, 4vw, 44px); }
.col-hero-text h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 .15em; }
.col-hero-text p { margin: 0; font-size: 1rem; opacity: .9; }

/* print page: zoom, specs */
.zoom-link { display: block; cursor: zoom-in; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 1.6em 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.specs dt { font-size: .84rem; font-weight: 600; color: var(--tide); margin-bottom: 2px; }
.specs dd { margin: 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; }

/* see it on your wall */
.room { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.room-copy p { color: var(--tide); max-width: 40ch; }
.size-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.size-btn { font: inherit; font-weight: 600; font-size: .95rem; padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--rule); background: rgba(251, 252, 250, .6); color: var(--ink); cursor: pointer; }
.size-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.room-scene {
  --sofa: #33423f; --sofa-back: #2a3735; --sofa-seat: #3b4b48; --sofa-leg: #1c2524;
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px;
  background: linear-gradient(180deg, #dfe6e2 0%, #d2dbd7 70%, #c9d3cf 90%);
  box-shadow: 0 1px 2px rgba(24, 50, 48, .12), 0 20px 40px -28px rgba(24, 50, 48, .6);
}
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 10%; background: linear-gradient(180deg, #b9a78e, #a8957c); }
.room-floor::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: #eef2ef; }
.room-sofa { position: absolute; width: 52.5%; left: 23.75%; bottom: 8.6%; }
.room-print {
  position: absolute; left: 50%; bottom: 54.4%; transform: translateX(-50%);
  width: 22.5%; height: 26.7%; background: var(--paper); padding: .9%; border: 3px solid #1d2423;
  box-shadow: 0 12px 20px -10px rgba(10, 20, 20, .55); transition: width .45s ease, height .45s ease;
}
.room-print img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 24, 23, .92); }
.lightbox img { display: block; max-width: 94vw; max-height: 88vh; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-close { position: absolute; top: -44px; right: 0; font: inherit; font-weight: 600; color: var(--paper); background: transparent; border: 1px solid rgba(251, 252, 250, .5); border-radius: 999px; padding: .4em 1em; cursor: pointer; }

@media (max-width: 900px) {
  .room { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text > * { animation: none; }
  .room-print { transition: none; }
}
