/* IADAC CONSTRUCT LTD. - site styles
   One stylesheet for every page. No framework: plain CSS, grid and
   flex, custom properties for the palette. */

:root {
  --ink: #0e1014;
  --ink-2: #16191f;
  --ink-3: #1f232b;
  --steel: #2c313b;
  --paper: #faf8f4;
  --paper-2: #f2efe8;
  --line: #e4dfd5;
  --line-dark: rgba(255, 255, 255, 0.09);
  --text: #1b1e24;
  --muted: #5c6270;
  --muted-light: #a9afbb;
  --amber: #f2a900;
  --amber-deep: #c98b00;
  --amber-soft: rgba(242, 169, 0, 0.12);
  --whatsapp: #1fa855;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 16, 20, 0.06), 0 10px 30px rgba(14, 16, 20, 0.08);
  --shadow-lg: 0 2px 4px rgba(14, 16, 20, 0.06), 0 24px 60px rgba(14, 16, 20, 0.16);
  --wrap: 1180px;
  --head-h: 76px;
  --font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: var(--ink); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(242, 169, 0, 0.35); }
.btn-primary:hover { background: #ffbb1a; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: #22bb5f; }

/* ------------------------------------------------------------- header */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head-h);
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-head.solid, .site-head.always-solid {
  background: rgba(14, 16, 20, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.head-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: var(--amber); display: grid; place-items: center;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--font-head); font-size: 21px; font-weight: 800; letter-spacing: 0.06em; }
.brand-name small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.32em; color: var(--amber); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav a.on { color: var(--amber); }
.nav .nav-call {
  margin-left: 10px; background: var(--amber); color: var(--ink); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
}
.nav .nav-call:hover { background: #ffbb1a; color: var(--ink); }
.nav .nav-call svg { width: 16px; height: 16px; }

.menu-btn {
  display: none; background: none; border: 0; color: #fff; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; padding: 0;
}
.menu-btn svg { width: 26px; height: 26px; margin: auto; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

/* ------------------------------------------------------------- hero */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--head-h) + 60px) 0 90px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0.88) 0%, rgba(10, 11, 14, 0.62) 45%, rgba(10, 11, 14, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 11, 14, 0.75) 0%, rgba(10, 11, 14, 0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }

.hero h1 {
  font-size: clamp(42px, 7vw, 88px); font-weight: 800; margin: 20px 0 22px;
  max-width: 15ch; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px; color: rgba(255, 255, 255, 0.78);
}
.hero-tags span { display: inline-flex; align-items: center; gap: 9px; }
.hero-tags svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* page hero ( about / contact ) */
.page-hero { min-height: 62vh; align-items: center; padding-bottom: 70px; }
.page-hero h1 { max-width: 16ch; }

/* ------------------------------------------------------------- sections */

.section { padding: 110px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-tint { background: var(--paper-2); }

.sec-head { max-width: 700px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; margin: 16px 0 18px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.section-dark .sec-head p { color: var(--muted-light); }

/* three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px 36px; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(242, 169, 0, 0.5); }
.pillar-num {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1;
  color: var(--paper-2);
}
.pillar-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--amber-soft); color: var(--amber-deep); margin-bottom: 26px;
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pillar p { color: var(--muted); }

/* services: alternating rows */
.svc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.svc + .svc { margin-top: 110px; }
.svc.flip .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.svc-media::after {
  content: ""; position: absolute; z-index: -1; width: 58%; height: 58%;
  right: -22px; bottom: -22px; border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, transparent 10px 20px);
  opacity: 0.55;
}
.svc.flip .svc-media::after { right: auto; left: -22px; }
.svc-label {
  font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber-deep);
}
.svc h3 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; margin: 12px 0 18px; }
.svc p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--amber-deep); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 15px;
  color: var(--ink); background: var(--amber); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 26px; position: relative; z-index: 1;
}
.step::after {
  content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted-light); font-size: 16px; }

/* projects gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 16px; }
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius); margin: 0;
  background: var(--ink-3);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 22px 18px;
  background: linear-gradient(0deg, rgba(10, 11, 14, 0.85), rgba(10, 11, 14, 0));
  color: #fff; font-weight: 600; font-size: 15px;
}
.g-item figcaption span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 3px; }
.g-a { grid-column: span 4; grid-row: span 2; }
.g-b { grid-column: span 2; grid-row: span 1; }
.g-c { grid-column: span 2; grid-row: span 1; }
.g-d { grid-column: span 3; grid-row: span 1; }
.g-e { grid-column: span 3; grid-row: span 1; }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.badge-card {
  position: absolute; left: -28px; bottom: 36px; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 260px;
  border-left: 4px solid var(--amber);
}
.badge-card b { display: block; font-family: var(--font-head); font-size: 20px; margin-bottom: 4px; }
.badge-card span { color: var(--muted-light); font-size: 15px; }
.split h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 16px 0 22px; }
.split p { color: var(--muted); font-size: 18px; }
.split p + p { margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px; text-align: center; }
.value svg { display: block; width: 26px; height: 26px; color: var(--amber-deep); margin: 0 auto 8px; }
.value b { font-family: var(--font-head); font-size: 17px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; background: var(--ink);
  color: #fff; padding: 72px 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; top: -60%; right: -10%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.28), rgba(242, 169, 0, 0) 65%);
}
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink) 14px 28px);
}
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; position: relative; }
.cta-band p { color: var(--muted-light); margin-top: 14px; font-size: 18px; position: relative; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
.cta-actions .btn { width: 100%; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-card {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.c-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(242, 169, 0, 0.55); }
.c-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.c-icon svg { width: 28px; height: 28px; }
.c-icon.amber { background: var(--amber-soft); color: var(--amber-deep); }
.c-icon.green { background: rgba(31, 168, 85, 0.12); color: var(--whatsapp); }
.c-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.c-card .c-val { font-size: 18px; font-weight: 600; color: var(--text); }
.c-card .c-note { color: var(--muted); font-size: 15px; margin-top: 10px; }
.c-card .c-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--amber-deep); font-size: 15px; }
.c-card .c-go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.c-card:hover .c-go svg { transform: translateX(4px); }

.enquiry { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.enquiry h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 16px 0 18px; }
.enquiry > div > p { color: var(--muted); font-size: 18px; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--amber-deep); flex: none; margin-top: 2px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px var(--amber-soft);
}
.form .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ------------------------------------------------------------- footer */

.site-foot { background: var(--ink); color: var(--muted-light); padding: 80px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.foot-grid h4 { color: #fff; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-grid a { text-decoration: none; transition: color .2s ease; }
.foot-grid a:hover { color: var(--amber); }
.foot-about p { margin-top: 20px; max-width: 320px; }
.foot-contact li { display: flex; gap: 10px; align-items: center; }
.foot-contact svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.foot-bar {
  margin-top: 64px; border-top: 1px solid var(--line-dark); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px;
}

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31, 168, 85, 0.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ------------------------------------------------------------- reveal on scroll */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .btn, .pillar, .c-card, .g-item img { transition: none; }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .svc, .split, .enquiry { grid-template-columns: 1fr; gap: 44px; }
  .svc.flip .svc-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .step:nth-child(2)::after { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split-media { max-width: 520px; }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(14, 16, 20, 0.98); padding: 14px 20px 24px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-head { background: rgba(14, 16, 20, 0.98); }
  .nav a { padding: 13px 14px; font-size: 17px; }
  .nav .nav-call { margin: 10px 0 0; justify-content: center; padding: 14px; }
  .pillars, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-a { grid-column: span 2; grid-row: span 2; }
  .g-b, .g-c { grid-column: span 1; }
  .g-d, .g-e { grid-column: span 2; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .wrap { padding: 0 18px; }
  .hero { padding-bottom: 60px; }
  .hero-cta .btn { width: 100%; }
  .hero-tags { margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .badge-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 46px 24px 52px; border-radius: 16px; }
  .brand-name b { font-size: 18px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ------------------------------------------------------------- legal ( footer line, privacy page ) */
.foot-bar a { color: var(--muted-light); text-decoration: underline; text-underline-offset: 3px; }
.foot-bar a:hover { color: var(--amber); }
.foot-legal { font-size: 13px; color: #7b818d; padding: 0 0 26px; margin-top: -8px; }
.form-note a { color: var(--amber-deep); }

.legal-page .section { padding-top: calc(var(--head-h) + 70px); }
.legal-doc { max-width: 780px; }
.legal-doc h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; margin: 16px 0 8px; }
.legal-updated { color: var(--muted); font-size: 15px; margin-bottom: 34px; }
.legal-doc h2 { font-size: 24px; font-weight: 700; margin: 42px 0 12px; }
.legal-doc p, .legal-doc li { color: #3d424d; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul { padding-left: 20px; margin: 14px 0 0; display: grid; gap: 10px; }
.legal-doc a { color: var(--amber-deep); }

/* ------------------------------------------------------------- blog */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); }
.blog-all { text-align: center; margin-top: 40px; }

.blog-head {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  padding: calc(var(--head-h) + 64px) 0 60px;
}
.blog-head::before {
  content: ""; position: absolute; top: -40%; right: -8%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.22), rgba(242, 169, 0, 0) 65%);
}
.blog-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--ink) 12px 24px);
}
.blog-head .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-light); margin-bottom: 20px; }
.crumbs a { color: var(--amber); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.blog-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin: 14px 0 0; max-width: 22ch; }
.blog-head .lead { color: var(--muted-light); font-size: 18px; max-width: 640px; margin-top: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; color: var(--muted-light); font-weight: 500; }
.post-meta .cat { color: var(--amber); font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(242, 169, 0, 0.5); }
.post-card .thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .cat {
  position: absolute; left: 14px; bottom: 14px; background: var(--amber); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .rt { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--amber-deep); }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--amber-deep); text-decoration: none; }
.post-card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.post-card:hover .more svg { transform: translateX(4px); }

.article-section { padding-top: 64px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 36px; aspect-ratio: 16 / 9; background: var(--ink-3); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article { font-size: 18px; color: #333842; }
.article p { margin-bottom: 18px; }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 44px 0 14px; color: var(--text); }
.article h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.article ul, .article ol { margin: 0 0 22px; padding-left: 22px; display: grid; gap: 10px; }
.article li::marker { color: var(--amber-deep); font-weight: 700; }
.article strong { color: var(--text); }
.article a { color: var(--amber-deep); font-weight: 600; }
.article a:hover { color: var(--ink); }
.aside-box {
  position: sticky; top: calc(var(--head-h) + 24px); background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--amber);
}
.aside-box h3 { font-size: 22px; margin-bottom: 8px; }
.aside-box p { color: var(--muted-light); font-size: 15px; margin-bottom: 18px; }
.aside-box .btn { width: 100%; margin-top: 10px; }

@media (max-width: 1020px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
  .aside-box { position: static; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .article { font-size: 17px; }
  .blog-head { padding-bottom: 48px; }
}
