/* ==========================================================================
   DAIKU — brand layer on top of Hyvä Default
   Brochure language: white space, thin rules, black type, uppercase light
   headings, square corners. "Designed Minimal. Built Indian."
   Unlayered on purpose: it wins over Hyvä's @layer theme/components.
   ========================================================================== */

@font-face {
    font-family: "Fustat";
    src: url("../fonts/fustat-latin-wght-normal.woff2") format("woff2-variations");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Stack Sans Notch";
    src: url("../fonts/stack-sans-notch-latin-wght-normal.woff2") format("woff2-variations");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --dk-ink: #111111;
    --dk-ink-2: #4a4a4a;
    --dk-muted: #7a7a7a;
    --dk-line: #d6d6d6;
    --dk-line-soft: #ebebeb;
    --dk-paper: #ffffff;
    --dk-mist: #f4f4f2;
    --dk-night: #141414;
    --dk-display: "Stack Sans Notch", "Fustat", system-ui, sans-serif;
    --dk-sans: "Fustat", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Hyvä tokens */
    --font-sans: var(--dk-sans);
    --default-font-family: var(--dk-sans);
    --color-primary: var(--dk-ink);
    --color-primary-lighter: #333333;
    --color-primary-darker: #000000;
    --color-on-primary: #ffffff;
    --color-secondary: var(--dk-ink-2);
    --color-ink: var(--dk-ink);
    --color-ink-muted: var(--dk-ink-2);
    --color-fg: var(--dk-ink);
    --color-fg-secondary: var(--dk-ink-2);
    --color-bg: var(--dk-paper);
    --color-surface: var(--dk-paper);
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --card-radius: 0px;
}

html, body {
    font-family: var(--dk-sans);
    color: var(--dk-ink);
    background: var(--dk-paper);
    -webkit-font-smoothing: antialiased;
}
body { font-weight: 400; letter-spacing: .005em; }
::selection { background: var(--dk-ink); color: #fff; }

h1, h2, h3, .page-title, .page-title-wrapper h1 {
    font-family: var(--dk-display);
    font-weight: 300;
    letter-spacing: -.01em;
    color: var(--dk-ink);
}
.page-title, .page-title-wrapper h1, main h1 { text-transform: uppercase; }

a { text-underline-offset: 3px; }

/* ---------- buttons & form ---------- */
.btn {
    border-radius: 0 !important;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .8125rem;
}
.btn-primary {
    --btn-bg: var(--dk-ink);
    --btn-hover-bg: #333;
    --btn-active-bg: #000;
    --btn-color: #fff;
    --btn-hover-color: #fff;
    --btn-stroke: var(--dk-ink);
    --btn-hover-stroke: #333;
}
input, select, textarea, .form-input, .form-select { border-radius: 0 !important; }

/* ---------- header ---------- */
#header {
    box-shadow: none !important;
    border-bottom: 1px solid var(--dk-line) !important;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(140%) blur(6px);
    position: sticky;
    top: 0;
}
#header a.logo img, #header .logo img { max-height: 34px; width: auto; }
.navigation ul li.level-0 > span a,
.navigation a.level-0 {
    font-family: var(--dk-sans);
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.navigation li.level-0 { border-bottom-width: 1px !important; }
.navigation li.level-0:hover,
.navigation li.level-0[data-active] { border-color: var(--dk-ink) !important; }
#menu-cart-icon span.rounded-full,
#menu-cart-icon .bg-primary { background: var(--dk-ink) !important; }

/* store-wide notice bar ("UAT" etc.) */
.dk-uat-bar {
    background: var(--dk-ink); color: #fff; text-align: center;
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px;
}

/* ---------- breadcrumbs & page titles ---------- */
.breadcrumbs, nav.breadcrumbs { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dk-muted); }
.page-title-wrapper { padding-top: 1.25rem; }
.page-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; }

/* ---------- category page ---------- */
.category-view .category-image img, .category-image img {
    width: 100%; max-height: 520px; object-fit: cover; display: block;
}
.category-description { color: var(--dk-ink-2); max-width: 62ch; font-size: 1.05rem; line-height: 1.6; }
.toolbar, .toolbar-products { font-size: .8125rem; letter-spacing: .04em; }

/* product cards: flat, lined, no rounded hover cards */
.product-item.card {
    --card-stroke: transparent;
    --card-px: 0;
    --card-py: 0;
    border-radius: 0 !important;
    background: transparent;
}
.product-item.card:hover, .product-item.card:focus-within { box-shadow: none !important; }
.product-item .product-item-photo {
    background: var(--dk-mist);
    margin-bottom: 1rem;
    overflow: hidden;
    width: 100%;
}
.product-item .product-item-photo img { mix-blend-mode: multiply; transition: transform .6s ease; width: 100%; height: auto; }
.product-item:hover .product-item-photo img { transform: scale(1.035); }
.product-item .product-item-link {
    font-family: var(--dk-sans);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.products-grid .product-item .product-info, .product-item .product-info { padding: 0 .25rem 1.25rem; }

/* swatches */
.swatch-option, [class*="swatch-option"] { border-radius: 999px !important; }
.swatch-attribute-label, .swatch-attribute .label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- product page ---------- */
.catalog-product-view .page-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.catalog-product-view .product-info-main, .catalog-product-view .product-description {
    line-height: 1.65;
}
.catalog-product-view .product-description { color: var(--dk-ink-2); }
#product-addtocart-button { min-height: 52px; padding-inline: 2.5rem; }
[x-ref="galleryMain"], .gallery-main, #gallery { background: var(--dk-mist); }
#gallery img { mix-blend-mode: multiply; }

/* spec & feature blocks used inside product descriptions */
.dk-spec { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.dk-spec caption { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dk-ink); padding-bottom: .5rem; font-weight: 600; }
.dk-spec th, .dk-spec td { text-align: left; padding: .65rem 0; border-bottom: 1px solid var(--dk-line-soft); vertical-align: top; }
.dk-spec th { width: 40%; font-weight: 400; color: var(--dk-muted); padding-right: 1rem; }
.dk-spec td { color: var(--dk-ink); }
.dk-features { list-style: none; padding: 0; margin: .75rem 0 1.5rem; columns: 2 220px; column-gap: 2rem; }
.dk-features li { break-inside: avoid; padding: .45rem 0 .45rem 1.1rem; position: relative; border-bottom: 1px solid var(--dk-line-soft); font-size: .92rem; }
.dk-features li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 6px; height: 1px; background: var(--dk-ink); }
.dk-kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--dk-ink); margin: 1.5rem 0 .25rem; }
.dk-dots { display: flex; gap: .5rem; align-items: center; margin: .5rem 0 1rem; flex-wrap: wrap; }
.dk-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); display: inline-block; }
.dk-dot-label { font-size: .8rem; color: var(--dk-ink-2); margin-right: .65rem; }

/* ==========================================================================
   CMS building blocks (homepage, about, commercial projects)
   ========================================================================== */
.cms-index-index .page-main, .cms-index-index main#maincontent { padding-top: 0; }
.cms-index-index .page-title-wrapper { display: none; }

.dk-wrap { width: 100%; }
.dk-eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dk-muted); margin: 0 0 1rem; }
.dk-display {
    font-family: var(--dk-display); font-weight: 300; text-transform: uppercase;
    font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: .98; letter-spacing: -.015em; margin: 0;
}
.dk-h2 {
    font-family: var(--dk-display); font-weight: 300; text-transform: uppercase;
    font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 1rem;
}
.dk-lead { font-size: 1.05rem; line-height: 1.65; color: var(--dk-ink-2); max-width: 46ch; }
.dk-btn {
    display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.6rem;
    background: var(--dk-ink); color: #fff !important; text-decoration: none !important;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    border: 1px solid var(--dk-ink); transition: background .2s, color .2s;
}
.dk-btn:hover { background: #fff; color: var(--dk-ink) !important; }
.dk-btn--ghost { background: transparent; color: var(--dk-ink) !important; }
.dk-btn--ghost:hover { background: var(--dk-ink); color: #fff !important; }
.dk-btn--light { background: #fff; color: var(--dk-ink) !important; border-color: #fff; }
.dk-btn--light:hover { background: transparent; color: #fff !important; }
.dk-btn::after { content: "\2192"; font-size: 1rem; line-height: 1; }
.dk-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* hero: brochure cover grid on the left, dark product shot on the right */
.dk-hero {
    display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(82vh, 760px);
    border-bottom: 1px solid var(--dk-line);
}
.dk-hero__copy {
    display: grid; grid-template-rows: 1fr auto; border-right: 1px solid var(--dk-line);
}
.dk-hero__main { padding: clamp(2rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 4.5rem) 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.dk-hero__foot {
    display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--dk-line);
    font-size: .8rem; letter-spacing: .06em;
}
.dk-hero__foot span { padding: 1.1rem clamp(1.25rem, 5vw, 4.5rem); }
.dk-hero__foot span + span { border-left: 1px solid var(--dk-line); padding: 1.1rem 2rem; }
.dk-hero__media { position: relative; background: #0f1a17; overflow: hidden; }
.dk-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dk-hero__media figcaption {
    position: absolute; left: 1.5rem; bottom: 1.25rem; color: #fff; font-size: .72rem;
    letter-spacing: .2em; text-transform: uppercase; opacity: .85;
}

/* section scaffolding */
.dk-section { padding: clamp(3rem, 7vw, 6rem) 0; }
.dk-section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.dk-section__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.dk-rule { border: 0; border-top: 1px solid var(--dk-line); margin: 0; }

/* collection index (brochure "Our Collection") */
.dk-collections { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dk-line); border-left: 1px solid var(--dk-line); }
.dk-collection {
    display: block; border-right: 1px solid var(--dk-line); border-bottom: 1px solid var(--dk-line);
    text-decoration: none !important; color: var(--dk-ink) !important; background: #fff; position: relative;
}
.dk-collection__img { aspect-ratio: 1/1; overflow: hidden; background: var(--dk-mist); }
.dk-collection__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; display: block; }
.dk-collection:hover .dk-collection__img img { transform: scale(1.04); }
.dk-collection__label {
    display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem;
    font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.dk-collection__label::after { content: "\2192"; font-weight: 400; transition: transform .2s; }
.dk-collection:hover .dk-collection__label::after { transform: translateX(4px); }

/* full-bleed product line-up: copy bar above the photo */
.dk-lineup { position: relative; background: #fff; overflow: hidden; border-top: 1px solid var(--dk-line); }
.dk-lineup img { width: 100%; height: auto; display: block; }
.dk-lineup__copy {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem;
    max-width: 1280px; margin: 0 auto; padding: clamp(2rem, 4vw, 3.25rem) 1.5rem 1.5rem;
}
.dk-lineup__copy .dk-h2 { margin-bottom: .25rem; }
.dk-lineup__copy .dk-dots { margin: .25rem 0 0; }
.dk-lineup__meta { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }

/* dark statement band (brochure spread 2) */
.dk-statement { background: var(--dk-night); color: #fff; }
.dk-statement__grid { display: grid; grid-template-columns: 1fr 1fr; }
.dk-statement__copy { padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; border-right: 1px solid rgba(255,255,255,.14); }
.dk-statement .dk-display { color: #fff; font-size: clamp(1.9rem, 4vw, 3.4rem); }
.dk-statement p { color: rgba(255,255,255,.72); line-height: 1.7; max-width: 52ch; margin: 0 0 1rem; }
.dk-statement__sign { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.1rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; }
.dk-statement__media { position: relative; min-height: 360px; }
.dk-statement__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* icon grids (Why Daiku / Commercial / Customisation) */
.dk-icons { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--dk-line); border-left: 1px solid var(--dk-line); }
.dk-icon { border-right: 1px solid var(--dk-line); border-bottom: 1px solid var(--dk-line); padding: 1.75rem 1rem 1.4rem; text-align: center; }
.dk-icon img { width: 56px; height: 56px; margin: 0 auto .9rem; display: block; }
.dk-icon span { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.dk-icon small { display: block; color: var(--dk-muted); font-size: .8rem; margin-top: .35rem; line-height: 1.45; text-transform: none; letter-spacing: 0; }

/* "why" words row (brochure page 4) */
.dk-words { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--dk-line); }
.dk-words div { padding: 1.4rem 1rem 1.2rem 0; border-right: 1px solid var(--dk-line); font-size: .95rem; }
.dk-words div:last-child { border-right: 0; }
.dk-words b { display: block; font-family: var(--dk-display); font-weight: 300; font-size: 1.7rem; margin-bottom: .4rem; color: var(--dk-muted); }

/* split feature: image + copy */
.dk-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--dk-line); border-bottom: 1px solid var(--dk-line); }
.dk-split__media { background: var(--dk-mist); min-height: 420px; position: relative; overflow: hidden; }
.dk-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dk-split__copy { padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.dk-split--rev .dk-split__media { order: 2; }

/* contact CTA (back cover) */
.dk-contact { display: grid; grid-template-columns: 1.2fr 1fr; border-top: 1px solid var(--dk-line); }
.dk-contact > div { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem); }
.dk-contact > div + div { border-left: 1px solid var(--dk-line); display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; font-size: 1rem; }
.dk-contact__links a { color: var(--dk-ink) !important; }

/* products widget on the homepage: one row of five on wide screens */
.dk-products .block-content > div.grid, .dk-products .product-items, .dk-products ol { gap: 2.5rem 1.5rem; }
@media (min-width: 1200px) {
    .dk-products .block-content > div.grid, .dk-products ol.product-items { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
.product-item .product-item-link { color: var(--dk-ink); text-decoration: none; }
.product-item .product-item-link:hover { text-decoration: underline; }
.dk-products .block-title, .dk-products h2.block-title { display: none; }

/* ---------- footer ---------- */
.dk-footer { background: var(--dk-night); color: rgba(255, 255, 255, .78); margin-top: 0; }
.dk-footer__inner {
    max-width: 1440px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
}
.dk-footer__brand img { width: 150px; height: auto; margin-bottom: 1.5rem; }
.dk-footer__tag { font-size: 1.25rem; line-height: 1.25; color: #fff; margin: 0 0 1.25rem; }
.dk-footer__lead { font-size: .9rem; margin: 0; }
.dk-footer h2 {
    font-family: var(--dk-sans); color: #fff; font-size: .72rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.1rem; padding-bottom: .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.dk-footer ul { list-style: none; margin: 0; padding: 0; }
.dk-footer li { margin: 0 0 .65rem; font-size: .9rem; }
.dk-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.dk-footer a:hover { color: #fff; text-decoration: underline; }
.dk-footer__bar {
    max-width: 1440px; margin: 0 auto; padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
    .dk-collections { grid-template-columns: repeat(2, 1fr); }
    .dk-icons { grid-template-columns: repeat(3, 1fr); }
    .dk-words { grid-template-columns: repeat(2, 1fr); }
    .dk-words div { border-bottom: 1px solid var(--dk-line); padding-left: .25rem; }
    .dk-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .dk-hero, .dk-statement__grid, .dk-split, .dk-contact { grid-template-columns: 1fr; }
    .dk-hero__copy { border-right: 0; }
    .dk-hero__media { min-height: 92vw; }
    .dk-statement__copy { border-right: 0; }
    .dk-split--rev .dk-split__media { order: 0; }
    .dk-split__media { min-height: 92vw; }
    .dk-contact > div + div { border-left: 0; border-top: 1px solid var(--dk-line); }
    .dk-lineup__copy { padding: 1.75rem 1.25rem 1.25rem; }
    .dk-icons { grid-template-columns: repeat(2, 1fr); }
    .dk-footer__inner { grid-template-columns: 1fr; }
    .dk-hero__foot { grid-template-columns: 1fr; }
    .dk-hero__foot span + span { border-left: 0; border-top: 1px solid var(--dk-line); padding-left: clamp(1.25rem, 5vw, 4.5rem); }
}
