/* ==========================================================================
   One of One — website mockup v1
   Ported from "One of One - Website.dc.html" (brand identity presentation deck)
   ========================================================================== */

:root {
  --bone:      #F7F4EF;  /* page ground */
  --ink:       #262626;  /* body text  */
  --gold:      #A98251;  /* accent     */
  --dark:      #141210;  /* dark panels */
  --stone:     #E6E0D6;  /* render ground */

  --ink-75:    rgba(38,38,38,.75);
  --ink-70:    rgba(38,38,38,.70);
  --ink-60:    rgba(38,38,38,.60);
  --ink-55:    rgba(38,38,38,.55);
  --ink-50:    rgba(38,38,38,.50);
  --ink-40:    rgba(38,38,38,.40);
  --ink-35:    rgba(38,38,38,.35);
  --ink-line:  rgba(38,38,38,.12);
  --ink-hair:  rgba(38,38,38,.10);
  --gold-50:   rgba(169,130,81,.5);
  --gold-40:   rgba(169,130,81,.4);
  --gold-25:   rgba(169,130,81,.25);
  --bone-85:   rgba(247,244,239,.85);
  --bone-75:   rgba(247,244,239,.75);
  --bone-60:   rgba(247,244,239,.60);
  --bone-45:   rgba(247,244,239,.45);

  --serif: 'Cormorant Garamond', 'Hoefler Text', Garamond, 'Times New Roman', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --gutter: 96px;   /* page side padding  */
  --header: 72px;   /* sticky header height */
}

/* --- base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* Author `display` rules below outrank the UA stylesheet's [hidden] rule, so
   state the intent once, loudly. Anything toggled via el.hidden relies on it. */
[hidden] { display: none !important; }

html, body {
  margin: 0; padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

img { display: block; }

input, textarea {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-35);
  padding: 10px 0;
  outline: none;
  width: 100%;
  border-radius: 0;
}
input:focus, textarea:focus { border-bottom-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--ink-40); }
textarea { resize: vertical; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* --- shared type / utility ----------------------------------------------- */

/* the small gold uppercase label used throughout */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--sm { font-size: 11px; }

.display { font-family: var(--serif); font-weight: 500; margin: 0; }

.rule { width: 64px; height: 1px; background: var(--gold); }

/* text link with the gold underline */
.link-gold {
  align-self: flex-start;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
}
.link-gold:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* solid charcoal button */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--ink);
  padding: 16px 28px;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--gold); color: var(--bone); }
.btn--wide { display: block; text-align: center; padding: 20px 28px; }
.btn--form { align-self: flex-start; padding: 18px 32px; }

.stack { display: flex; flex-direction: column; }

/* --- layout shell -------------------------------------------------------- */

.shell { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 48px;
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-25);
}
.site-header nav {
  display: flex; gap: 36px;
  font-family: var(--sans); font-weight: 500;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
}
.site-header nav.is-right { justify-content: flex-end; }
.site-header .wordmark { display: block; }
.site-header .wordmark img { height: 18px; }

/* current page marker in the nav */
.site-header nav a.is-active { color: var(--gold); }

main { animation: fadeIn .5s ease; }
.page[hidden] { display: none; }

/* --- home ---------------------------------------------------------------- */

.hero {
  position: relative;
  height: calc(100vh - var(--header));
  min-height: 640px;
  background: var(--dark);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1);
  transition: opacity 1.6s ease, transform 6s ease-out;
}
.hero__img.is-on { opacity: 1; transform: scale(1.04); }
.hero__scrim { position: absolute; inset: 0; background: rgba(20,18,16,.28); pointer-events: none; }

.hero__meta {
  position: absolute; right: var(--gutter); bottom: 128px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.hero__caption {
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bone-75);
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  width: 8px; height: 1px;
  background: var(--bone-45);
  transition: width .5s, background-color .5s;
  cursor: pointer;
  padding: 6px 0; box-sizing: content-box; background-clip: content-box;
  border: 0;
}
.hero__dot.is-on { width: 28px; background: var(--gold); background-clip: content-box; }

.hero__copy {
  position: absolute; left: var(--gutter); bottom: 120px;
  max-width: 620px;
  display: flex; flex-direction: column; gap: 36px;
  color: var(--bone);
}
.hero__copy h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 56px; line-height: 1.15; margin: 0; text-wrap: pretty;
}
.hero__copy .link-gold:hover { color: var(--bone); border-bottom-color: var(--bone); }

.manifesto {
  padding: 160px var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 56px;
  text-align: center;
}
.manifesto__lines {
  display: flex; flex-direction: column; gap: 22px;
  font-family: var(--serif); font-weight: 500;
  font-size: 40px; letter-spacing: .2em; text-transform: uppercase;
  line-height: 1; margin-right: -.2em;
}
.manifesto p {
  max-width: 560px; margin: 0;
  font-size: 20px; color: var(--ink-75); text-wrap: pretty;
}

.models { padding: 0 var(--gutter) 160px; }
.models__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.model-card { display: flex; flex-direction: column; gap: 18px; }
.model-card img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; object-position: center 70%;
  transition: opacity .3s;
}
.model-card:hover img { opacity: .88; }
.model-card__row { display: flex; justify-content: space-between; align-items: baseline; }
.model-card__name { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.model-card__price { font-size: 14px; color: var(--gold); letter-spacing: .08em; }
.model-card__note { font-size: 15px; color: var(--ink-60); }

.process { background: var(--dark); color: var(--bone); padding: 140px var(--gutter); }
.process h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 40px; margin: 0 0 88px; text-align: center;
}
.process__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--gold-50);
}
.process__step {
  padding: 36px 24px 0;
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid var(--gold-50);
}
.process__step:last-child { border-right: 1px solid var(--gold-50); }
.process__step p { margin: 0; font-size: 16px; color: var(--bone-75); }

.atelier-teaser {
  padding: 160px var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  align-items: center;
}
.atelier-teaser img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.atelier-teaser__copy { display: flex; flex-direction: column; gap: 32px; max-width: 480px; }
.atelier-teaser__copy h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 40px; line-height: 1.2; margin: 0; text-wrap: pretty;
}
.atelier-teaser__copy p { margin: 0; font-size: 18px; color: var(--ink-75); text-wrap: pretty; }

/* --- configurator -------------------------------------------------------- */

.config {
  display: grid; grid-template-columns: 3fr 2fr;
  height: calc(100vh - var(--header)); min-height: 680px;
}
.config__stage { position: relative; background: var(--stone); overflow: hidden; }
.config__stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  transition: opacity .5s ease;
}
.config__stage-meta {
  position: absolute; left: 56px; bottom: 48px;
  display: flex; flex-direction: column; gap: 6px;
  color: var(--bone);
  text-shadow: 0 1px 12px rgba(20,18,16,.45);
}
.config__stage-meta .eyebrow { color: var(--bone); }
.config__stage-caption { font-size: 15px; color: var(--bone-85); }

.config__panel {
  display: flex; flex-direction: column;
  padding: 64px 72px 40px;
  overflow: auto;
}
.config__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--sans); font-weight: 500;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.config__question {
  font-family: var(--serif); font-weight: 500;
  font-size: 34px; line-height: 1.2; margin: 28px 0 40px; text-wrap: pretty;
}
.config__options { display: flex; flex-direction: column; flex: 1; }

.opt {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-line);
  cursor: pointer;
  transition: border-color .2s;
  text-align: left;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  font: inherit; color: inherit; width: 100%;
}
.opt.is-on { border-bottom-color: var(--gold); }
.opt:hover { border-bottom-color: var(--gold-50); }
.opt__left { display: flex; align-items: center; gap: 18px; }
.opt__dot {
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
  background: transparent;
  flex: none;
}
.opt.is-on .opt__dot { background: var(--gold); }
.opt__swatch {
  width: 56px; height: 56px;
  object-fit: cover; flex: none;
  outline: 1px solid var(--ink-line);
  outline-offset: 3px;
  transition: outline-color .2s;
}
.opt.is-on .opt__swatch { outline-color: var(--gold); }
.opt__text { display: flex; flex-direction: column; }
.opt__name { font-size: 18px; }
.opt__note { font-size: 14px; color: var(--ink-55); }
.opt__price { font-size: 14px; color: var(--gold); letter-spacing: .06em; white-space: nowrap; }

.monogram { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.monogram label {
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.monogram span { font-size: 14px; color: var(--ink-55); }
.monogram input { text-transform: uppercase; letter-spacing: .2em; }

.config__foot {
  margin-top: 40px;
  border-top: 1px solid var(--gold-40);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.config__total { display: flex; justify-content: space-between; align-items: baseline; }
.config__total-label { font-size: 14px; color: var(--ink-60); }
.config__total-value { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.config__nav { display: flex; justify-content: space-between; align-items: center; }
.config__back {
  font-family: var(--sans); font-weight: 500;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-60);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.config__back.is-invisible { visibility: hidden; }
.config__dots { display: flex; gap: 6px; }
.config__dot {
  width: 6px; height: 2px;
  background: rgba(38,38,38,.2);
  transition: width .3s, background-color .3s;
}
.config__dot.is-done { background: var(--gold); }
.config__dot.is-now { width: 18px; }

/* --- summary ------------------------------------------------------------- */

.summary {
  padding: 96px var(--gutter) 160px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gutter);
}
.summary__left { display: flex; flex-direction: column; gap: 40px; }
.summary__render { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 65%; }
.summary__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 20px; border-bottom: 1px solid var(--gold-50);
}
.summary__head h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0; }
.summary__edit {
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  background: none; border: 0; cursor: pointer; padding: 0;
}
.summary__row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--ink-hair);
  align-items: baseline;
}
.summary__row-value { font-size: 17px; }
.summary__row-price { font-size: 14px; color: var(--ink-50); }

.summary__aside {
  display: flex; flex-direction: column; gap: 40px;
  position: sticky; top: 120px; align-self: start;
}
.checkout { display: flex; flex-direction: column; gap: 32px; }
.checkout__total {
  display: flex; flex-direction: column; gap: 12px;
  padding-bottom: 28px; border-bottom: 1px solid var(--gold-50);
}
.checkout__total-row { display: flex; justify-content: space-between; align-items: baseline; }
.checkout__total-row span:first-child { font-size: 15px; color: var(--ink-60); }
.checkout__total-value { font-family: var(--serif); font-weight: 500; font-size: 34px; }
.checkout__fine { font-size: 14px; color: var(--ink-55); }
.checkout__fields { display: flex; flex-direction: column; gap: 22px; }
.checkout__fields .eyebrow--sm + input { margin-top: -4px; }
.checkout__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.checkout__terms { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-70); }
.checkout__terms p { margin: 0; }

.receipt {
  display: flex; flex-direction: column; gap: 28px;
  padding: 48px;
  background: var(--dark); color: var(--bone);
}
.receipt h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; margin: 0; }
.receipt p { margin: 0; font-size: 17px; color: var(--bone-75); text-wrap: pretty; }
.receipt__lines {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; color: var(--bone-60);
  border-top: 1px solid var(--gold-50); padding-top: 24px;
}
.receipt__lines div { display: flex; justify-content: space-between; }
.receipt__lines span:last-child { color: var(--bone); }
.receipt .link-gold { background: none; border-bottom: 1px solid var(--gold); }
.receipt .link-gold:hover { color: var(--bone); border-bottom-color: var(--bone); }

/* --- the atelier --------------------------------------------------------- */

.about-hero {
  padding: 140px var(--gutter) 120px;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  align-items: end;
}
.about-hero__copy { display: flex; flex-direction: column; gap: 32px; }
.about-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 52px; line-height: 1.15; margin: 0; text-wrap: pretty;
}
.about-hero p { margin: 0; font-size: 20px; color: var(--ink-75); max-width: 520px; text-wrap: pretty; }
.about-hero img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.pillars {
  padding: 0 var(--gutter) 160px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
}
.pillar {
  display: flex; flex-direction: column; gap: 16px;
  border-top: 1px solid var(--gold); padding-top: 24px;
}
.pillar__title { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.pillar p { margin: 0; font-size: 16px; color: var(--ink-70); }

.pull-quote {
  background: var(--gold); color: var(--bone);
  padding: 140px var(--gutter); text-align: center;
}
.pull-quote p {
  font-family: var(--serif); font-weight: 500;
  font-size: 36px; line-height: 1.3; margin: 0 auto; max-width: 900px; text-wrap: pretty;
}

/* --- shipping & care ----------------------------------------------------- */

.shipping {
  padding: 140px var(--gutter) 160px;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--gutter);
}
.shipping > img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  position: sticky; top: 120px;
}
.shipping__body { display: flex; flex-direction: column; gap: 56px; max-width: 620px; }
.shipping__intro { display: flex; flex-direction: column; gap: 20px; }
.shipping__intro h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 44px; line-height: 1.15; margin: 0;
}
.shipping__item {
  display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid var(--gold-50); padding-top: 28px;
}
.shipping__item h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; }
.shipping__item p { margin: 0; color: var(--ink-75); }

/* --- concierge ----------------------------------------------------------- */

.contact {
  padding: 140px var(--gutter) 160px;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  align-items: start;
}
.contact__col { display: flex; flex-direction: column; gap: 48px; max-width: 520px; }
.contact__intro { display: flex; flex-direction: column; gap: 20px; }
.contact__intro h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 44px; line-height: 1.15; margin: 0; text-wrap: pretty;
}
.contact__intro p { margin: 0; font-size: 18px; color: var(--ink-75); }
.contact__form { display: flex; flex-direction: column; gap: 24px; }
.contact__details {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 16px; color: var(--ink-70);
  border-top: 1px solid var(--gold-50); padding-top: 28px;
}
.contact > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* the little "this is a mockup" acknowledgement under the forms */
.form-note { font-size: 14px; color: var(--ink-50); }

/* --- footer -------------------------------------------------------------- */

.site-footer {
  margin-top: auto;
  background: var(--dark); color: var(--bone-60);
  padding: 72px var(--gutter) 48px;
  display: flex; flex-direction: column; gap: 56px;
}
.site-footer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-footer nav {
  display: flex; gap: 32px;
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
}
.site-footer nav.is-right { justify-content: flex-end; }
.site-footer nav a { color: var(--bone-60); }
.site-footer nav a:hover { color: var(--gold); }
.site-footer img { height: 16px; opacity: .9; }
.site-footer__bottom {
  display: flex; justify-content: space-between;
  font-size: 13px; letter-spacing: .06em;
}

/* --- narrower viewports --------------------------------------------------
   The mockup was drawn for a wide desktop canvas. These breakpoints keep it
   from breaking on a laptop or a half-width window; the desktop composition
   above 1280px is untouched.
   ------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  :root { --gutter: 56px; }
  .site-header { padding: 0 32px; }
  .site-header nav { gap: 24px; font-size: 11px; }
  .hero__copy h1 { font-size: 46px; }
  .hero__copy, .hero__meta { left: var(--gutter); right: auto; }
  .hero__meta { left: auto; right: var(--gutter); }
  .config__panel { padding: 48px 44px 32px; }
  .config__question { font-size: 30px; }
}

@media (max-width: 1024px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__step { border-top: 1px solid var(--gold-50); }
  .process__step:last-child { border-right: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .summary { grid-template-columns: 1fr; gap: 64px; }
  .summary__aside { position: static; }
  .config { grid-template-columns: 1fr; height: auto; }
  .config__stage { height: 52vh; min-height: 360px; }
  .config__panel { height: auto; }
}

@media (max-width: 860px) {
  :root { --gutter: 28px; }
  .site-header { grid-template-columns: 1fr auto; height: auto; padding: 14px 24px; gap: 12px; }
  .site-header nav { flex-wrap: wrap; gap: 18px; }
  .site-header nav.is-right { grid-column: 1 / -1; justify-content: flex-start; }
  .site-header .wordmark { justify-self: end; }
  .hero { height: auto; min-height: 560px; padding-bottom: 40px; }
  .hero__copy { position: static; padding: 320px var(--gutter) 0; max-width: none; }
  .hero__copy h1 { font-size: 36px; }
  .hero__meta { bottom: auto; top: 24px; right: var(--gutter); }
  .manifesto, .models, .process, .atelier-teaser,
  .about-hero, .pillars, .pull-quote, .shipping, .contact, .summary {
    padding-left: var(--gutter); padding-right: var(--gutter);
  }
  .manifesto { padding-top: 96px; padding-bottom: 96px; }
  .manifesto__lines { font-size: 28px; }
  .models__grid { grid-template-columns: 1fr; gap: 40px; }
  .process, .atelier-teaser, .about-hero, .shipping, .contact { padding-top: 96px; padding-bottom: 96px; }
  .process__grid, .pillars { grid-template-columns: 1fr; }
  .atelier-teaser, .about-hero, .shipping, .contact { grid-template-columns: 1fr; gap: 48px; }
  .shipping > img { position: static; }
  .about-hero h1 { font-size: 38px; }
  .pull-quote p { font-size: 26px; }
  .config__panel { padding: 40px var(--gutter) 32px; }
  .summary__row { grid-template-columns: 110px 1fr; }
  .summary__row-price { grid-column: 2; }
  .site-footer { padding: 56px var(--gutter) 40px; gap: 36px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .site-footer nav.is-right { justify-content: flex-start; }
  .site-footer__bottom { flex-direction: column; gap: 10px; }
}
