/* Pennyroyal Antiques. Hand-written CSS, no frameworks. */

@font-face { font-family: "Seraphine"; src: url("../fonts/seraphine-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Seraphine"; src: url("../fonts/seraphine-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Seraphine"; src: url("../fonts/seraphine-light-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }

:root {
  --ivory: #f7f4ee;
  --paper: #efeae0;
  --ink: #1b1a17;
  --soft: #6d675d;
  --line: #d8d1c3;
  --night: #131210;
  --night-soft: #a9a294;
  --verdure: #2e3a2c;
  --flag: #8c3a2b;
  --serif: "Seraphine", "Cormorant Garamond", "Hoefler Text", Garamond, "Times New Roman", serif;
  --gutter: clamp(1.5rem, 5vw, 5.5rem);
  --section: clamp(5rem, 11vw, 11rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--serif); font-weight: 300; font-size: 1.125rem; line-height: 1.75;
  letter-spacing: .012em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.4em; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -.005em; }
::selection { background: var(--verdure); color: var(--ivory); }

/* ---------- type ---------- */
.label {
  font-weight: 400; font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--soft); display: block;
}
.display { font-size: clamp(2.5rem, 5.4vw, 5.4rem); line-height: 1.06; word-spacing: -.08em; }
.title { font-size: clamp(2rem, 3.9vw, 3.5rem); line-height: 1.12; word-spacing: -.06em; }
.subtitle { font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.3; }
.lede { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.65; }
em, .it { font-style: italic; }
.measure { max-width: 34em; }
.muted { color: var(--soft); }
.tc {
  font-style: normal; font-weight: 400; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--flag); border: 1px solid currentColor; padding: .2em .55em .15em; margin-left: .5em;
  white-space: nowrap; vertical-align: .15em; display: inline-block; line-height: 1.5;
}

.link {
  font-weight: 400; font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase;
  display: inline-block; padding-bottom: .7em; position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; right: .32em; bottom: 0; height: 1px; background: currentColor;
  transform-origin: left; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(.35); }

.btn {
  font-family: var(--serif); font-weight: 400; font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase;
  display: inline-block; padding: 1.35em 3.2em 1.25em; border: 1px solid var(--ink); background: var(--ink);
  color: var(--ivory); cursor: pointer; transition: background .5s var(--ease), color .5s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ink);
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head__in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.6rem var(--gutter) 1.4rem; transition: padding .6s var(--ease);
}
.site-head nav { display: flex; gap: clamp(1.2rem, 2.4vw, 2.8rem); }
.site-head nav:last-of-type { justify-content: flex-end; }
.site-head nav a { font-weight: 400; font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; opacity: .86; transition: opacity .3s; white-space: nowrap; }
.site-head nav a:hover, .site-head nav a[aria-current] { opacity: 1; }
.site-head nav a[aria-current] { border-bottom: 1px solid currentColor; padding-bottom: .45em; }
.wordmark { text-align: center; line-height: 1; display: block; }
.wordmark b { display: block; font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; }
.wordmark i { display: block; font-style: normal; font-weight: 400; font-size: .5625rem; letter-spacing: .62em; margin: .75em -.62em 0 0; text-transform: uppercase; opacity: .8; }
.site-head--over { color: #fff; }
.site-head--solid { background: rgba(247, 244, 238, .96); color: var(--ink); border-bottom-color: var(--line); backdrop-filter: blur(8px); }
.site-head--solid .site-head__in { padding-top: 1.05rem; padding-bottom: .95rem; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: inherit; font-weight: 400; font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; padding: .5rem 0; cursor: pointer; justify-self: start; }

.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a { font-size: 2rem; line-height: 1.9; display: block; }
.drawer .menu-btn { display: block; position: absolute; top: 1.4rem; left: var(--gutter); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100vh, 1100px); min-height: min(100svh, 1100px); background: var(--night); color: #fff; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; }
.hero__copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 9rem var(--gutter) clamp(3rem, 7vw, 6rem); position: relative; z-index: 2; }
.hero__copy .label { color: var(--night-soft); margin-bottom: 2.2rem; }
.hero__copy .display { max-width: 10.5em; font-size: clamp(2.5rem, 4.6vw, 4.6rem); }
.hero__copy p { max-width: 27em; color: #d9d3c6; margin: 2.2rem 0 2.8rem; }
.hero__art { position: relative; display: flex; align-items: center; justify-content: center; padding: 7.5rem var(--gutter) 4rem 0; }
.hero__art img { max-height: min(calc(100svh - 11.5rem), 860px); width: auto; box-shadow: 0 40px 90px rgba(0, 0, 0, .65); animation: settle 2.4s var(--ease) both; }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 72% 46%, rgba(190, 160, 95, .2), transparent 70%); pointer-events: none; }
@keyframes settle { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--ivory); }
.section--night .label, .section--night .muted { color: var(--night-soft); }
.center { text-align: center; }
.center .measure, .center.measure { margin-left: auto; margin-right: auto; }
.label + .title, .label + .display, .label + .subtitle { margin-top: 1.8rem; }
.title + .lede, .title + p, .display + .lede { margin-top: 2.2rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.statement { word-spacing: -.06em; max-width: 15.5em; margin: 0 auto; font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: 1.18; text-align: center; }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; }
.split__img { grid-column: span 6; }
.split__txt { grid-column: span 5; }
.split--flip .split__img { order: 2; grid-column: 7 / span 6; }
.split--flip .split__txt { grid-column: 2 / span 5; }
.split__txt .title { margin-bottom: 2rem; }

.band { position: relative; height: min(92vh, 60vw); min-height: 26rem; overflow: hidden; background: var(--night); }
.band img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.band__cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: var(--gutter); background: linear-gradient(rgba(12, 11, 9, .35), rgba(12, 11, 9, .55)); }
.band__cap blockquote { margin: 0; font-size: clamp(1.7rem, 3.6vw, 3.3rem); line-height: 1.22; max-width: 17em; font-style: italic; }
.band__cap .label { color: #e8e2d4; margin-top: 2.4rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--night); }
.duo figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease); }
.duo figure:hover img { transform: scale(1.04); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 3.4vw, 4rem); }
.card { display: block; }
.card__img { overflow: hidden; background: var(--paper); aspect-ratio: 4 / 5; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease), opacity .8s; }
.card:hover .card__img img { transform: scale(1.035); }
.card__flag { position: absolute; top: 1.1rem; left: 1.1rem; background: var(--ivory); color: var(--ink); font-weight: 400; font-size: .5625rem; letter-spacing: .3em; text-transform: uppercase; padding: .7em 1em .55em; }
.card .label { margin-top: 1.5rem; }
.card h3 { font-size: 1.45rem; line-height: 1.3; margin: .7rem 0 .45rem; }
.card p { font-size: 1rem; color: var(--soft); margin: 0; line-height: 1.6; }
.card .price { color: var(--ink); margin-top: .7rem; font-size: 1rem; letter-spacing: .05em; }
.grid--feature .card:first-child { grid-column: span 2; grid-row: span 2; }
.grid--feature .card:first-child h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 6rem); }
.trio h3 { font-size: 1.6rem; line-height: 1.25; margin: 1.3rem 0 1rem; }
.trio p { font-size: 1.0625rem; color: var(--soft); }
.num { font-style: italic; font-size: 1.1rem; color: var(--soft); }

/* ---------- page head ---------- */
.page-head { padding: clamp(11rem, 20vw, 17rem) var(--gutter) clamp(4rem, 8vw, 7rem); text-align: center; }
.page-head .display { max-width: 12em; margin-left: auto; margin-right: auto; }
.page-head .lede { max-width: 31em; margin-left: auto; margin-right: auto; color: var(--soft); }

/* ---------- prose ---------- */
.prose { max-width: 37rem; margin: 0 auto; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.2; margin: 3.4rem 0 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose .drop::first-letter { font-size: 4.4em; float: left; line-height: .82; padding: .09em .12em 0 0; }
.aside { border-left: 1px solid var(--ink); padding: .2rem 0 .2rem 2rem; margin: 3rem 0; font-size: 1.45rem; line-height: 1.45; font-style: italic; }

.ledger { border-top: 1px solid var(--ink); margin: 0; }
.ledger div { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1.25rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.ledger dt { font-weight: 400; font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); padding-top: .45em; }
.ledger dd { margin: 0; font-size: 1.0625rem; line-height: 1.6; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.7rem 3rem 1.5rem 0; font-size: 1.35rem; line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.45rem; font-size: 1.6rem; font-weight: 300; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); max-width: 34em; padding-bottom: .6rem; }

/* ---------- piece page ---------- */
.piece { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(8rem, 12vw, 10.5rem) var(--gutter) var(--section); align-items: start; }
.piece__stage { background: var(--night); display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 4vw, 4rem); aspect-ratio: 1 / 1.08; }
.piece__stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); transition: opacity .5s; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .6rem; }
.thumbs button { border: 0; padding: 0; background: var(--paper); cursor: pointer; aspect-ratio: 1; overflow: hidden; opacity: .55; transition: opacity .4s; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.piece__info { position: sticky; top: 7.5rem; }
.piece__info h1 { font-size: clamp(2.1rem, 3.5vw, 3.3rem); line-height: 1.1; margin: 1.6rem 0 1.5rem; }
.piece__price { font-size: 1.35rem; margin: 2.2rem 0 .4rem; }
.piece__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.6rem; }
.crumbs { font-weight: 400; font-size: .625rem; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); }
.crumbs a:hover { color: var(--ink); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); }
.field { display: block; margin-bottom: 2.2rem; }
.field span { font-weight: 400; font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); display: block; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; border-radius: 0;
  font: inherit; color: inherit; padding: .7rem 0 .6rem; outline: none; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-width: 2px; }
.form-note { font-size: .95rem; color: var(--flag); min-height: 1.6em; margin-top: 1.2rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--ivory); padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2.5rem; }
.site-foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.site-foot .wordmark { text-align: left; }
.site-foot .wordmark b { font-size: 1.5rem; }
.site-foot p { color: var(--night-soft); font-size: 1rem; max-width: 22em; margin-top: 1.8rem; }
.site-foot h4 { font-weight: 400; font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; color: var(--night-soft); margin: 0 0 1.4rem; }
.site-foot li { list-style: none; margin-bottom: .55rem; font-size: 1rem; }
.site-foot ul { margin: 0; padding: 0; }
.site-foot li a { border-bottom: 1px solid transparent; transition: border-color .4s; }
.site-foot li a:hover { border-bottom-color: currentColor; }
.site-foot__base { border-top: 1px solid #34312b; padding-top: 1.8rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; font-weight: 400; font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--night-soft); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__art img { animation: none; }
  .band img { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-head nav { display: none; }
  .menu-btn { display: block; }
  .site-head__in { grid-template-columns: 1fr auto 1fr; }
  .site-foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 1.0625rem; }
  .hero { grid-template-columns: 1fr; }
  .hero__art { order: -1; padding: 7rem var(--gutter) 0; }
  .hero__art img { max-height: 62svh; }
  .hero__copy { padding-top: 3rem; }
  .split, .contact { display: block; }
  .split__img { margin-bottom: 3rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid--feature .card:first-child { grid-column: span 2; grid-row: auto; }
  .trio { grid-template-columns: 1fr; gap: 3.5rem; }
  .band { height: min(78vh, 34rem); }
  .piece { grid-template-columns: 1fr; padding-top: 7rem; }
  .piece__info { position: static; }
  .ledger div { grid-template-columns: 1fr; gap: .2rem; }
  .contact > * + * { margin-top: 4rem; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .grid--feature .card:first-child { grid-column: auto; }
  .duo { grid-template-columns: 1fr; }
  .site-foot__top { grid-template-columns: 1fr; }
  .wordmark b { letter-spacing: .22em; margin-right: -.22em; }
  .btn { padding-left: 2.2em; padding-right: 2.2em; }
}
