/* =========================================================
   YUZU Digital Solution — Company Website
   ========================================================= */

:root {
  /* Brand (CI) */
  --yellow: #F7D61B;
  --yellow-light: #F9EB24;
  --orange: #F4AE0D;
  --yellow-shadow: #D9A90A;
  --teal: #00A888;
  --teal-dark: #007A62;
  --teal-bright: #00C79F;
  --ink: #231F20;
  --charcoal: #2E2B2C;

  /* Neutrals */
  --white: #FFFFFF;
  --paper: #FAF9F7;
  --sand: #F2F0EC;
  --line: #EEECE8;
  --line-2: #E0DCD9;
  --grey-1: #CFCACB;
  --grey-2: #8C8687;
  --grey-3: #6E6869;
  --grey-4: #5A5455;
  --grey-5: #4A4445;

  /* Type */
  --font-head: 'Montserrat', 'Anuphan', sans-serif;
  --font-body: 'Montserrat', 'Noto Sans Thai', sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.brand-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--yellow-light) 0%, var(--orange) 70%, var(--teal) 70%, var(--teal) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 16px 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 var(--yellow-shadow); }
.btn-primary:hover { color: var(--ink); }
.btn-outline { background: var(--white); border: 1px solid #D6D2CF; padding: 15px 28px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); }
.btn-dark-yellow { background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 17px; padding: 20px 34px; }
.btn-dark-yellow:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.site-header .container {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header .logo img { height: 46px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; padding: 10px 0; color: #3A3536; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 12px 22px; font-size: 15px; }

.lang-switch { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; cursor: pointer; min-width: 44px; min-height: 36px; border-radius: 999px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  background: transparent; color: var(--grey-4);
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); font-weight: 700; }

/* ---------- Section labels ---------- */
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--teal-dark);
}
.section-label .num { font-family: 'Montserrat', sans-serif; color: var(--ink); }
.section-label .dash { width: 32px; height: 2px; background: var(--yellow); }
.on-dark .section-label { color: var(--yellow); }
.on-dark .section-label .num { color: var(--white); }

.title-bar { width: 72px; height: 8px; background: var(--yellow); margin-top: 22px; }
.section-title { margin-top: 18px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; line-height: 1.2; }
.section-title.xl { margin-top: 20px; font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; line-height: 1.1; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-grid-bg {
  position: absolute; inset: 0; width: 100%; height: 640px; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 0%, transparent 75%);
}
.hero .container { position: relative; padding-top: 88px; }
.hero-top { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-end; justify-content: space-between; }
.hero-text { flex: 999 1 600px; min-width: 0; }
.hero-side { flex: 1 1 340px; min-width: 0; padding-bottom: 6px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--grey-4);
  background: var(--white); border: 1px solid var(--line); padding: 8px 16px 8px 10px; border-radius: 999px;
}
.hero h1 { margin-top: 30px; font-size: clamp(38px, 5vw, 70px); line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; }
.hero h1 .line-a { display: block; }
.hero h1 .line-b { position: relative; display: inline-block; }
.hero h1 .line-b svg { position: absolute; left: -1%; bottom: -12px; width: 102%; height: 20px; }
.hero-sub { font-size: 18px; line-height: 1.75; color: var(--grey-4); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-panels { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 20px; }
.hero-panels .col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { margin: 0; border-radius: 26px; position: relative; overflow: hidden; }
.panel.big { flex: 1.6 1 520px; min-width: 0; height: 540px; background: var(--yellow); color: var(--ink); }
.panel.small { flex: 1 1 0; min-height: 260px; }
.panel.teal { background: #00876D; color: var(--white); }
.panel.dark { background: var(--ink); color: var(--white); }
.panel svg { position: absolute; }
.panel.big svg { right: -10px; top: -20px; width: 460px; height: 460px; max-width: 90%; }
.panel.teal svg { right: -50px; top: -60px; width: 270px; height: 270px; }
.panel.dark svg { right: -40px; top: -50px; width: 260px; height: 260px; }
.panel figcaption { position: absolute; left: 26px; right: 26px; bottom: 22px; }
.panel.big figcaption { left: 30px; right: 30px; bottom: 28px; }
.panel .p-num { display: block; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 2px; opacity: .7; }
.panel .p-cap { display: block; margin-top: 6px; font-family: var(--font-head); font-weight: 700; line-height: 1.15; font-size: 24px; }
.panel.big .p-cap { font-size: 40px; }
.panel .p-sub { display: block; margin-top: 10px; opacity: .85; font-size: 14px; }
.panel.big .p-sub { font-size: 16px; }

/* ---------- Project types strip ---------- */
.types { padding-top: 76px; }
.types-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--grey-2); }
.types-list {
  margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
  font-size: 17px; font-weight: 500; color: var(--grey-4);
  padding: 22px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2);
}
.types-list span { display: inline-flex; align-items: center; gap: 10px; }
.hex-dot { width: 10px; height: 11px; flex-shrink: 0; }

/* ---------- About ---------- */
.about { padding-top: 140px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.about-head, .about-text { min-width: 0; }
.about-text p { margin-top: 0; font-size: 18px; line-height: 1.8; color: var(--grey-4); }
.about-visual { flex: 1 1 460px; min-width: 0; position: relative; padding: 0 0 36px 36px; }
.about-visual .dots {
  position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; border-radius: 24px;
  background-image: radial-gradient(#D6D2CF 1.4px, transparent 1.4px); background-size: 16px 16px;
}
.about-visual figure {
  position: relative; margin: 0; height: 440px; border-radius: 24px; background: var(--sand);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about-visual figure img { width: 100%; height: 100%; object-fit: cover; }
.about-visual figure .ph { position: relative; font-size: 15px; color: var(--grey-2); }
.about-visual .bg-cube { position: absolute; right: -80px; top: -60px; width: 380px; height: 380px; opacity: .5; }
.since-badge {
  position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--white);
  border-radius: 18px; padding: 20px 24px; box-shadow: 0 18px 40px rgba(35,31,32,.18); transform: rotate(-2deg);
}
.since-badge .lbl { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--yellow); }
.since-badge .yr { margin-top: 4px; font-family: 'Montserrat', sans-serif; font-size: 34px; font-weight: 800; }
.sticker {
  position: absolute; right: -10px; top: -14px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--yellow); display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 1px;
  text-align: center; line-height: 1.25; transform: rotate(12deg);
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 88px; border-top: 1px solid var(--ink); }
.stat { padding: 30px 24px 0 0; }
.stat .n {
  display: inline-block; font-size: 48px; font-weight: 800; letter-spacing: -1px; padding: 0 4px;
  background: linear-gradient(transparent 62%, #FFF0A0 62%, #FFF0A0 92%, transparent 92%);
}
.stat .l { margin-top: 10px; font-size: 15px; color: var(--grey-4); }

/* ---------- Services ---------- */
.services { margin-top: 150px; background: var(--charcoal); color: var(--white); }
.services .container { padding-top: 110px; padding-bottom: 120px; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; }
.section-head .left { max-width: 760px; }
.services .section-title.xl { font-size: clamp(36px, 4.4vw, 56px); }
.section-intro { max-width: 380px; font-size: 16px; line-height: 1.7; color: #D3CFD0; }

.svc-group { margin-top: 56px; }
.svc-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 20px; }
.svc-mark {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800;
}
.svc-mark.a { background: var(--yellow); color: var(--ink); }
.svc-mark.b { background: var(--teal); color: var(--white); }
.svc-mark.c { background: var(--white); color: var(--ink); }
.svc-group-head h3 { font-size: 24px; font-weight: 800; letter-spacing: 1.5px; }
.svc-group-head .rule { flex: 1 1 60px; height: 0; border-top: 1px solid rgba(255,255,255,.22); }
.svc-group-head .count { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: #D3CFD0; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr)); gap: 14px; }
.svc-card {
  border-radius: 16px; padding: 24px 28px; display: flex; flex-direction: column; gap: 16px;
  background: var(--white); color: var(--ink);
}
.svc-card .head { display: flex; align-items: baseline; gap: 10px; }
.svc-card .num { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 800; color: #B5AFB0; }
.svc-card h4 { margin: 0; font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1.3; }
.svc-card .desc {
  margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--grey-5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-card .tags { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 14px; padding: 6px 13px; border-radius: 999px; background: var(--sand); color: #3A3536; }

/* ---------- Work ---------- */
.work { padding-top: 150px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; margin-top: 56px; }
.sector-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(30px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 18px;
}
.sector-card > * { position: relative; }
.sector-card .deco { position: absolute; }
.sector-card.gov { background: linear-gradient(135deg, var(--yellow-light) 0%, var(--orange) 100%); color: var(--ink); }
.sector-card.gov .deco { right: -60px; top: -60px; width: 240px; height: 240px; }
.sector-card.priv { background: var(--ink); color: var(--white); }
.sector-card.priv .deco { right: -40px; top: -70px; width: 220px; height: 220px; }
.sector-card .kicker { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 3px; }
.sector-card.priv .kicker { color: var(--teal-bright); }
.sector-card h3 { font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; }
.sector-card.priv h3 { color: var(--yellow); }
.sector-card .desc { font-size: 17px; line-height: 1.7; max-width: 460px; }
.sector-card.priv .desc { color: #E4E0E1; }
.sector-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; margin-top: 10px; }
.sector-card.gov .sector-list { border-top: 2px solid var(--ink); }
.sector-card.priv .sector-list { border-top: 2px solid var(--yellow); }
.sector-list > span { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 15px; font-weight: 600; }
.sector-card.gov .sector-list > span { border-bottom: 1px solid rgba(35,31,32,.25); }
.sector-card.priv .sector-list > span { border-bottom: 1px solid var(--grey-5); }
.diamond { flex-shrink: 0; width: 8px; height: 8px; transform: rotate(45deg); }
.sector-card.gov .diamond { background: var(--ink); }
.sector-card.priv .diamond { background: var(--teal); }

.portfolio-cta {
  grid-column: 1 / -1; border-radius: 28px; background: var(--white); border: 2px solid var(--ink);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px;
}
.portfolio-cta svg { flex-shrink: 0; }
.portfolio-cta .text { flex: 999 1 380px; min-width: 0; }
.portfolio-cta h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; line-height: 1.2; }
.portfolio-cta p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--grey-4); }

/* ---------- Vision & Mission ---------- */
.vision { position: relative; margin-top: 150px; background: var(--ink); color: var(--white); overflow: hidden; }
.vision .bg-cube { position: absolute; right: -120px; bottom: -160px; width: 620px; height: 620px; opacity: .12; }
.vision .container { position: relative; padding-top: 120px; padding-bottom: 120px; }
.vision-quote { display: flex; gap: 28px; align-items: flex-start; margin-top: 32px; }
.vision-quote svg { flex-shrink: 0; margin-top: 8px; }
.vision-quote p { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; line-height: 1.38; max-width: 1000px; }
.mission-label { margin-top: 100px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--yellow); }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.mission { background: #2E2A2B; border: 1px solid #3E393A; border-radius: 20px; padding: 28px; }
.mission h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 700; }
.mission p { font-size: 15px; line-height: 1.7; color: var(--grey-1); }
.hex-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 48px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; color: var(--ink); background: var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Process ---------- */
.process { padding-top: 150px; }
.process .head { max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 0; margin-top: 56px; }
.step { padding-right: 24px; }
.step .top { display: flex; align-items: center; gap: 12px; }
.step .hex-num { width: 52px; height: 58px; font-size: 15px; }
.step .dashes { flex-grow: 1; height: 0; border-top: 2px dashed #D6D2CF; }
.step h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.7; color: var(--grey-4); }

/* ---------- Contact ---------- */
.contact { padding-top: 150px; padding-bottom: 120px; }
.contact-box {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-radius: 32px;
  padding: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
}
.contact-box .top-bar {
  position: absolute; left: 0; top: 0; width: 100%; height: 8px;
  background: linear-gradient(90deg, var(--yellow-light) 0%, var(--orange) 70%, var(--teal) 70%, var(--teal) 100%);
}
.contact-box .bg-cube { position: absolute; right: -60px; bottom: -120px; width: 420px; height: 420px; opacity: .2; }
.contact-box .text { position: relative; flex: 999 1 480px; min-width: 0; }
.contact-box .text img { height: 56px; width: auto; margin-bottom: 28px; }
.contact-box h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.2; }
.contact-box .text p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--grey-1); }
.contact-box .actions { position: relative; flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-box .actions .btn { text-align: center; padding: 18px 28px; }
.contact-box .actions > span { text-align: center; font-size: 15px; color: var(--grey-1); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-cols { padding-top: 56px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-cols > div { min-width: 0; }
.footer-cols .brand { flex: 1 1 260px; }
.footer-cols .brand img { height: 52px; width: auto; }
.footer-cols .brand p { margin-top: 18px; font-size: 15px; line-height: 1.7; color: var(--grey-3); max-width: 300px; }
.footer-cols .col { flex: 1 1 180px; }
.footer-cols .col-title { margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.footer-cols .links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--grey-4); }
.footer-cols .links a { text-decoration: none; color: var(--grey-4); }
.footer-bottom {
  padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--grey-2);
}
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Responsive ---------- */
section[id] { scroll-margin-top: 96px; }
.nav-contact { display: none; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--white); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Tablet & phone: collapsible menu */
@media (max-width: 960px) {
  .site-header .container { padding-top: 12px; padding-bottom: 12px; position: relative; }
  .site-header .logo img { height: 40px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -18px rgba(35,31,32,.25);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero .container { padding-top: 56px; }
  .hero-panels { margin-top: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats { margin-top: 64px; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .header-cta { display: none; }
  .nav-contact { display: block; font-weight: 700; color: var(--teal-dark); }
  .lang-switch button { min-width: 40px; }

  .hero h1 { font-size: 34px; margin-top: 22px; }
  .hero h1 .line-b svg { bottom: -8px; height: 14px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas .btn { flex: 1 1 auto; text-align: center; }
  .eyebrow { font-size: 11px; letter-spacing: 1.5px; }

  .panel.big { height: 360px; }
  .panel.big svg { width: 300px; height: 300px; }
  .panel.big .p-cap { font-size: 28px; }
  .panel.small { min-height: 220px; }

  .types { padding-top: 56px; }
  .types-list { gap: 10px 20px; font-size: 14px; justify-content: flex-start; }

  .about, .work, .process { padding-top: 88px; }
  .about-text p { font-size: 16px; }
  .about-visual { padding: 0 0 28px 20px; }
  .about-visual figure { height: 300px; }
  .sticker { width: 76px; height: 76px; font-size: 10px; right: 0; }
  .since-badge .yr { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat .n { font-size: 34px; }

  .services, .vision { margin-top: 88px; }
  .services .container { padding-top: 80px; padding-bottom: 88px; }
  .svc-group { margin-top: 44px; }
  .svc-group-head h3 { font-size: 18px; }
  .svc-card { padding: 20px; }
  .svc-card h4 { font-size: 20px; }
  .svc-card .desc { font-size: 15px; -webkit-line-clamp: 3; }
  .tag { font-size: 13px; padding: 5px 11px; }

  .work-grid { margin-top: 40px; }
  .sector-card h3 { font-size: 32px; }
  .sector-list { grid-template-columns: 1fr; }
  .portfolio-cta .btn { width: 100%; text-align: center; }

  .vision .container { padding-top: 88px; padding-bottom: 88px; }
  .vision-quote { gap: 16px; }
  .vision-quote svg { width: 40px; height: 40px; }
  .vision-quote p { font-size: 24px; }
  .mission-label { margin-top: 64px; }

  .steps { margin-top: 40px; gap: 28px; }
  .step .dashes { display: none; }

  .contact { padding-top: 88px; padding-bottom: 80px; }
  .contact-box { border-radius: 24px; }
  .contact-box .text img { height: 44px; margin-bottom: 20px; }

  .footer-cols { gap: 28px; padding-top: 44px; }
  .footer-cols .col { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .menu-toggle span { transition: none; }
}

/* ---------- Footer extras + cookie bar ---------- */
.footer-cols .brand p.tax { margin-top: 8px; font-size: 13px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-box .actions span a { color: inherit; white-space: nowrap; text-decoration: none; }
.contact-box .actions span a:hover { text-decoration: underline; }
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 760px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(35, 31, 32, .14);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { flex: 1 1 320px; font-size: 14px; line-height: 1.6; color: var(--grey-4); }
.cookie-bar p a { color: var(--teal-dark, #007A62); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 14px; }

.eyebrow-mark { height: 24px; width: auto; display: block; }

/* ---------- Portfolio request dialog ---------- */
.pf-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 24px 64px rgba(35,31,32,.25); }
.pf-dialog::backdrop { background: rgba(35,31,32,.55); }
.pf-form { position: relative; padding: 32px 28px 28px; border-top: 6px solid var(--yellow); }
.pf-form h3 { font-size: 26px; font-weight: 800; line-height: 1.25; padding-right: 32px; }
.pf-lead { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--grey-4); }
.pf-form label { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--grey-5); }
.pf-form input[type=text], .pf-form input[type=email], .pf-form input[type=tel], .pf-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper);
}
.pf-form input:focus, .pf-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; background: var(--white); }
.pf-form textarea { resize: vertical; }
.pf-form .pf-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.pf-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.pf-consent a { color: var(--teal-dark); text-decoration: underline; }
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pf-status { min-height: 1.4em; margin-top: 14px; font-size: 14px; }
.pf-status.err { color: #B42318; }
.pf-submit { width: 100%; margin-top: 6px; text-align: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 16px; }
.pf-submit:disabled { opacity: .6; cursor: wait; }
.pf-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; color: var(--grey-4); }
.pf-done p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--grey-4); }
.pf-done .btn { margin-top: 22px; cursor: pointer; font: inherit; }
.pf-form label[hidden] { display: none; }
