/* ParPack — design 4, the quiet one.
   Ink, bone, one brass accent. Hairline rules instead of boxes, space instead
   of colour, and nothing that asks for attention twice. */

:root {
  --ink: #0E100D;
  --ink-2: #171A15;
  --bone: #F4F1EA;
  --bone-2: #EDE9DF;
  --brass: #B79B6B;
  --muted: #55534B;
  --line: rgba(14, 16, 13, 0.14);
  --line-light: rgba(244, 241, 234, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }

.label {
  margin: 0 0 1.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── masthead ────────────────────────────────────────────────────────── */

.masthead { position: sticky; top: 0; z-index: 20; background: var(--bone); }
.masthead .rule { height: 2px; background: var(--ink); }
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.wordmark img { height: 38px; width: auto; }

.masthead__nav { display: flex; gap: 1.6rem; }
.masthead__nav--right { justify-content: flex-end; }
.masthead__nav a {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.masthead__nav a:hover { color: var(--brass); }
.masthead__cta { border-bottom: 1px solid var(--brass); padding-bottom: 2px; }

/* ── opening ─────────────────────────────────────────────────────────── */

.opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.opening__copy {
  padding: clamp(3rem, 8vw, 7rem) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 34rem;
}
.opening h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  margin-bottom: 1.6rem;
}
.opening__lede { margin: 0 0 2rem; max-width: 26rem; color: var(--muted); }
.opening__price { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 1.2rem; }

.text-cta {
  align-self: flex-start;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ink);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.text-cta:hover { color: var(--brass); border-color: var(--brass); }

.opening__media { margin: 0; overflow: hidden; background: var(--ink-2); }
.opening__media img { width: 100%; height: 100%; object-fit: cover; min-height: 34rem; }

/* ── statement ───────────────────────────────────────────────────────── */

.statement {
  padding: clamp(4rem, 10vw, 9rem) var(--gutter);
  max-width: 62rem; margin-inline: auto; text-align: center;
}
.statement h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); margin-bottom: 2rem; }
.statement__body { margin: 0 auto; max-width: 38rem; color: var(--muted); }

/* ── craft ───────────────────────────────────────────────────────────── */

.craft {
  padding: 0 var(--gutter) clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 6rem);
}
.craft__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; max-width: 78rem; margin-inline: auto; }
.craft__media { margin: 0; overflow: hidden; background: var(--bone-2); }
.craft__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.craft__specs { margin: 0; }
.craft__specs > div {
  display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.craft__specs > div:last-child { border-bottom: 1px solid var(--line); }
.craft__specs dt { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 0.35rem; }
.craft__specs dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; }

/* ── details ─────────────────────────────────────────────────────────── */

.details { padding: 0 var(--gutter) clamp(4rem, 9vw, 8rem); }
.details__list { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: 78rem; margin-inline: auto; border-top: 1px solid var(--line); }
.details__list li {
  display: grid; grid-template-columns: 4rem 1fr 1.2fr; gap: 1.5rem;
  align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.details__num { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 1.05rem; }
.details__list h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.details__list p { margin: 0; color: var(--muted); }

/* ── maker ───────────────────────────────────────────────────────────── */

.maker {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  background: var(--bone-2);
}
.maker__media { margin: 0; overflow: hidden; }
.maker__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.maker__quote { margin: 0; max-width: 30rem; }
.maker__quote p { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; margin: 0 0 1.5rem; }
.maker__quote footer { margin-top: 0.6rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ── order ───────────────────────────────────────────────────────────── */

.order { background: var(--ink); color: var(--bone); padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.order__inner { max-width: 34rem; margin-inline: auto; text-align: center; }
.order .label { color: rgba(244, 241, 234, 0.55); }
.order__price { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 2rem; }
.order__note { margin: 2rem 0 0; font-size: 0.74rem; letter-spacing: 0.08em; color: rgba(244, 241, 234, 0.55); }

.button {
  display: inline-block;
  padding: 1rem 2.6rem;
  border: 1px solid var(--brass);
  color: var(--bone);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease;
}
.button:hover { background: var(--brass); color: var(--ink); }
.button:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* ── colophon ────────────────────────────────────────────────────────── */

.colophon { background: var(--ink); color: rgba(244, 241, 234, 0.7); border-top: 1px solid var(--line-light); }
.colophon__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 2.5rem var(--gutter); font-size: 0.72rem; letter-spacing: 0.08em;
  max-width: 88rem; margin-inline: auto;
}
.colophon__mark { height: 28px; width: auto; opacity: 0.9; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.colophon a { text-decoration: none; color: inherit; overflow-wrap: anywhere; }
.colophon a:hover { color: var(--brass); }
.colophon p { margin: 0; }

/* ── motion ──────────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal].d2 { transition-delay: 0.1s; }
[data-reveal].d3 { transition-delay: 0.2s; }
[data-reveal].d4 { transition-delay: 0.3s; }
[data-reveal].is-in { opacity: 1; transform: none; }

@keyframes atelier-settle { from { transform: scale(1.05); opacity: 0.7; } to { transform: scale(1); opacity: 1; } }
.opening__media img { animation: atelier-settle 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

@media (hover: hover) {
  .craft__media img, .maker__media img { transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .craft__media:hover img, .maker__media:hover img { transform: scale(1.03); }
}

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .masthead__inner { grid-template-columns: auto 1fr; gap: 0.75rem; }
  .masthead__nav:not(.masthead__nav--right) { display: none; }
  .masthead__nav--right { gap: 1rem; }
  .masthead__nav a { font-size: 0.6rem; }
  .wordmark img { height: 28px; }

  .opening { grid-template-columns: 1fr; }
  .opening__media { order: -1; }
  .opening__media img { min-height: 0; aspect-ratio: 4 / 5; }
  .opening__copy { padding-top: 2.5rem; }

  .craft__grid, .maker { grid-template-columns: 1fr; }
  .craft__specs > div { grid-template-columns: 1fr; gap: 0.35rem; }
  .details__list li { grid-template-columns: 2.5rem 1fr; }
  .details__list p { grid-column: 2; }
  .colophon__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .opening__media img { animation: none !important; }
  .craft__media img, .maker__media img, .text-cta, .button { transition: none !important; }
  .craft__media:hover img, .maker__media:hover img { transform: none !important; }
}
