/* Hallmark · shape: a full-bleed room photo with a paper panel at the bottom left, five curtain types on a Swiss grid, a one-window price calculator, a fabric block, three dated steps on hairlines, a showroom block, a measuring form · genre: editorial · theme: custom · job: buy · idea: "a curtain is priced by the window, so the page asks for the window first" · vibe: "quiet, warm grey, tailored, like a fabric swatch book"
 * paper: oklch(97.3% 0.007 53) · accent: oklch(55.5% 0.146 49) · display: Cormorant · body: Josefin Sans · hero: a full-bleed photo, a paper panel bottom left holding the head, lede and two actions · nav: a paper bar, wordmark with a curtain glyph left, four links and an ink action · footer: a warm ink slab, name, address and three links on one grid · imagery: photographs from Pexels of real rooms and blinds, credited in CREDITS.md and the footer line · signature: the window price that changes as you type width and height
 * axes: light/serif-display/achromatic-warm · posture: restrained, warm grey and ink with amber kept to marks and the price · contrast: pass · fold: pass · source: ui-ux-pro-max design system (Minimalism and Swiss Style, warm grey with amber, Cinzel swapped for Cormorant because Cinzel has no Vietnamese) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: V, a quiet page can read plain; the serif display and hairline grid carry it */
/* Hallmark · answered F4 · the second filled recipe is the shared Digitech demo bar, darkened for contrast, not part of this page */
/* Hallmark · waive 49b · the Zalo button label in the shared Digitech demo bar wraps at 320 and 375 · that bar is copied verbatim into every demo and its label cannot change */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1280px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-sticky-nav: 300; --z-toast: 500;
--color-paper: oklch(97.3% 0.007 53); --color-paper-2: oklch(93.6% 0.01 55); --color-paper-3: oklch(99.2% 0.004 53);
  --color-ink: oklch(21.6% 0.008 56); --color-ink-2: oklch(40% 0.01 60); --color-muted: oklch(55.3% 0.012 58);
  --color-rule: oklch(86% 0.01 55); --color-field: oklch(24% 0.01 56); --color-on-field: oklch(96% 0.008 53); --color-on-field-2: oklch(80% 0.01 55);
  --color-accent: oklch(55.5% 0.146 49); --color-accent-2: oklch(66.6% 0.157 58); --color-accent-soft: oklch(92% 0.04 65);
  --color-focus: oklch(50% 0.15 49); --color-focus-on-field: oklch(80% 0.13 70); --color-error: oklch(50% 0.19 27); --color-dg-cta: oklch(54% 0.19 35);
  --font-display: "Cormorant", ui-serif, Georgia, serif; --font-body: "Josefin Sans", ui-sans-serif, system-ui, sans-serif;
  --text-display: clamp(2.75rem, 3.6vw + 1.2rem, 5rem); --text-section: clamp(2.125rem, 2.2vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.5vw + 1.05rem, 1.5rem); --text-lead: clamp(1.0625rem, 0.4vw + 0.95rem, 1.25rem);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent-soft); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-4xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.menu-btn { display: none; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* the shared Digitech demo bar keeps its markup; its orange button is darkened through a token so its label passes 4.5:1 */
body .dg-demo-cta a.z { background: var(--color-dg-cta); }
b, strong, th { font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-xl); border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; padding: 0 var(--space-lg); }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.link:hover { color: var(--color-accent); }
.link:active { opacity: 0.8; }
h2 { font-size: var(--text-section); font-weight: 600; line-height: 1.05; color: var(--color-ink); max-width: 18ch; }
.top { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; position: relative; }
.mark { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; font: 600 var(--text-xl)/1 var(--font-display); }
.mark svg { width: 28px; height: 28px; color: var(--color-accent); }
.site-nav { display: flex; align-items: center; gap: var(--space-xl); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-xl); list-style: none; }
.site-nav ul a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--color-ink-2); }
.site-nav ul a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.menu-btn { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-radius: 0; background: transparent; color: var(--color-ink); font-weight: 600; cursor: pointer; }
.menu-btn:hover { background: var(--color-paper-2); }
.menu-btn:active { transform: translateY(1px); }
@media (max-width: 60rem) {
  .top__in { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; gap: var(--space-sm); }
  html:not(.js) .site-nav { width: 100%; padding-bottom: var(--space-sm); }
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: var(--space-md) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); flex-direction: column; align-items: stretch; }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: flex; min-height: 48px; border-top: 1px solid var(--color-rule); }
}
.hero { position: relative; display: grid; min-height: min(calc(100svh - 72px), 760px); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__wrap { position: relative; display: flex; align-items: flex-end; padding-bottom: var(--space-2xl); }
.hero__panel { max-width: 560px; padding: var(--space-2xl) var(--space-2xl) var(--space-xl); background: var(--color-paper); }
.hero h1 { font-size: var(--text-display); font-weight: 600; line-height: 0.98; color: var(--color-ink); max-width: 11ch; }
.hero__lede { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 32ch; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: end; padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-ink); }
.sec-head p { color: var(--color-ink-2); justify-self: end; max-width: 46ch; }
.types { padding: var(--section-gap) 0 var(--section-gap-s); }
.type-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-lg); margin-top: var(--space-xl); }
.type { grid-column: span 2; }
.type--0, .type--1 { grid-column: span 3; }
.type a { display: grid; gap: var(--space-xs); text-decoration: none; }
.type img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity var(--dur-short) var(--ease-out); }
.type--0 img, .type--1 img { aspect-ratio: 3 / 2; }
.type a:hover img { opacity: 0.88; }
.type a:active img { opacity: 0.8; }
.type__name { margin-top: var(--space-xs); font: 600 var(--text-title)/1.2 var(--font-display); }
.type__price { font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; }
.calc { padding: var(--section-gap-s) 0; }
.calc__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-ink); }
.calc__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); align-items: end; }
.calc__note { grid-column: 2; font-size: var(--text-sm); color: var(--color-ink-2); }
.field { display: grid; gap: var(--space-xs); }
.field label, .seg legend { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: 0; background: var(--color-paper-3); color: var(--color-ink); outline: 3px solid transparent; outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid] { border-color: var(--color-error); }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--color-ink); }
.calc__out { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-md); padding: var(--space-lg) 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.calc__out span { font-weight: 600; }
.calc__out output { font: 600 var(--text-3xl)/1 var(--font-display); color: var(--color-ink); }
.calc__out small { color: var(--color-ink-2); font-size: var(--text-sm); }
.fabric { padding: var(--section-gap-s) 0; }
.fabric__list { list-style: none; display: grid; margin-top: var(--space-xl); }
.fabric__list li { display: grid; gap: var(--space-3xs); padding: var(--space-md) 0; border-top: 1px solid var(--color-rule); }
.fabric__list b { font: 600 var(--text-title)/1.2 var(--font-display); }
.fabric__list span { color: var(--color-ink-2); }
.fabric__in, .room__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.fabric__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fabric img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fabric p, .room p { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 48ch; }
.steps { padding: var(--section-gap-s) 0; }
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl); margin-top: var(--space-xl); }
.step-list li { display: grid; gap: var(--space-xs); padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.step-list b { font: 600 var(--text-2xl)/1 var(--font-display); color: var(--color-accent); }
.step-list span { color: var(--color-ink-2); }
.room { padding: var(--section-gap-s) 0 var(--section-gap); }
.room .room__addr { color: var(--color-ink); }
.room .link { margin-top: var(--space-md); }
.book { padding: var(--space-3xl) 0; background: var(--color-paper-2); }
.book__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2xl); align-items: start; }
.book__lede { margin-top: var(--space-md); color: var(--color-ink-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); align-items: end; }
.field--wide { grid-column: 1 / -1; }
.form__help { grid-column: 1 / -1; min-height: 1.6em; font-weight: 600; }
.foot { padding: var(--space-3xl) 0 var(--space-2xl); background: var(--color-field); color: var(--color-on-field); }
.foot :focus-visible { outline-color: var(--color-focus-on-field); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.foot__name { font: 600 var(--text-2xl)/1 var(--font-display); }
.foot__addr { font-style: normal; line-height: 1.8; color: var(--color-on-field-2); }
.foot__addr a { color: var(--color-on-field); }
.foot__links { list-style: none; display: grid; gap: var(--space-xs); }
.foot__links a { display: inline-flex; min-height: 32px; align-items: center; }
.foot__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-ink-2); font-size: var(--text-sm); color: var(--color-on-field-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding: var(--space-lg) 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.crumbs a { color: var(--color-ink-2); }
.dt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.dt__pic { margin: 0; }
.dt__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dt__body { display: grid; gap: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-ink); }
.dt h1 { font-size: var(--text-section); font-weight: 600; line-height: 1.05; }
.dt__lede { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }
.dt__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-sm); }
.dt__price span { font: 600 var(--text-3xl)/1 var(--font-display); color: var(--color-accent); }
.dt__price small { font-size: var(--text-sm); color: var(--color-ink-2); }
.seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: var(--space-xs); padding: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-ink); background: var(--color-paper-3); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out); }
.seg label:hover { background: var(--color-paper-2); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.dt__est { color: var(--color-ink-2); }
.dt__est output { font-weight: 600; color: var(--color-ink); }
.dt__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.specs { padding: var(--section-gap-s) 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2xl); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: var(--space-md) 0; border-top: 1px solid var(--color-ink); text-align: left; vertical-align: top; }
.spec th { width: 30%; }
.rel { padding: var(--section-gap-s) 0; }
.rel__list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); }
.rel__list a { display: grid; gap: var(--space-2xs); min-height: 64px; padding: var(--space-md) 0; border-top: 2px solid var(--color-ink); text-decoration: none; }
.rel__list a span:first-child { font: 600 var(--text-title)/1.2 var(--font-display); }
.rel__list a span:last-child { font-size: var(--text-sm); color: var(--color-ink-2); }
.rel__list a:hover span:first-child { color: var(--color-accent); }
.rel__list a[aria-current] { border-top-color: var(--color-accent); }
@media (max-width: 60rem) {
  .hero__panel { padding: var(--space-xl); }
  .sec-head, .calc__in, .fabric__in, .room__in, .book__in, .dt, .specs { grid-template-columns: minmax(0, 1fr); }
  .sec-head p { justify-self: start; }
  .calc__note { grid-column: auto; }
  .type, .type--0, .type--1 { grid-column: span 3; }
  .type img, .type--0 img, .type--1 img { aspect-ratio: 4 / 3; }
  .rel__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .hero { min-height: 0; grid-template-rows: auto auto; }
  .hero__img { position: static; height: 300px; }
  .hero__wrap { padding: 0 var(--gutter); }
  .hero__panel { margin-top: calc(-1 * var(--space-2xl)); padding: var(--space-lg); }
  .type-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .type, .type--0, .type--1 { grid-column: auto; }
  .calc__form, .form, .foot__in, .step-list { grid-template-columns: minmax(0, 1fr); }
  .step-list { gap: var(--space-lg); }
  .rel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
