:root {
  --paper: #f4efe6;
  --paper-deep: #e8dfd1;
  --ink: #27231f;
  --brown: #6b5547;
  --clay: #b76f4d;
  --moss: #465447;
  --gold: #c69a58;
  --line: rgba(66, 51, 42, 0.15);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
}
:root[data-theme="dark"] {
  --paper: #171915;
  --paper-deep: #22251f;
  --ink: #f1eadf;
  --brown: #c5bdae;
  --clay: #d59872;
  --moss: #a9b7a2;
  --gold: #dfb76c;
  --line: rgba(239,232,220,.13);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] body { background: var(--paper); }
:root[data-theme="dark"] body::before { opacity: .2; mix-blend-mode: screen; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem clamp(1.1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 230, .9);
  backdrop-filter: blur(16px);
}
:root[data-theme="dark"] .site-header { background: rgba(23,25,21,.9); }
.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: .035em;
}
.site-header nav { display: flex; gap: clamp(.8rem, 2.2vw, 1.8rem); flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a {
  color: var(--brown);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:hover { color: var(--clay); }
.theme-toggle { display:inline-flex;align-items:center;gap:.45rem;min-height:2.1rem;padding:.35rem .65rem;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03);color:var(--brown);font:inherit;font-size:.66rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;cursor:pointer; }
.theme-toggle i { width:.7rem;height:.7rem;border-radius:50%;background:var(--gold);box-shadow:inset -.23rem 0 0 var(--paper); }
.theme-toggle:hover { color:var(--clay);border-color:var(--clay); }

.hero {
  width: min(1180px, 100%);
  min-height: 82vh;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--clay);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h1 { max-width: 11ch; margin-bottom: 1.5rem; font-size: clamp(4rem, 9vw, 8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
h3 { font-size: 1.8rem; }
.lede { max-width: 620px; color: var(--brown); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.note { max-width: 560px; margin: 1.6rem 0 2.3rem; color: var(--brown); }

.maker-mark {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 24%, rgba(198, 154, 88, .25), transparent 28%),
    linear-gradient(145deg, #efe5d5, #d8c4ad);
  overflow: hidden;
  box-shadow: 0 26px 70px -48px rgba(39, 35, 31, .55);
}
.maker-mark p {
  position: absolute;
  right: 2rem;
  bottom: 1.8rem;
  margin: 0;
  color: rgba(39, 35, 31, .72);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-style: italic;
  line-height: .88;
  text-align: right;
}
.mark-line { position: absolute; display: block; height: 1px; background: var(--brown); transform-origin: left; opacity: .5; }
.mark-line.one { width: 75%; top: 31%; left: 12%; transform: rotate(24deg); }
.mark-line.two { width: 64%; top: 52%; left: 21%; transform: rotate(-33deg); }
.mark-line.three { width: 48%; top: 17%; left: 39%; transform: rotate(78deg); }
.mark-dot { position: absolute; width: 80px; height: 80px; left: 22%; top: 29%; border: 1px solid var(--clay); border-radius: 50%; box-shadow: 0 0 0 28px rgba(183,111,77,.08); }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid var(--moss);
  background: var(--moss);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.light { border-color: var(--paper); background: var(--paper); color: var(--moss); }
.text-link { color: var(--clay); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-underline-offset: .25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.band { padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 5rem); border-top: 1px solid var(--line); scroll-margin-top: 5.5rem; }
.band > * { width: min(1080px, 100%); margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--brown); }

.gallery-grid { display: grid; gap: 1.25rem; }
.work-card {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  border: 1px solid var(--line);
  background: rgba(232, 223, 209, .38);
  box-shadow: 0 20px 60px -48px rgba(39, 35, 31, .45);
}
:root[data-theme="dark"] .work-card,
:root[data-theme="dark"] .future-grid article { background: rgba(34,37,31,.72); }
.work-card.featured { background: rgba(226, 213, 193, .55); }
.work-copy { padding: clamp(1.8rem, 5vw, 4rem); align-self: center; }
.work-copy p { max-width: 650px; color: var(--brown); }
.work-type, .availability {
  color: var(--clay) !important;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.work-visual { min-height: 390px; display: grid; place-items: center; overflow: hidden; }
.book-visual { position: relative; }
.book-visual::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 72%;
  border: 1px solid rgba(244, 239, 230, .5);
  box-shadow: 22px 28px 50px rgba(39,35,31,.2);
  transform: rotate(-5deg);
}
.book-visual span { position: relative; z-index: 2; color: rgba(244,239,230,.9); font-family: var(--serif); font-size: 2rem; letter-spacing: .15em; }
.book-visual.bbb { background: linear-gradient(135deg, #7c7158, #384338); }
.book-visual.hot { background: linear-gradient(135deg, #b7663e, #6e2d27); }

.companion-room { background: color-mix(in srgb, var(--paper-deep) 44%, transparent); }
.companion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.companion-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: 210px 1fr;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 28px 70px -58px rgba(39,35,31,.55);
  overflow: hidden;
}
.companion-card:nth-child(1), .companion-card:nth-child(4) { border-radius: 46px 18px 48px 20px; }
.companion-card:nth-child(2), .companion-card:nth-child(3) { border-radius: 18px 48px 20px 46px; }
.companion-visual { position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(244,239,230,.16); }
.companion-visual::before,
.companion-visual::after { content: ""; position: absolute; border: 1px solid rgba(244,239,230,.32); border-radius: 50%; }
.companion-visual::before { width: 13rem; height: 13rem; transform: translate(-24%, 16%); }
.companion-visual::after { width: 7rem; height: 7rem; transform: translate(45%, -28%); }
.companion-visual span { position: relative; z-index: 1; color: rgba(255,255,255,.88); font-family: var(--serif); font-size: 4.3rem; font-style: italic; font-weight: 300; }
.sage-card .companion-visual { background: linear-gradient(138deg, #2f3c31, #849174); }
.summit-card .companion-visual { background: linear-gradient(138deg, #273239, #7c8f91); }
.vero-card .companion-visual { background: linear-gradient(138deg, #432c3b, #9d778d); }
.press-card .companion-visual { background: linear-gradient(138deg, #302a23, #9b655b); }
.companion-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.7rem, 4vw, 3rem); }
.companion-copy h3 { margin-bottom: .8rem; font-size: clamp(2.2rem, 4vw, 3.3rem); }
.companion-copy > p:not(.work-type):not(.availability) { color: var(--brown); }
.companion-copy .availability { margin-top: auto; padding-top: 1.2rem; }
.companion-copy .small-note { margin: -.2rem 0 1.2rem; font-size: .78rem; line-height: 1.55; }
.companion-copy .actions { margin-top: .5rem; }
.room-note { max-width: 760px; margin-top: 2rem !important; color: var(--brown); font-size: .82rem; }

.dark { background: #273128; color: var(--paper); }
.dark .eyebrow { color: #deb887; }
.dark .section-head p:last-child { color: rgba(244,239,230,.72); }
.painting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.painting { min-height: 390px; position: relative; overflow: hidden; border: 1px solid rgba(244,239,230,.17); }
.painting::before, .painting::after { content: ""; position: absolute; border-radius: 48% 52% 42% 58%; filter: blur(1px); }
.painting span { position: absolute; bottom: 1rem; left: 1rem; font-family: var(--serif); color: rgba(244,239,230,.65); }
.painting.one { background: #8d604e; }
.painting.one::before { width: 80%; height: 55%; left: -8%; top: 14%; background: #d7a569; transform: rotate(22deg); }
.painting.one::after { width: 48%; height: 70%; right: -9%; bottom: -6%; background: #3c5350; }
.painting.two { background: #b89b71; }
.painting.two::before { width: 70%; height: 70%; right: -14%; top: -11%; background: #4c6153; }
.painting.two::after { width: 60%; height: 44%; left: -8%; bottom: 8%; background: #8b3c32; transform: rotate(-18deg); }
.painting.three { background: #363e4c; }
.painting.three::before { width: 58%; height: 80%; left: 8%; top: -12%; background: #ba744e; transform: rotate(14deg); }
.painting.three::after { width: 52%; height: 45%; right: -4%; bottom: 8%; background: #cab775; }

.future-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.future-grid article { min-height: 220px; padding: 1.6rem; border: 1px solid var(--line); background: rgba(232,223,209,.35); }
.future-grid p { color: var(--brown); }

.closing { width: min(860px, calc(100% - 2.4rem)); margin: 0 auto; padding: clamp(6rem, 12vw, 11rem) 0; text-align: center; }
.closing h2 { margin-bottom: 1.5rem; }
.closing > p:not(.eyebrow) { max-width: 680px; margin: 0 auto 2rem; color: var(--brown); }
.closing .actions { justify-content: center; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2.5rem clamp(1.2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--brown);
}
footer p { margin: 0; font-family: var(--serif); font-size: 1.1rem; }
footer div { display: flex; flex-wrap: wrap; gap: 1.2rem; }
footer a { font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 880px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; }
  .maker-mark { min-height: 330px; }
  .work-card { grid-template-columns: 1fr; }
  .work-visual { min-height: 300px; }
  .painting-grid, .future-grid, .companion-grid { grid-template-columns: 1fr; }
  .painting { min-height: 320px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { gap: .75rem; padding: .9rem 1rem; }
  .site-header nav { gap: .55rem 1rem; }
  .site-header nav a { font-size: .61rem; }
  .theme-toggle { margin-left: auto; }
  .band { scroll-margin-top: 9.5rem; }
  h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .hero, .band { padding-left: 1rem; padding-right: 1rem; }
  .actions .button { width: 100%; }
}
