/* ============ Hasacon design system ============
   Brand: blue #2973B8 · grey #7A7D80 · Berlin Sans FB Demi (EN/numerals) · Be Vietnam Pro (VN/body)
   Vernacular: engineering drawing — hairlines, dimension ticks, title block. */

@font-face { font-family:'Berlin Sans FB Demi'; font-style:normal; font-weight:400 800; font-display:swap; src:url('/assets/fonts/BerlinSansFBDemi.woff2') format('woff2'); }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/BeVietnamPro-400-vietnamese.woff2') format('woff2'); unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/BeVietnamPro-400-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/BeVietnamPro-500-vietnamese.woff2') format('woff2'); unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/BeVietnamPro-500-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/BeVietnamPro-600-vietnamese.woff2') format('woff2'); unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/BeVietnamPro-600-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:800; font-display:swap; src:url('/assets/fonts/BeVietnamPro-800-vietnamese.woff2') format('woff2'); unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; font-style:normal; font-weight:800; font-display:swap; src:url('/assets/fonts/BeVietnamPro-800-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122; }

:root {
  --blue: #2973B8;
  --blue-deep: #1E5A94;
  --navy: #0E2A44;
  --navy-2: #12324F;
  --steel: #7A7D80;
  --logo-grey: #7A7D80;
  --ink: #18202A;
  --body: #3D4854;
  --paper: #FFFFFF;
  --paper-2: #F2F5F8;
  --line: #D9E1E8;
  --line-blue: #BCD4E8;
  --wire: #7FB4E0;
  --font-vn: 'Be Vietnam Pro', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, system-ui, sans-serif;
  --font-berlin: 'Berlin Sans FB Demi', 'Be Vietnam Pro', sans-serif;
  --wrap: 1180px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-vn); color: var(--body); background: var(--paper); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.22; font-weight: 800; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 18px; z-index: 200; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* eyebrow: dimension-tick label */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--blue); letter-spacing: .14em; font-size: 13.5px; margin-bottom: 14px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 9px; flex: none;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) 100% 0 / 1px 100% no-repeat; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 15.5px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(41,115,184,.28); }
.btn-solid:hover { background: var(--blue-deep); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--navy); }
.link-arrow { font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============ header ============ */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.hd-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.hd-logo { display: flex; align-items: center; gap: 10px; }
.hd-word { font-family: var(--font-berlin); font-size: 21px; letter-spacing: .02em; color: var(--steel); }
.hd-word b { color: var(--blue); font-weight: 400; }
.hd-nav { display: flex; gap: 26px; margin-left: auto; }
.hd-nav a { color: var(--ink); font-weight: 500; font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.hd-nav a:hover, .hd-nav a[aria-current] { border-bottom-color: var(--blue); }
.hd-right { display: flex; align-items: center; gap: 18px; }
.hd-lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 7px; padding: 2px; }
.hd-lang a { font-weight: 600; font-size: 12.5px; padding: 4px 9px; border-radius: 5px; color: var(--steel); }
.hd-lang a[aria-current] { background: var(--blue); color: #fff; }
.hd-cta { padding: 6px 16px; font-size: 14px; border-radius: 7px; box-shadow: none; }
.hd-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.hd-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }
.hd.scrolled, body:not(.page-home) .hd { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
/* transparent over dark hero */
body.page-home .hd:not(.scrolled):not(.open) .hd-nav a { color: #fff; }
body.page-home .hd:not(.scrolled):not(.open) .hd-word { color: #9BA1A6; }
body.page-home .hd:not(.scrolled):not(.open) .hd-lang { border-color: rgba(255,255,255,.35); }
body.page-home .hd:not(.scrolled):not(.open) .hd-lang a { color: rgba(255,255,255,.8); }
body.page-home .hd:not(.scrolled):not(.open) .hd-lang a[aria-current] { background: #fff; color: var(--navy); }
body.page-home .hd:not(.scrolled):not(.open) .hd-burger span { background: #fff; }
body.page-home .hd:not(.scrolled):not(.open) .hd-word b { color: #4E9BDD; }
body.page-home .hd:not(.scrolled):not(.open) .hd-logo rect { fill: #9BA1A6; }
body.page-home .hd:not(.scrolled):not(.open) .hd-logo rect:nth-child(2),
body.page-home .hd:not(.scrolled):not(.open) .hd-logo rect:nth-child(3) { fill: #4E9BDD; }

/* ============ hero ============ */
.hero { position: relative; min-height: min(94vh, 900px); display: flex; align-items: center; background: var(--navy); overflow: hidden; padding: 130px 0 90px; }
.hero-photo { position: absolute; inset: 0; background: url('/assets/img/hero.webp') center 30% / cover no-repeat; opacity: .5; filter: grayscale(.55) brightness(.75) contrast(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,42,68,.96) 22%, rgba(14,42,68,.55) 58%, rgba(20,58,94,.35) 100%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: absolute; inset: 0; opacity: .10; background:
  repeating-linear-gradient(0deg, transparent 0 63px, #9CC4E8 63px 64px),
  repeating-linear-gradient(90deg, transparent 0 63px, #9CC4E8 63px 64px); mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
.hero-in { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { color: var(--wire); }
.hero-eyebrow::before { background:
  linear-gradient(var(--wire), var(--wire)) 0 50% / 100% 1px no-repeat,
  linear-gradient(var(--wire), var(--wire)) 0 0 / 1px 100% no-repeat,
  linear-gradient(var(--wire), var(--wire)) 100% 0 / 1px 100% no-repeat; }
.hero-title { color: #fff; font-size: clamp(34px, 5.4vw, 62px); max-width: 15em; letter-spacing: -.015em; }
.hero-title span { display: block; }
.hero-title-accent { color: var(--wire); }
.hero-lead { color: rgba(255,255,255,.82); max-width: 560px; margin: 22px 0 30px; font-size: clamp(16px, 1.5vw, 18px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-sheet { font-weight: 500; position: absolute; right: 28px; bottom: 20px; z-index: 2; color: rgba(255,255,255,.4); font-size: 12px; letter-spacing: .18em; }

/* stats band */
.stats { background: var(--navy-2); border-top: 1px solid rgba(127,180,224,.25); }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.stat-num { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); color: #fff; line-height: 1; }
.stat-label { color: rgba(255,255,255,.62); font-size: 14px; margin-top: 6px; }

/* ============ sections ============ */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-alt { background: var(--paper-2); }
.sec-title { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.01em; max-width: 21em; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-lead { max-width: 420px; }

/* intro */
.intro-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro-copy p { margin-bottom: 16px; }
.intro-copy .sec-title { margin-bottom: 20px; }
.intro-quote { border-left: 3px solid var(--blue); padding: 8px 0 8px 28px; }
.intro-quote blockquote { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); color: var(--blue); line-height: 1.25; }
.intro-quote figcaption { margin-top: 18px; }
.intro-quote figcaption b { color: var(--ink); display: block; }
.intro-quote figcaption span { font-size: 14px; color: var(--steel); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14,42,68,.12); border-color: var(--line-blue); }
.svc-img { aspect-ratio: 16/10; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.svc-card:hover .svc-img img { transform: scale(1.045); }
.svc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-body h3 { font-size: 18px; }
.svc-body p { font-size: 14.5px; flex: 1; }
.svc-body .link-arrow { font-size: 14.5px; }

/* projects */
.prj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prj-card { display: block; }
.prj-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--line); }
.prj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prj-card:hover .prj-img img { transform: scale(1.04); }
.prj-meta { font-weight: 600; display: flex; gap: 16px; color: var(--blue); font-size: 13px; letter-spacing: .1em; margin: 14px 0 6px; text-transform: uppercase; }
.prj-card h3 { font-size: 17.5px; color: var(--ink); }
.prj-card:hover h3 { color: var(--blue); }

/* partners */
.partner-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 36px 0 20px; }
.partner-logo { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; min-height: 88px; }
.partner-logo img { max-height: 46px; width: auto; filter: grayscale(1) opacity(.6); transition: filter .2s ease; }
.partner-logo:hover img { filter: none; }
.partner-note { color: var(--steel); font-size: 14px; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.testi-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.testi-card blockquote { font-size: 15px; flex: 1; }
.testi-card figcaption { display: flex; gap: 12px; align-items: center; }
.testi-card figcaption img { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; }
.testi-card b { color: var(--ink); display: block; font-size: 14.5px; }
.testi-card span { font-size: 13px; color: var(--steel); }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,42,68,.1); }
.news-card h3 { font-size: 17px; }
.news-card p { font-size: 14.5px; color: var(--body); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { font-size: 14.5px; }
.news-note { margin-top: 18px; color: var(--steel); font-size: 14px; }

/* ============ CTA band + footer ============ */
.cta-band { background: linear-gradient(115deg, var(--blue-deep), var(--blue)); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-title { color: #fff; font-size: clamp(22px, 2.6vw, 30px); max-width: 21em; }
.cta-lead { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 480px; }
.cta-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-phone { color: #fff; display: flex; flex-direction: column; line-height: 1.3; }
.cta-phone span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cta-phone b { font-size: 22px; }

.ft { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 14.5px; }
.ft a { color: rgba(255,255,255,.72); display: block; margin-bottom: 10px; }
.ft a:hover { color: #fff; }
.ft-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.3fr); gap: 40px; margin-bottom: 48px; }
.ft-word { font-family: var(--font-berlin); color: #9BA1A6; font-size: 20px; margin: 14px 0 4px; }
.ft-word b { color: #4E9BDD; font-weight: 400; }
.ft-tagline { color: var(--wire); font-weight: 600; margin-bottom: 12px; }
.ft-co { font-size: 13.5px; }
.ft-col h3 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.ft-social { display: flex; gap: 16px; margin-top: 14px; }
.ft-social a { display: inline; }
.ft-titleblock { display: flex; border: 1px solid rgba(255,255,255,.25); font-weight: 500; font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.55); }
.ft-titleblock span { padding: 10px 18px; border-right: 1px solid rgba(255,255,255,.25); }
.ft-titleblock span:last-child { border-right: 0; margin-left: auto; }
.ft-copy { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ============ inner pages ============ */
.page-head { background: var(--navy); color: #fff; padding: 150px 0 64px; position: relative; overflow: hidden; }
.page-head .eyebrow { color: var(--wire); }
.page-head .eyebrow::before { background:
  linear-gradient(var(--wire), var(--wire)) 0 50% / 100% 1px no-repeat,
  linear-gradient(var(--wire), var(--wire)) 0 0 / 1px 100% no-repeat,
  linear-gradient(var(--wire), var(--wire)) 100% 0 / 1px 100% no-repeat; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 20em; }
.page-head .page-lead { color: rgba(255,255,255,.8); max-width: 620px; margin-top: 16px; }
.page-head-grid { position: absolute; inset: 0; opacity: .07; background:
  repeating-linear-gradient(0deg, transparent 0 63px, #9CC4E8 63px 64px),
  repeating-linear-gradient(90deg, transparent 0 63px, #9CC4E8 63px 64px); }
.page-head .wrap { position: relative; }

/* prose (articles, service body, project sections) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(21px, 2.4vw, 27px); margin: 40px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin-bottom: 15px; }
.prose ul, .prose ol { margin: 0 0 15px 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: var(--r); margin: 22px 0; border: 1px solid var(--line); }
.prose figure { margin: 22px 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: 13.5px; color: var(--steel); margin-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--blue); padding-left: 20px; color: var(--ink); margin: 22px 0; }

/* project detail */
.prj-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: -40px auto 56px; position: relative; z-index: 3; max-width: var(--wrap); }
.prj-spec { background: var(--paper); padding: 18px 20px; }
.prj-spec dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.prj-spec dd { color: var(--ink); font-weight: 600; margin-top: 4px; font-size: 15px; }
.prj-sec { margin-bottom: 40px; }
.prj-sec h2 { font-size: clamp(20px, 2.2vw, 25px); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.prj-sec h2::before { content: ""; width: 26px; height: 1px; background: var(--blue); flex: none; }
.prj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.prj-gallery a { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.prj-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.prj-gallery a:hover img { transform: scale(1.03); }
.prj-process { counter-reset: step; margin: 20px 0 0; list-style: none; }
.prj-process li { position: relative; padding: 0 0 18px 52px; margin: 0; }
.prj-process li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-weight: 700; color: var(--blue); font-size: 16px; }
.prj-process li::after { content: ""; position: absolute; left: 13px; top: 24px; bottom: 2px; width: 1px; background: var(--line-blue); }
.prj-process li:last-child::after { display: none; }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: var(--paper); color: var(--body); border-radius: 999px; padding: 8px 18px; font-family: var(--font-vn); font-size: 14px; cursor: pointer; transition: .15s; }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters button:hover:not([aria-pressed="true"]) { border-color: var(--blue); color: var(--blue); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-note { border-radius: 8px; padding: 14px 16px; font-size: 14.5px; display: none; }
.form-note.ok { display: block; background: #E8F6EC; color: #1C6B34; }
.form-note.err { display: block; background: #FCEDEA; color: #A2382A; }
.contact-info h2 { font-size: 20px; margin-bottom: 14px; }
.contact-info p, .contact-info a { margin-bottom: 10px; display: block; }
.contact-map { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; margin-top: 24px; aspect-ratio: 4/3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* article listing */
.art-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(10,20,32,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lb button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ============ responsive ============ */
@media (max-width: 1020px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prj-grid, .testi-grid, .news-grid, .art-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ft-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hd-nav { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 20px; box-shadow: 0 18px 30px rgba(14,42,68,.14); display: none; }
  .hd.open .hd-nav { display: flex; }
  .hd.open { background: #fff; }
  .hd-nav a { padding: 13px 0; border-bottom: 1px solid var(--paper-2); font-size: 16px; color: var(--ink); }
  .hd-cta { display: none; }
  .hd-burger { display: block; }
  .hd.open .hd-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hd.open .hd-burger span:nth-child(2) { opacity: 0; }
  .hd.open .hd-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid, .prj-grid, .testi-grid, .news-grid, .art-list { grid-template-columns: 1fr; }
  .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-sheet { display: none; }
  .ft-titleblock { flex-wrap: wrap; font-size: 10.5px; }
}
