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

:root {
  --ink: #17191b;
  --ink-2: #25282b;
  --steel: #5d646a;
  --muted: #6c716f;
  --line: #d9d9d3;
  --paper: #f7f7f3;
  --white: #ffffff;
  --gold: #f4b400;
  --gold-deep: #b98000;
  --green: #29483f;
  --blue: #29445a;
  --shell: 1240px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body, button, a { letter-spacing: 0; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; color: var(--muted); }
h1, h2, h3, blockquote { margin: 0; letter-spacing: 0; }
h2 { font-size: clamp(2.15rem, 4.2vw, 4.8rem); line-height: 1.04; font-weight: 680; }
h3 { font-size: 1.3rem; line-height: 1.25; }

.preview-shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.overline {
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}
.overline.light { color: #ffd44c; }

.preview-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.preview-header.scrolled {
  color: var(--ink);
  background: rgba(247, 247, 243, .94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.preview-logo { display: inline-flex; align-items: center; gap: 12px; min-width: 235px; }
.preview-logo img { width: 76px; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .12)); }
.preview-logo span { display: flex; flex-direction: column; }
.preview-logo strong { font-size: 1rem; line-height: 1.2; }
.preview-logo small { margin-top: 3px; color: currentColor; opacity: .65; font-size: .67rem; line-height: 1.2; }
.preview-nav { display: flex; align-items: center; gap: 4px; }
.preview-nav a { padding: 10px 13px; font-size: .84rem; font-weight: 700; opacity: .84; }
.preview-nav a:hover { opacity: 1; color: var(--gold); }
.preview-nav .nav-store { margin-left: 8px; padding: 11px 17px; color: var(--ink); background: var(--gold); opacity: 1; }
.preview-nav .nav-store:hover { color: var(--ink); background: #ffce3a; }
.menu-button { display: none; width: 44px; height: 44px; place-content: center; gap: 5px; border: 0; color: inherit; background: transparent; }
.menu-button span { display: block; width: 22px; height: 2px; background: currentColor; }

.preview-hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #111315;
}
.hero-photo, .statement-photo {
  position: absolute;
  inset: -10%;
  will-change: transform;
  background-position: center;
  background-size: cover;
}
.hero-photo { background-image: url("../images/factory-campus.png"); background-position: center 61%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 14, .9) 0%, rgba(11, 13, 14, .66) 47%, rgba(11, 13, 14, .15) 78%, rgba(11, 13, 14, .24) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 150px 0 178px; }
.hero-content h1 { max-width: 930px; font-size: clamp(3.1rem, 6.7vw, 7.4rem); line-height: .96; font-weight: 620; }
.hero-content h1 span { display: block; color: var(--gold); }
.hero-lead { max-width: 720px; margin-top: 28px; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid transparent;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: #17191b; background: var(--gold); }
.button-gold:hover { background: #ffce3a; }
.button-glass { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .42); backdrop-filter: blur(8px); }
.button-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .7); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--green); }
.button-outline { color: var(--ink); background: transparent; border-color: #8a8b84; }
.button-outline:hover { border-color: var(--ink); background: #fff; }
.hero-contact { display: flex; align-items: center; gap: 15px; margin-top: 24px; color: rgba(255, 255, 255, .7); font-size: .82rem; }
.hero-contact a:hover { color: var(--gold); }
.hero-contact span { width: 1px; height: 14px; background: rgba(255, 255, 255, .32); }
.hero-foot { position: absolute; z-index: 3; inset: auto 0 0; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(15, 17, 18, .75); backdrop-filter: blur(12px); }
.fact-row { min-height: 108px; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-row div { display: flex; flex-direction: column; justify-content: center; padding: 18px 26px; border-left: 1px solid rgba(255, 255, 255, .15); }
.fact-row div:last-child { border-right: 1px solid rgba(255, 255, 255, .15); }
.fact-row strong { color: var(--white); font-size: 1.02rem; }
.fact-row span { margin-top: 3px; color: rgba(255, 255, 255, .57); font-size: .74rem; }
.scroll-cue { position: absolute; z-index: 4; right: 32px; bottom: 132px; display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .58); font-size: .7rem; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 42px; background: var(--gold); }

.story-section { padding: 64px 0; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); gap: clamp(32px, 4vw, 54px); align-items: center; }
.story-copy .overline { margin-bottom: 14px; }
.story-copy h2 { max-width: 500px; font-size: clamp(2rem, 2.8vw, 2.8rem); line-height: 1.14; }
.story-copy p { max-width: 550px; }
.story-copy .story-lead { margin-top: 18px; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--gold-deep); font-size: .9rem; font-weight: 800; }
.text-link:hover { color: var(--gold-deep); }
.story-visual { min-width: 0; margin: 0; }
.story-visual img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.story-visual figcaption { padding-top: 12px; color: var(--muted); font-size: .76rem; }

.factory-gallery-section { padding: 52px 0; background: #e9e9e3; }
.factory-gallery-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 25px; }
.factory-gallery-heading .overline { margin-bottom: 10px; }
.factory-gallery-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.15; }
.factory-gallery-heading p:last-child { margin: 12px 0 0; font-size: .9rem; }
.gallery-controls { display: flex; gap: 8px; flex: none; }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid #b5b7b0; background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.gallery-controls button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.gallery-controls button:disabled { opacity: .3; cursor: default; }
.gallery-controls button:focus-visible,.factory-gallery:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.factory-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #a3a59e transparent; padding-bottom: 8px; }
.factory-gallery figure { min-width: 0; margin: 0; overflow: hidden; background: var(--white); scroll-snap-align: start; }
.factory-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.factory-gallery figcaption { display: grid; gap: 3px; padding: 15px 16px 17px; }
.factory-gallery figcaption strong { color: var(--ink); font-size: .95rem; }
.factory-gallery figcaption span { color: var(--muted); font-size: .76rem; }
.gallery-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); font-size: .72rem; }

.craft-inline { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.craft-inline div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.craft-inline span { color: var(--gold-deep); font-size: .72rem; font-weight: 800; }
.craft-inline p { margin: 0; font-size: .86rem; }
.craft-inline strong { color: var(--ink); }

.product-section { padding: 100px 0; background: #e9e9e3; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { max-width: 800px; }
.section-heading > p { max-width: 520px; margin-bottom: 4px; }
.section-heading.compact h2 { font-size: clamp(2.15rem, 3.8vw, 4.2rem); }
.product-showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.product-range-visual { margin: 0; background: var(--white); }
.product-range-visual img { aspect-ratio: 1.55 / 1; object-fit: cover; }
.product-family-list { border-top: 1px solid #c6c7c2; }
.product-family-list a { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid #c6c7c2; }
.product-family-list > a > span { color: var(--gold-deep); font-size: .72rem; font-weight: 800; }
.product-family-list h3 { font-size: 1.08rem; }
.product-family-list p { margin: 7px 0 0; font-size: .82rem; line-height: 1.55; }
.product-family-list a:hover h3 { color: var(--green); }
.product-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-feature { position: relative; min-height: 530px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--white); }
.product-feature-wide { grid-column: 1 / -1; min-height: 430px; grid-template-columns: .78fr 1.22fr; grid-template-rows: 1fr; }
.feature-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 55px); }
.feature-copy > span { margin-bottom: 18px; color: var(--gold-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.feature-copy h3 { max-width: 520px; font-size: clamp(1.8rem, 3vw, 3.4rem); }
.feature-copy p { max-width: 540px; margin: 18px 0 28px; }
.feature-copy strong { font-size: .82rem; }
.product-feature img, .feature-image, .workshop-crop { min-height: 260px; height: 100%; object-fit: cover; }
.product-feature:not(.product-feature-wide) img { order: 2; aspect-ratio: 1.65 / 1; object-position: center 58%; }
.campus-crop { background: url("../images/factory-campus.png") center 68% / cover no-repeat; }
.product-feature-dark { color: var(--white); background: var(--ink); }
.product-feature-dark h3 { color: var(--white); }
.product-feature-dark p { color: rgba(255, 255, 255, .62); }
.mesh-pattern { position: relative; min-height: 260px; overflow: hidden; background-color: var(--blue); }
.mesh-pattern::before, .mesh-pattern::after { content: ""; position: absolute; inset: -40%; background-image: linear-gradient(45deg, transparent 46%, rgba(255,255,255,.34) 47%, rgba(255,255,255,.34) 49%, transparent 50%), linear-gradient(-45deg, transparent 46%, rgba(255,255,255,.34) 47%, rgba(255,255,255,.34) 49%, transparent 50%); background-size: 32px 32px; transform: perspective(600px) rotateX(52deg) rotateZ(8deg); }
.mesh-pattern::after { inset: 40% -10% -60%; background-color: rgba(244,180,0,.88); opacity: .9; }
.center-action { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 42px; }

.parallax-statement { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: #151718; }
.statement-photo { background-image: url("../images/factory-campus.png"); background-position: center 55%; }
.statement-shade { position: absolute; inset: 0; background: rgba(14, 16, 17, .72); }
.statement-content { position: relative; z-index: 2; text-align: center; }
.statement-content blockquote { max-width: 1020px; margin-inline: auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5.4vw, 6.3rem); line-height: 1.04; font-weight: 400; }
.statement-content > p:last-child { margin: 28px auto 0; color: rgba(255, 255, 255, .67); }

.service-section { padding: 105px 0; background: var(--white); }
.service-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(60px, 9vw, 130px); }
.service-intro { position: sticky; top: 130px; align-self: start; }
.service-intro h2 { font-size: clamp(2.4rem, 4.2vw, 4.8rem); }
.service-intro > p:not(.overline) { margin-top: 28px; max-width: 550px; font-size: 1.05rem; }
.service-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.entity-note { margin-top: 34px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem !important; line-height: 1.65; }
.entity-note strong { color: var(--ink); }
.service-principles { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.principle > span { color: var(--gold-deep); font-size: .76rem; font-weight: 800; }
.principle h3 { font-size: 1.5rem; }
.principle p { max-width: 550px; margin: 10px 0 0; }

.entity-section { padding: 90px 0; color: var(--white); background: var(--green); }
.entity-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.entity-title h2 { color: var(--white); font-size: clamp(2.3rem, 4vw, 4.5rem); }
.entity-copy > p { color: rgba(255, 255, 255, .76); font-size: 1.1rem; }
.entity-copy dl { margin: 34px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.entity-copy dl div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.entity-copy dt { color: rgba(255, 255, 255, .55); font-size: .78rem; }
.entity-copy dd { margin: 0; color: var(--white); font-size: .91rem; }
.entity-copy a { color: #ffd44c; }

.insights-section { padding: 58px 0 64px; background: var(--paper); border-top: 1px solid var(--line); }
.guides-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.guides-heading .overline { margin-bottom: 10px; }
.guides-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.15; }
.guides-heading > a { flex: none; font-size: .82rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px; border: 1px solid var(--line); background: #fff; }
.guide-card:hover { border-color: var(--gold-deep); }
.guide-card:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.guide-category { color: var(--gold-deep); font-size: .69rem; font-weight: 800; text-transform: uppercase; }
.guide-card h3 { margin: 12px 0 10px; font-size: 1.25rem; line-height: 1.3; }
.guide-card p { margin: 0 0 20px; font-size: .86rem; line-height: 1.6; }
.guide-arrow { margin-top: auto; align-self: flex-end; color: var(--gold-deep); font-size: 1.2rem; }

.preview-footer { padding: 74px 0 24px; color: rgba(255, 255, 255, .62); background: #111315; }
.footer-main { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-main > div:first-child p { max-width: 350px; margin-top: 12px; font-size: .82rem; }
.footer-main > div > strong { margin-bottom: 10px; color: var(--white); font-size: .82rem; }
.footer-main > div > a:not(.preview-logo) { font-size: .8rem; }
.footer-main > div > a:hover { color: var(--gold); }
.footer-logo { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .72rem; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .preview-nav { position: absolute; top: 86px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 18px 28px 28px; color: var(--ink); background: rgba(247, 247, 243, .98); border-bottom: 1px solid var(--line); }
  .preview-nav.open { display: flex; }
  .preview-nav .nav-store { margin: 8px 0 0; text-align: center; }
  .menu-button { display: grid; }
  .story-grid, .section-heading, .factory-gallery-heading, .service-layout, .entity-grid { grid-template-columns: 1fr; }
  .story-copy h2 { max-width: 760px; }
  .story-visual img { aspect-ratio: 16 / 9; }
  .service-intro { position: static; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-feature-wide { grid-template-columns: 1fr; }
  .product-feature-wide .feature-image, .product-feature-wide .workshop-crop { min-height: 380px; order: -1; }
  .section-heading { gap: 26px; }
  .fact-row div { padding-inline: 18px; }
  .factory-gallery { grid-auto-columns: calc((100% - 18px) / 2); }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .preview-shell { width: min(calc(100% - 32px), var(--shell)); }
  .header-inner { min-height: 74px; }
  .preview-logo img { width: 62px; }
  .preview-logo small { display: none; }
  .preview-nav { top: 74px; }
  .preview-hero { min-height: 900px; align-items: flex-start; }
  .hero-photo { inset: 0; transform: none !important; background-position: 61% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(11,13,14,.86) 0%, rgba(11,13,14,.54) 52%, rgba(11,13,14,.9) 88%); }
  .hero-content { padding: 132px 0 360px; }
  .hero-content h1 { font-size: clamp(2.8rem, 13.4vw, 4.6rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions .button { width: 100%; }
  .hero-contact { align-items: flex-start; flex-direction: column; gap: 5px; }
  .hero-contact span { display: none; }
  .hero-foot { background: rgba(15, 17, 18, .88); }
  .fact-row { min-height: auto; grid-template-columns: 1fr 1fr; }
  .fact-row div { min-height: 82px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .scroll-cue { display: none; }
  .story-section, .product-section, .service-section { padding: 68px 0; }
  .story-grid { gap: 34px; }
  .story-visual img { aspect-ratio: 16 / 9; }
  .factory-gallery-section { padding: 42px 0; }
  .factory-gallery-heading { align-items: flex-start; gap: 16px; }
  .gallery-controls { gap: 5px; }
  .gallery-controls button { width: 38px; height: 38px; }
  .factory-gallery { grid-auto-columns: 84%; }
  .insights-section { padding: 42px 0; }
  .guides-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-card { padding: 20px; }
  .guide-card p { margin-bottom: 10px; }
  .product-editorial { grid-template-columns: 1fr; }
  .product-feature-wide { grid-column: auto; min-height: 520px; }
  .product-feature { min-height: 500px; }
  .product-feature-wide .feature-image, .product-feature-wide .workshop-crop { min-height: 250px; }
  .product-feature-wide .feature-copy { order: 2; }
  .parallax-statement { min-height: 620px; }
  .statement-photo { inset: 0; transform: none !important; }
  .statement-content blockquote { font-size: clamp(2.35rem, 10vw, 4rem); }
  .entity-section { padding: 84px 0; }
  .entity-grid { gap: 42px; }
  .entity-copy dl div { grid-template-columns: 1fr; gap: 4px; }
  .principle { grid-template-columns: 42px 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (min-width: 761px) and (max-height: 800px) {
  .header-inner { min-height: 74px; }
  .preview-logo img { width: 64px; }
  .hero-content { padding: 118px 0 150px; }
  .hero-content h1 { max-width: 820px; font-size: clamp(3.15rem, 5vw, 4.25rem); }
  .hero-lead { max-width: 660px; margin-top: 20px; font-size: .98rem; line-height: 1.55; }
  .hero-actions { margin-top: 24px; }
  .hero-contact { margin-top: 17px; }
  .fact-row { min-height: 92px; }
  .scroll-cue { bottom: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo, .statement-photo { transform: none !important; }
  .button { transition: none; }
}
@media(max-width:580px){
  .hero-content { padding-top:165px; }
}
/* Eight featured products in two compact rows on desktop. */
.featured-catalog .featured-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
@media(max-width:1000px){ .featured-catalog .featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:580px){
  .featured-catalog .featured-grid { gap:10px; }
  .featured-catalog .catalog-card-copy { padding:13px 12px 15px; }
  .featured-catalog .catalog-card h3 { font-size:1rem; }
  .featured-catalog .catalog-card p { font-size:.75rem; line-height:1.45; }
  .featured-catalog .catalog-card .catalog-tag { font-size:.61rem; }
}
