:root {
  --ink: #151b19;
  --deep: #102f36;
  --deep-2: #0b2227;
  --paper: #f4f1ea;
  --white: #ffffff;
  --sand: #c9a875;
  --line: rgba(21, 27, 25, 0.14);
  --muted: #66706d;
  --shadow: 0 24px 70px rgba(12, 25, 26, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header { height: 84px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .16em; font-size: 17px; }
.brand-mark { width: 31px; height: 31px; display: grid; gap: 3px; transform: skewY(-9deg); }
.brand-mark i { display: block; background: var(--deep); border-radius: 1px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav a:not(.nav-cta) { border-bottom: 1px solid transparent; padding: 10px 0; }
.main-nav a:hover { border-color: var(--sand); }
.nav-cta { background: var(--deep); color: white; padding: 13px 20px; border-radius: 2px; }
.nav-toggle { display: none; border: 0; background: transparent; font-weight: 700; }

.hero { min-height: 720px; height: calc(100vh - 84px); max-height: 920px; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,18,.84) 0%, rgba(6,16,18,.62) 42%, rgba(6,16,18,.08) 78%); }
.hero-content { position: relative; z-index: 1; color: white; width: min(720px, 88vw); margin-left: clamp(24px, 9vw, 150px); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; color: #e2c99f; margin: 0 0 18px; }
.eyebrow.dark { color: #866b45; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 8vw, 106px); line-height: .92; font-weight: 400; letter-spacing: -.055em; margin-bottom: 28px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(36px, 5vw, 66px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 24px; }
h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; }
p { line-height: 1.65; }
.hero-copy { font-size: clamp(17px, 2vw, 21px); line-height: 1.55; max-width: 650px; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; border-radius: 2px; border: 1px solid transparent; cursor: pointer; }
.button-primary { background: var(--sand); color: #17201e; }
.button-ghost { border-color: rgba(255,255,255,.6); color: white; }
.button-dark { background: var(--deep); color: white; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 64px; font-size: 13px; color: rgba(255,255,255,.86); }
.hero-notes span::before { content: "✓"; color: #e2c99f; margin-right: 8px; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.intro { padding: 110px 0 58px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.intro h2 { margin-bottom: 0; }
.intro > p { color: var(--muted); font-size: 17px; margin-bottom: 8px; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-bottom: 120px; }
.product-card { background: var(--paper); min-height: 580px; overflow: hidden; position: relative; display: grid; grid-template-rows: 340px auto; }
.product-card.featured { grid-column: span 2; grid-template-columns: 1.35fr .65fr; grid-template-rows: 560px; }
.product-card img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card-body { padding: 30px 32px 34px; display: flex; flex-direction: column; align-items: flex-start; }
.product-card.featured .product-card-body { padding: 64px 48px; justify-content: end; background: var(--deep); color: white; }
.product-card p { color: var(--muted); margin-bottom: 24px; }
.product-card.featured p { color: rgba(255,255,255,.7); }
.tag { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #8c6c3f; margin-bottom: 10px; }
.product-card.featured .tag { color: #e2c99f; }
.text-link { background: none; border: 0; padding: 0 0 4px; border-bottom: 1px solid currentColor; font-weight: 700; cursor: pointer; margin-top: auto; color: inherit; }

.gate-section { background: var(--deep); padding: 110px 0 120px; color: white; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading.light p { color: rgba(255,255,255,.68); }
.section-heading.centered { text-align: center; margin: 0 auto 58px; }
.gate-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.visual-card { min-height: 330px; position: relative; overflow: hidden; }
.visual-card.large { grid-row: span 2; }
.visual-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(5,15,16,.8)); }
.visual-card > div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; }
.visual-card span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #e2c99f; }
.visual-card h3 { margin: 5px 0 0; font-size: 28px; }

.detail-story { padding: 120px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-image img { aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: var(--shadow); }
.story-copy p { color: var(--muted); font-size: 17px; }
.story-copy ul { list-style: none; padding: 0; margin: 30px 0 38px; border-top: 1px solid var(--line); }
.story-copy li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.story-copy li::before { content: "↗"; color: #9a7a4d; margin-right: 12px; }

.steps { padding: 110px 0; background: var(--paper); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps-grid article { background: white; padding: 34px 28px 36px; min-height: 260px; border-top: 3px solid var(--sand); }
.steps-grid span { font-family: Georgia, serif; font-size: 38px; color: #a88758; }
.steps-grid h3 { margin-top: 34px; font-size: 20px; }
.steps-grid p { color: var(--muted); font-size: 14px; }

.inquiry { padding: 120px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 86px; }
.inquiry-copy > p { color: var(--muted); }
.contact-line { margin-top: 42px; display: flex; flex-direction: column; gap: 7px; }
.contact-line span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact-line a { font-size: 23px; font-weight: 700; }
.inquiry-form { background: var(--paper); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inquiry-form label { display: grid; gap: 9px; color: #4f5956; font-size: 13px; font-weight: 700; }
.inquiry-form input, .inquiry-form select { width: 100%; border: 1px solid rgba(20,35,32,.18); background: white; padding: 14px 13px; min-height: 49px; color: var(--ink); }
.full { grid-column: span 2; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; }

.partner-strip { background: var(--deep-2); color: white; padding: 76px 0; }
.partner-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.partner-title h2 { font-size: 38px; margin-bottom: 0; }
.partner-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.partner-logo { height: 128px; border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.partner-logo.current { background: #133c45; }
.partner-logo.current img { max-width: 150px; max-height: 54px; object-fit: contain; margin-bottom: 10px; }
.partner-logo.current span { font-size: 11px; color: rgba(255,255,255,.65); }
.partner-logo.placeholder { border-style: dashed; color: rgba(255,255,255,.52); }
.partner-logo.placeholder span { font-size: 13px; }
.partner-logo.placeholder small { margin-top: 6px; color: rgba(255,255,255,.34); }

footer { background: #09171a; color: white; text-align: center; padding: 70px 24px; }
.footer-brand .brand-mark i { background: white; }
footer > p { color: rgba(255,255,255,.55); margin: 20px 0 0; }
.prototype-note { font-size: 11px; max-width: 680px; margin-inline: auto; }

dialog { width: min(520px, calc(100% - 36px)); border: 0; padding: 42px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(5,13,14,.75); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 30px; cursor: pointer; }
#dialog-copy { color: var(--muted); margin-bottom: 30px; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; inset-inline: 0; padding: 22px; background: white; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .hero { min-height: 700px; height: calc(100vh - 72px); }
  .hero-content { margin: 0 24px; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,16,18,.86), rgba(6,16,18,.42)); }
  .intro, .detail-story, .inquiry, .partner-inner { grid-template-columns: 1fr; gap: 38px; }
  .product-card.featured { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 340px auto; }
  .product-card.featured .product-card-body { padding: 34px 32px; }
  .gate-grid { grid-template-columns: 1fr; }
  .visual-card.large { grid-row: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logos { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .hero-notes { gap: 12px; flex-direction: column; margin-top: 42px; }
  .intro { padding-top: 80px; }
  .product-grid { grid-template-columns: 1fr; padding-bottom: 80px; }
  .product-card, .product-card.featured { min-height: auto; grid-template-rows: 280px auto; }
  .gate-section, .steps { padding-block: 80px; }
  .detail-story, .inquiry { padding-block: 82px; }
  .steps-grid, .partner-logos { grid-template-columns: 1fr; }
  .inquiry-form { grid-template-columns: 1fr; padding: 26px 20px; }
  .full { grid-column: auto; }
}
