@layer reset, base, layout, components;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  button, input { font: inherit; }
  img, svg { display: block; max-width: 100%; }
}
@layer base {
  :root { color-scheme: light; --paper: #f3f1e9; --ink: #232920; --muted: #61665b; --line: #d5d8cc; --accent: #586c3e; --wash: #e8eadf; --serif: Georgia, 'Times New Roman', serif; --mono: 'SFMono-Regular', Consolas, monospace; }
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  body { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
  a { color: inherit; text-underline-offset: .23em; }
  button { color: inherit; }
  a, button, summary { -webkit-tap-highlight-color: transparent; }
  :focus-visible { outline: 3px solid #a4562d; outline-offset: 5px; }
  ::selection { background: #d3ddba; color: #232920; }
  h1, h2, h3 { font-weight: 400; line-height: 1.06; text-wrap: balance; }
  h1 { font-family: var(--serif); font-size: clamp(3.5rem, 6.6vw, 6.7rem); letter-spacing: -.055em; }
  h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.7rem); letter-spacing: -.04em; }
  h3 { font-size: 1.22rem; }
  p { max-width: 62ch; }
  [hidden] { display: none !important; }
}
@layer layout {
  .wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
  .site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
  .brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
  .brand-word { font-weight: 700; font-size: 1.65rem; letter-spacing: -.09em; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-sub { border-left: 1px solid var(--line); padding-left: 14px; font-family: var(--mono); font-size: .68rem; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
  nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: .82rem; }
  nav a { text-decoration: none; padding-block: 8px; }
  nav a:hover, nav a[aria-current] { text-decoration: underline; }
  .hero { display: grid; grid-template-columns: 1.14fr 1fr; align-items: center; gap: 70px; padding-block: 85px 94px; }
  .hero-copy .eyebrow { margin-bottom: 27px; }
  .hero-copy h1 { margin-bottom: 28px; }
  .lead { color: var(--muted); font-size: 1.1rem; line-height: 1.7; max-width: 43ch; }
  .actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 33px; }
  .section { border-top: 1px solid var(--line); padding-block: 66px 78px; }
  .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
  .section-heading .eyebrow { margin-bottom: 16px; }
  .section-heading > p { max-width: 38ch; color: var(--muted); font-size: .92rem; }
  .grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .site-footer { border-top: 1px solid var(--line); padding-block: 35px; display: flex; justify-content: space-between; gap: 28px; color: var(--muted); font-size: .75rem; }
  .site-footer p { max-width: 66ch; }
  .footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-content: flex-start; }
  .footer-links a { text-decoration: none; }
}
@layer components {
  .rules { padding: 0 0 24px 22px; color: var(--muted); font-size: .9rem; }
  .rules li { margin-bottom: 12px; }
  code { overflow-wrap: anywhere; }
  .skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
  .skip-link:focus { transform: translateY(0); }
  .eyebrow { font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
  .status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .63rem; text-transform: uppercase; letter-spacing: .06em; }
  .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 46px; padding: 11px 20px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); text-decoration: none; font-size: .82rem; cursor: pointer; transition: background .18s, transform .18s; }
  .button:hover { background: var(--accent); transform: translateY(-2px); }
  .text-link { font-size: .82rem; }
  .note { color: var(--muted); font-size: .76rem; margin-top: 22px; }
  .construction { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; background: var(--wash); padding: 18px 22px; font-size: .8rem; }
  .construction p { color: var(--muted); }
  .receipt-stage { position: relative; min-height: 465px; display: grid; place-items: center; background: var(--wash); border: 1px solid var(--line); padding: 48px 36px; }
  .stage-label { position: absolute; top: 19px; left: 21px; }
  .stage-coord { position: absolute; bottom: 18px; right: 21px; }
  .receipt { width: 100%; max-width: 320px; background: #faf9f3; border: 1px solid #c7cbbd; padding: 27px; box-shadow: 12px 14px 0 #d9ddcf; transform: rotate(-3deg); }
  .receipt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 23px; }
  .receipt-glyph { font-family: var(--serif); font-size: 2rem; line-height: 1; }
  .receipt-title { font-family: var(--serif); font-size: 2.2rem; line-height: 1.15; margin-block: 24px; letter-spacing: -.045em; }
  .receipt-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; font-family: var(--mono); font-size: .62rem; border-bottom: 1px solid var(--line); }
  .receipt-seal { display: inline-flex; gap: 8px; align-items: center; margin-top: 24px; padding: 8px 10px; background: var(--wash); font-family: var(--mono); font-size: .62rem; }
  .step { border-top: 1px solid var(--line); padding-top: 21px; }
  .step-number { display: inline-block; font-family: var(--mono); font-size: .7rem; margin-bottom: 31px; color: var(--accent); }
  .step h3 { margin-bottom: 15px; }
  .step p { font-size: .89rem; color: var(--muted); }
  .spec-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
  .spec-grid h2 { margin-block: 18px 22px; }
  .spec-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
  details { border-top: 1px solid var(--line); }
  details:last-child { border-bottom: 1px solid var(--line); }
  summary { cursor: pointer; padding: 21px 0; font-size: .9rem; }
  details p { padding: 0 0 22px; color: var(--muted); font-size: .86rem; }
  .page-intro { padding-block: 64px 42px; }
  .page-intro .eyebrow { margin-bottom: 22px; }
  .page-intro h1 { font-size: clamp(3.2rem, 6vw, 5.6rem); max-width: 13ch; margin-bottom: 24px; }
  .intro-row { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
  .intro-row .lead { max-width: 51ch; }
  .demo-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 45px; }
  .placeholder { border: 1px solid var(--line); background: #f9f8f3; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; }
  .placeholder h3 { font-size: .93rem; line-height: 1.4; margin-bottom: 7px; }
  .placeholder p { font-size: .73rem; color: var(--muted); }
  .placeholder .price { font-family: var(--mono); font-size: .78rem; margin-block: 18px 5px; color: var(--ink); }
  .placeholder button { margin-top: 18px; padding: 9px 0; font-size: .75rem; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
  .placeholder button:hover { color: var(--accent); border-color: var(--accent); }
  .token { height: 105px; width: 100%; display: grid; place-items: center; margin-bottom: 20px; font-family: var(--serif); font-size: 3.7rem; color: var(--accent); background: var(--wash); }
  .token span { width: 63px; height: 63px; display: grid; place-items: center; border: 1px solid #bac1ae; border-radius: 50%; font-size: 1.5rem; }
  .token.square span { border-radius: 0; transform: rotate(10deg); }
  .token.diamond span { border-radius: 0; transform: rotate(45deg); font-size: 0; width: 48px; height: 48px; }
  .token.double span { border: 4px double #bac1ae; }
  .token.arc span { border-radius: 50% 50% 0 0; }
  .rail-preview { background: var(--ink); color: var(--paper); padding: 35px; display: grid; grid-template-columns: .85fr 1.4fr; gap: 50px; }
  .rail-preview .eyebrow, .rail-preview .note { color: #bfc7b4; }
  .rail-preview h3 { font-family: var(--serif); font-size: 2rem; margin-block: 16px; }
  .rail-preview .button { border-color: #aab99a; background: #d8e1c6; color: #232920; margin-top: 20px; }
  .rail-preview .button:hover { background: #eef2e5; }
  .rail-steps { list-style: none; margin: 0; padding: 0; }
  .rail-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding-block: 17px; border-bottom: 1px solid #495041; }
  .rail-steps strong { font-weight: 400; font-size: .87rem; }
  .rail-steps small { display: block; color: #bfc7b4; font-size: .72rem; }
  .rail-index { color: #becfa6; font-family: var(--mono); font-size: .65rem; padding-top: 3px; }
  .event-box { margin-top: 26px; }
  .event-box pre { margin: 0 0 25px; padding: 24px; border: 1px solid var(--line); background: #e9ecdf; font-size: .75rem; white-space: pre-wrap; overflow-wrap: anywhere; }
  .atelier { --paper: #ebe6db; --ink: #342e26; --muted: #6c655b; --line: #cdc5b7; --accent: #78553b; --wash: #ded7c9; }
  .atelier .hero { grid-template-columns: 1fr 1.15fr; }
  .atelier .hero h1 { font-size: clamp(3.5rem, 6.2vw, 6rem); }
  .object-stage { background: #d7cebd; min-height: 485px; position: relative; display: grid; place-items: center; overflow: hidden; }
  .object-stage::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 59px, #bcb2a21f 59px 60px), repeating-linear-gradient(90deg, transparent 0 59px, #bcb2a21f 59px 60px); }
  .sculpture { position: relative; width: 200px; height: 260px; margin-top: 35px; }
  .sculpture::before { content: ''; position: absolute; width: 165px; height: 235px; left: 5px; bottom: 15px; background: #645b4b; border: 1px solid #4e463b; border-radius: 92px 92px 2px 2px; box-shadow: 23px 9px 0 #8b806d, 25px 10px 0 #675e50; transform: skewY(-5deg); }
  .sculpture::after { content: ''; position: absolute; width: 70px; height: 174px; left: 53px; bottom: 16px; border-radius: 42px 42px 0 0; background: #d7cebd; border-right: 13px solid #3e382e; border-top: 8px solid #51493c; transform: skewY(-5deg); }
  .object-caption { position: absolute; left: 25px; bottom: 22px; right: 25px; display: flex; justify-content: space-between; gap: 12px; }
  .object-caption span { font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }
  .object-cross { position: absolute; right: 25px; top: 18px; color: #7f7564; font-size: 1.5rem; font-weight: 300; }
  .offering-art { height: 220px; background: var(--wash); margin-bottom: 23px; display: grid; place-items: center; position: relative; overflow: hidden; }
  .drawing { width: 140px; height: 140px; border: 1px solid #918775; position: relative; transform: rotate(-12deg); }
  .drawing::before { content: ''; position: absolute; inset: 25px; border: 1px solid #918775; border-radius: 50%; }
  .drawing::after { content: ''; position: absolute; inset: -20px 68px; border-left: 1px solid #918775; }
  .plinth { width: 145px; height: 55px; background: #9d8f79; box-shadow: 14px 12px 0 #786c58; transform: skewY(-9deg); }
  .folio { width: 112px; height: 146px; border: 1px solid #b4a793; background: #eee8dd; transform: rotate(9deg); box-shadow: 5px 5px 0 #c2b7a6; display: grid; place-items: center; font-family: var(--serif); font-size: 2.7rem; color: #87775f; }
  .offering .eyebrow { margin-bottom: 12px; }
  .offering h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.7rem; }
  .offering > p:not(.eyebrow) { color: var(--muted); font-size: .86rem; }
  .offering .availability { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px; font-family: var(--mono); font-size: .62rem; }
  .certificate-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .certificate-panel h2 { margin-block: 18px 22px; }
  .certificate-panel p { color: var(--muted); font-size: .92rem; }
  .certificate { border: 1px solid #b9af9d; padding: 35px; outline: 1px solid #c8bdab; outline-offset: -9px; background: #f2ede3; }
  .certificate h3 { font-family: var(--serif); font-size: 2rem; margin-block: 27px; }
  .certificate .receipt-row { color: var(--muted); }
  .certificate .note { margin-top: 23px; font-size: .72rem; }
  @media (prefers-reduced-motion: no-preference) { .hero-copy, .page-intro { animation: arrive .6s ease-out both; } @keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } } }
  @media (max-width: 1100px) { .wrap { width: calc(100% - 64px); } .hero { gap: 38px; } .demo-products { gap: 10px; } .placeholder { padding: 13px; } .spec-grid, .certificate-panel { gap: 45px; } }
  @media (max-width: 760px) { .wrap { width: calc(100% - 40px); } .site-header { align-items: flex-start; padding-block: 22px; flex-direction: column; gap: 16px; } nav { width: 100%; gap: 24px; } .hero, .atelier .hero { grid-template-columns: 1fr; padding-block: 50px; gap: 38px; } h1 { max-width: 10ch; } .receipt-stage { min-height: 400px; } .section { padding-block: 44px 50px; } .section-heading, .intro-row { flex-direction: column; align-items: flex-start; gap: 22px; } .grid-three, .spec-grid, .certificate-panel, .rail-preview { grid-template-columns: 1fr; gap: 32px; } .step-number { margin-bottom: 16px; } .demo-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .placeholder { padding: 16px; } .rail-preview { padding: 25px; gap: 20px; } .page-intro { padding-top: 45px; } .site-footer { flex-direction: column; } .object-stage { min-height: 410px; } .offering-art { height: 260px; } .certificate { padding: 28px; } }
  @media (max-width: 370px) { .wrap { width: calc(100% - 32px); } h1, .atelier .hero h1 { font-size: 3.25rem; } nav { gap: 20px; } .brand-sub { font-size: .6rem; } .receipt-stage { padding: 48px 24px; } .receipt { padding: 20px; } .receipt-title { font-size: 1.85rem; } .demo-products { grid-template-columns: 1fr; } .token { height: 130px; } .actions { gap: 20px; } .object-caption { left: 18px; right: 18px; } }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
}
