@font-face {
  font-family: Garet;
  src: url("assets/garet-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Garet;
  src: url("assets/garet-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Garet;
  src: url("assets/garet-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #e6e3de;
  --sand: #d7c9ba;
  --clay: #8c5637;
  --olive: #7b775b;
  --blue: #435262;
  --ink: #1d1d1d;
  --light: #f3eee8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1rem/1.65 Garet, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
h2 { font-size: clamp(2.3rem, 5.3vw, 4.9rem); }
.wrap { width: min(89%, 1320px); margin-inline: auto; }
.skip { position: absolute; inset: 12px auto auto 12px; transform: translateY(-150%); z-index: 3; padding: .7rem 1rem; background: white; }
.skip:focus { transform: none; }
.ribbon {
  height: 8px;
  background: linear-gradient(to right, var(--clay) 20%, var(--olive) 20% 40%, var(--sand) 40% 60%, var(--blue) 60% 80%, var(--ink) 80%);
}
.masthead, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
}
.masthead img, .footer-inner img { width: 136px; height: auto; }
.masthead nav { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 2rem); }
nav a { text-decoration: none; font-size: .9rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { border: 1px solid currentColor; border-radius: 99px; padding: .45rem .95rem; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5%; align-items: center; padding-block: 3rem 5.5rem; }
.eyebrow { margin-bottom: 1.1rem; font-size: .875rem; letter-spacing: .045em; }
.hero h1 { font-size: clamp(3.55rem, 7.45vw, 7rem); line-height: .99; letter-spacing: -.075em; }
.hero h1 em { color: var(--clay); font-style: normal; }
.hero-copy > .hero-highlight { margin: 1.4rem 0 0; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.2; color: var(--clay); }
.hero-copy > p:not(.eyebrow, .hero-highlight, .digital-format) { max-width: 29rem; margin: 1.5rem 0 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: var(--light);
  font-size: .92rem;
  text-decoration: none;
  text-align: center;
  transition: background .18s, color .18s;
}
.button:hover { background: var(--light); color: var(--ink); }
.button:focus-visible { outline-color: var(--clay); }
.text-link { display: table; margin-top: .85rem; font-size: .9rem; text-underline-offset: .25em; }
.text-link:hover { color: var(--clay); }
.hero-figure { position: relative; padding-bottom: 2.25rem; }
.hero-figure > img { width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; object-position: 51% 50%; border-radius: 28% 28% 4px 4px; }
.hero-figure figcaption {
  position: absolute;
  bottom: 0;
  left: -.7rem;
  background: var(--blue);
  color: var(--light);
  padding: .85rem 2rem .9rem 1.1rem;
  font-size: .92rem;
  line-height: 1.4;
  border-radius: 0 0 1.4rem 0;
}
.size-stamp {
  position: absolute;
  top: -.65rem;
  right: -.6rem;
  width: clamp(5.55rem, 10.3vw, 8.6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.2;
  background: var(--clay);
  color: var(--light);
  transform: rotate(8deg);
}
.size-stamp span { font-size: clamp(1.15rem, 2.35vw, 2.05rem); letter-spacing: -.06em; }
.size-stamp small { font-size: .8rem; }

.catalog { background: var(--sand); padding-block: 4.6rem 5rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.35rem; margin-bottom: 2rem; }
.section-head p { max-width: 32rem; margin-top: .9rem; }
.section-head .button { flex: none; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.05rem; }
.card { overflow: hidden; border-radius: 5px 5px 24px 5px; background: var(--light); --swatch: var(--clay); --field: #caab99; }
.tone-1 { --swatch: var(--olive); --field: #cecbbb; }
.tone-2 { --swatch: var(--blue); --field: #c2c8ca; }
.tone-3 { --swatch: var(--ink); --field: #c9bfb3; }
.card-art { position: relative; background: var(--field); height: 75px; overflow: hidden; }
.card-curve { position: absolute; right: 0; bottom: 0; background: var(--swatch); width: 100%; height: 100%; border-top-left-radius: var(--curve) 100%; }
.card-detail { padding: 1rem; }
.card h3 { font-size: clamp(1.95rem, 3.2vw, 3rem); margin-bottom: .6rem; }
.card h3 span { font-size: .52em; letter-spacing: -.02em; }
.paper-options { list-style: none; margin: 0; padding: 0; }
.paper-options a {
  display: grid;
  grid-template-columns: 2.05rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .45rem .12rem;
  border-top: 1px solid #d9d1c7;
  font-size: .875rem;
  text-decoration: none;
}
.paper-options small { font-size: .875rem; text-decoration: underline; text-underline-offset: .23em; }
.paper-options a:hover { color: var(--clay); }
.paper-options a:focus-visible { outline-offset: -2px; }


.guide { background: var(--blue); color: var(--light); padding-block: 4.8rem; }
.guide-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.3rem; }
.guide-title p { max-width: 29rem; }
.guide-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; border-top: 1px solid #a5abb0; padding: 1rem 0 1.4rem 2.9rem; counter-increment: steps; }
.steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 1.02rem; left: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font-size: 1.4rem; margin-bottom: .45rem; }
.diagram { background: var(--paper); color: var(--ink); padding: 1.25rem; border-radius: 5px 5px 2rem 5px; }
.diagram-board { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1.22; margin: 1.6rem auto .75rem; }
.diagram-paint { position: absolute; inset: 18% 4% 5% 13%; overflow: hidden; }
.diagram-paint::before {
  content: ""; position: absolute; left: 0; top: 0; width: 150%; height: 150%;
  border: 2px solid var(--clay); background: #bb8b73;
  --radius: min(135px, 32vw);
  border-top-left-radius: var(--radius);
}
.diagram-radius { position: absolute; width: min(135px, 32vw); border-top: 1px dashed var(--ink); left: 13%; top: 18%; font-size: .85rem; text-align: center; }
.diagram-radius span { position: relative; top: -1.6rem; }
.diagram-radius.vertical { transform-origin: left top; transform: rotate(90deg); }
.diagram-corner { position: absolute; left: 13%; top: 4%; transform: translateX(-32%); font-size: .76rem; }
.diagram-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); position: absolute; left: 13%; top: 18%; }
.diagram-dot.top { transform: translate(calc(min(135px, 32vw) - 4px), -4px); }
.diagram-dot.left { transform: translate(-4px, calc(min(135px, 32vw) - 4px)); }
.diagram figcaption { font-size: .9rem; text-align: center; }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; padding-block: 4rem; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.contact p { max-width: 31rem; margin-top: .65rem; }
.contact .button { flex: none; }
footer { background: var(--ink); color: var(--light); }
.footer-inner a { font-size: .9rem; text-underline-offset: .25em; }

@media (max-width: 970px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 2.4rem; padding-block: 2.25rem 3.5rem; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 5rem); }
  .hero-figure { margin-inline: .35rem; }
  .section-head, .guide-title, .contact { display: block; }
  .section-head .button, .contact .button, .guide-title p { margin-top: 1rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .diagram { max-width: 400px; width: 100%; }
  .catalog, .guide { padding-block: 3rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
}
@media (max-width: 490px) {
  .masthead { flex-wrap: wrap; gap: .55rem 1rem; padding-block: .85rem; }
  .masthead img { width: 108px; }
  .masthead nav { gap: .7rem; }
  nav a { font-size: .875rem; }
  .nav-contact { padding-inline: .65rem; }
  .card-art { height: 55px; }
  .card-detail { padding: .7rem .75rem .5rem; }
  .paper-options a { grid-template-columns: 1.9rem 1fr; gap: .05rem .4rem; }
  .paper-options small { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
.features {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:2rem;}
.features article {border-top:2px solid var(--clay);padding-top:1.2rem;}
.features h3 {font-size:1.55rem;max-width:20ch;}
.features p {margin-top:.8rem;}
.access {max-width:36rem; margin:5vh auto; padding:2rem 1.25rem;}
.access h1 {margin:2rem 0 1rem;font-size:clamp(2.3rem,7vw,4rem);}
.access label,.access input {display:block;width:100%;}
.access label {margin:1rem 0;}
.access input {font:inherit;padding:.7rem;border:1px solid #746b62;border-radius:.35rem;background:white;}
button {font:inherit;cursor:pointer;color:inherit;}
.access .button {margin:.5rem 0 1rem;}
.access aside {margin:1rem 0;}
.access code {overflow-wrap:anywhere;}

.offer-price { margin-bottom: .65rem; font-size: 1.25rem; }
.offer-price strong { font-size: 1.5rem; }

.hero-smile { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .landing .hero-copy > * { animation: rise-in .64s ease-out backwards; }
  .landing .hero-copy h1 { animation-delay: .07s; }
  .landing .hero-highlight { animation-delay: .15s; }
  .landing .hero-copy > p:not(.eyebrow, .hero-highlight, .digital-format) { animation-delay: .22s; }
  .landing .offer-price,
  .landing .hero-copy > a { animation-delay: .28s; }
  .landing .hero-figure > img { animation: photo-in .95s ease-out both; }
  .landing .size-stamp { animation: stamp-in .85s cubic-bezier(.2,.75,.3,1.2) .2s backwards; }
  .landing .hero-smile { animation: smile-tilt .65s ease-in-out .78s; }
  .landing .button { transition: background .18s, color .18s, translate .2s ease; }
  .landing .button:is(:hover, :focus-visible) { translate: 0 -3px; }
  .landing .button:active { translate: 0 0; }

  @supports (animation-timeline: view()) {
    .landing :is(.section-head, .features article, .guide-title, .steps li, .diagram, .contact > div) {
      animation: section-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 78%;
    }
  }
}

@keyframes rise-in {
  from { opacity: 0; translate: 0 16px; }
}
@keyframes photo-in {
  from { opacity: 0; clip-path: inset(5% 0 0 0 round 28% 28% 4px 4px); }
  to { opacity: 1; clip-path: inset(0 round 28% 28% 4px 4px); }
}
@keyframes stamp-in {
  from { opacity: 0; transform: translateY(14px) rotate(-12deg) scale(.78); }
}
@keyframes smile-tilt {
  45% { rotate: -16deg; translate: 0 -3px; }
}
@keyframes section-rise {
  from { opacity: .45; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

.landing .offer-price { line-height: 1.12; margin-bottom: .9rem; }
.landing .offer-price strong {
  display: block;
  color: var(--clay);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -.055em;
}
.purchase-panel {
  display: grid;
  gap: .85rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.15rem, 4vw, 2.5rem);
  border-radius: 1rem;
  background: var(--light);
  color: var(--ink);
}
.purchase-panel h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: .75rem; }
.digital-format { max-width: 36ch; margin-bottom: .75rem; }
.purchase-panel .offer-price { margin-bottom: 0; }
.mobile-purchase {
  position: fixed;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .55rem max(5.5vw, env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(5.5vw, env(safe-area-inset-left));
  border-top: 1px solid var(--sand);
  background: var(--paper);
}
.mobile-purchase span { display: block; font-size: .8rem; line-height: 1.25; }
.mobile-purchase strong { color: var(--clay); font-size: clamp(1.2rem, 5.4vw, 1.6rem); white-space: nowrap; }
.mobile-purchase .button { min-height: 48px; padding: .55rem .8rem; }

@media (max-width: 700px) {
  .landing { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .landing .hero-copy > .button, .purchase-panel .button { width: 100%; }
  .landing .masthead nav { flex-wrap: wrap; }
  .landing .masthead nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .landing .hero h1 { font-size: clamp(2rem, 10.8vw, 4.7rem); }
  .landing .hero { padding-top: 1.75rem; }
}
@media (min-width: 701px) {
  .mobile-purchase { display: none; }
  .purchase-panel { grid-template-columns: 1fr auto; align-items: center; }
}
