:root {
  --ink: #172a38;
  --navy: #102d3e;
  --red: #a51e24;
  --coral: #ef5a46;
  --gold: #e9ae3f;
  --gold-light: #f6cd75;
  --paper: #f5f2ec;
  --muted: #667681;
  --line: #d8d3cb;
  --gradient-brand: linear-gradient(120deg, var(--red), var(--coral) 65%, var(--gold));
  --gradient-gold: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, #c9861f);
  --shadow-warm: 0 18px 40px -18px rgba(165, 30, 36, .45);
  --shadow-soft: 0 24px 48px -24px rgba(16, 45, 62, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 115px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand strong { font-family: 'Space Grotesk', sans-serif; }
h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0; }
h1, h2 { line-height: .98; letter-spacing: -1px; }
h1 { font-size: clamp(3.2rem, 7vw, 7.2rem); max-width: 800px; }
h2 { font-size: clamp(2.7rem, 5vw, 5.1rem); }
h1 em, h2 em { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: var(--gold); -webkit-text-fill-color: transparent; font-style: normal; }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(1160px, calc(100% - 80px)); margin: auto; }
.utility-bar { background: var(--navy); color: #b5c4ca; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.utility-inner { display: flex; justify-content: space-between; padding: 10px 0; }
.utility-links { display: flex; gap: 25px; }
.utility-links a, .footer a { color: inherit; text-decoration: none; }
.nav-wrap { height: 90px; display: flex; align-items: center; gap: 34px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,242,236,.97); box-shadow: 0 1px 0 rgba(23,42,56,.08); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--gradient-brand) border-box; color: var(--red); font-family: 'Space Grotesk'; font-size: 13px; font-weight: 700; letter-spacing: -1px; }
.brand strong { display: block; font-size: 22px; letter-spacing: 2px; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: 1.25px; }
.main-nav { display: flex; gap: 27px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 0; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a::after { position: absolute; content: ''; height: 2px; left: 0; right: 100%; bottom: 0; background: var(--red); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; font-weight: 700; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background-position .4s ease; }
.nav-cta { background: var(--gradient-brand); background-size: 160% 160%; background-position: 0% 50%; color: white; padding: 14px 19px; font-size: 13px; }
.nav-cta:hover { background-position: 100% 50%; box-shadow: var(--shadow-warm); transform: translateY(-2px); }
.nav-cta span, .button span { font-size: 18px; }
.menu-toggle { display: none; background: none; border: 0; }
.hero { position: relative; min-height: 650px; color: #fff; display: flex; align-items: center; overflow: hidden; background: #15384b; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: url('assets/images/banner/1.jpg') center / cover; filter: saturate(.8); transition: opacity .45s ease, background-image .45s ease; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,36,49,.94), rgba(12,36,49,.62) 45%, rgba(12,36,49,.12)), linear-gradient(0deg, rgba(9,25,33,.55), transparent 50%); }
.hero-content { padding-top: 35px; animation: hero-enter .8s ease both; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 25px; }
.hero-copy { max-width: 440px; color: #dbe2e2; margin-top: 26px; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.button { border: 0; padding: 17px 23px; cursor: pointer; font-family: inherit; font-size: 14px; }
.button-primary { background: var(--gradient-brand); background-size: 160% 160%; background-position: 0% 50%; color: white; }
.button-primary:hover { background-position: 100% 50%; box-shadow: var(--shadow-warm); transform: translateY(-2px); }
.text-link { color: white; font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--gold); margin-left: 10px; font-size: 19px; }
.hero-meta { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; align-items: center; gap: 15px; color: #bdcace; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.hero-stats { display: flex; gap: 42px; margin-top: 58px; }
.hero-stats div { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); }
.hero-stats strong { color: var(--gold); font: 700 28px/1 'Space Grotesk'; }
.hero-stats span { margin-top: 5px; color: #c4d0d2; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero-line { width: 100px; height: 1px; background: #82939a; }
.hero-line i { display: block; width: 30%; height: 1px; background: var(--gold); }
.section { padding: 70px 0 120px; }
.intro, .clients { background: #fff; }
.services { background: linear-gradient(180deg, #faf8f3, #f1ece1); }
.about-layout { display: grid; grid-template-columns: minmax(380px, .95fr) minmax(0, 1.05fr); gap: 78px; align-items: center; }
.about-visual { position: relative; width: min(100%, 510px); padding: 20px 15px 20px 28px; }
.about-visual img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; filter: saturate(.8); box-shadow: var(--shadow-soft); }
.about-frame { position: absolute; inset: 48px 0 0 0; border: 1px solid var(--gold); }
.experience-badge { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; width: 155px; height: 124px; padding: 18px; background: var(--gradient-gold); color: var(--navy); box-shadow: 0 20px 34px -16px rgba(233, 174, 63, .55); }
.experience-badge strong { font: 700 49px/1 'Barlow Condensed'; }
.experience-badge span { font-size: 10px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.about-content { max-width: 600px; }
.about-content .section-label { margin-bottom: 25px; }
.about-content h2 { margin-bottom: 25px; }
.about-lead, .about-copy { color: var(--muted); font-size: 16px; }
.about-lead { margin-bottom: 28px; }
.about-content blockquote { margin: 0 0 30px; padding: 2px 0 2px 32px; border-left: 3px solid var(--gold); color: var(--ink); font-size: 19px; font-style: italic; line-height: 1.5; }
.about-copy { margin-bottom: 25px; }
.quality-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin-bottom: 30px; }
.quality-list span { font-size: 13px; font-weight: 700; }
.quality-list span::before { content: '✓'; display: inline-block; margin-right: 9px; color: var(--gold); font-size: 20px; transform: rotate(-8deg); }
.about-link { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.about-link b { margin-left: 16px; color: var(--gold); font-size: 20px; }
.about-details { display: grid; grid-template-columns: .8fr 1.6fr; gap: 55px; margin-top: 100px; padding-top: 55px; border-top: 1px solid var(--line); }
.about-details article { min-width: 0; }
.about-details h3 { padding-bottom: 14px; border-bottom: 3px solid #b7c3d8; color: var(--ink); font-size: 30px; line-height: 1; }
.about-details p { color: var(--muted); font-size: 15px; }
.about-details p:first-of-type { margin-top: 20px; }
.about-details p + p { margin-top: 16px; }
.chairman-message { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 70px; align-items: start; margin-top: 125px; padding-top: 90px; border-top: 1px solid var(--line); }
.chairman-portrait { padding: 12px; border: 1px solid var(--gold); background: #fff; }
.chairman-portrait img { display: block; width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: top; }
.chairman-content { max-width: 760px; }
.chairman-content .section-label { margin-bottom: 18px; }
.chairman-content h3 { color: var(--red); font: 700 25px/1 'Barlow Condensed'; letter-spacing: .03em; }
.chairman-rule { width: 100%; height: 1px; margin: 18px 0 25px; background: #b5c1d8; }
.chairman-content p { color: var(--muted); font-size: 16px; }
.chairman-content p + p { margin-top: 16px; }
.chairman-content blockquote { margin: 24px 0; padding: 3px 0 3px 24px; border-left: 3px solid var(--gold); color: var(--ink); font-size: 18px; font-style: italic; line-height: 1.5; }
.section-label { display: flex; gap: 13px; align-items: flex-start; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.section-label span:first-child { font-family: 'Space Grotesk'; font-size: 15px; }
.intro-heading { position: relative; }
.intro-heading .circle-arrow { position: absolute; top: 3px; right: 10px; }
.circle-arrow { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid var(--line); border-radius: 50%; color: var(--red); text-decoration: none; }
.circle-arrow:hover, .service-grid article > a:hover, .back-top:hover { transform: translateY(-2px); }
.intro-copy, .section-head > p, .muted-copy { color: var(--muted); }
.intro-copy p + p { margin-top: 22px; }
.section-soft { background: #eae8e2; }
.industries-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; gap: 60px; }
.industry-heading { grid-template-columns: 1fr 1.5fr 1fr; margin-bottom: 48px; }
.industry-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 35px; }
.industry-cards article { position: relative; min-height: 300px; overflow: hidden; background: var(--navy); color: #fff; }
.industry-cards img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .62; transition: transform .5s ease, opacity .3s ease; }
.industry-cards article:hover img { transform: scale(1.05); opacity: .8; }
.industry-cards article > div { position: absolute; inset: auto 20px 20px; }
.industry-cards article > div > span { color: var(--gold); font: 12px 'Space Grotesk'; }
.industry-cards h3 { margin-top: 24px; font-size: 23px; line-height: 1; }
.industry-cards a { position: absolute; right: 0; bottom: 0; color: #fff; font-size: 22px; text-decoration: none; }
.muted-copy { max-width: 380px; margin-top: 24px; }
.industry-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #bbb8b0; }
.industry-list li { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #bbb8b0; padding: 15px 0; font-size: 15px; }
.industry-list li span, .service-number { color: var(--coral); font-family: 'Space Grotesk'; font-size: 13px; }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: end; gap: 45px; margin-bottom: 55px; }
.section-head > p { max-width: 280px; }
.section-head { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); grid-template-areas: 'label copy' 'title copy'; align-items: center; gap: 18px 70px; }
.section-head .section-label { grid-area: label; }
.section-head h2 { grid-area: title; max-width: 650px; font-size: clamp(3.2rem, 6vw, 5.6rem); }
.section-head > p { grid-area: copy; max-width: 430px; border-left: 4px solid var(--gold); padding: 2px 0 2px 25px; font-size: 18px; line-height: 1.55; }
.client-heading { grid-template-areas: 'label title'; }
.client-heading h2 { grid-area: title; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { position: relative; min-height: 300px; padding: 38px 32px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: box-shadow .3s ease, transform .3s ease, z-index 0s; }
.service-grid article:not(.service-custom):hover { position: relative; z-index: 1; box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon { display: grid; place-items: center; width: 59px; height: 59px; border: 1px solid #e5ded2; background: #f8f5ef; color: #d58b05; font: 32px/1 'Space Grotesk'; }
.service-grid h3 { margin: 28px 0 14px; font-size: 23px; line-height: 1.02; }
.service-grid h3 small { color: var(--muted); font: 15px 'DM Sans'; }
.service-grid p { max-width: 270px; color: var(--muted); font-size: 15px; }
.service-grid article > a { position: absolute; right: 32px; bottom: 30px; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #e5ded2; color: var(--ink); font-size: 22px; text-decoration: none; }
.service-grid article > a:hover { border-color: var(--gold); color: var(--red); }
.service-custom { background: var(--navy) !important; color: #fff; }
.service-custom .service-number { color: var(--gold); }
.service-custom h3 { margin-top: 42px; font-size: 24px; }
.service-custom p { color: #bfd0d2; }
.service-custom > a { border: 0; background: var(--gold); color: var(--navy); }
.section-dark, .contact { background: var(--navy); color: #fff; }
.project-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 45px; }
.light { color: var(--gold); }
.dark-copy { max-width: 450px; color: #b7c4c7; margin: 28px 0 37px; }
.button-outline { border: 1px solid #899ba0; color: #fff; background: transparent; }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.stat-block { display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid #49616b; padding-left: 30px; }
.stat-block strong { color: var(--gold); font-family: 'Space Grotesk'; font-size: 39px; line-height: 1; margin-bottom: 5px; }
.stat-block span { color: #b7c4c7; font-size: 12px; margin-bottom: 38px; }
.work { background: var(--paper); }
.project-register { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-register article { position: relative; min-height: 270px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy); color: #fff; transition: box-shadow .3s ease; }
.project-register img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .55; transition: transform .5s ease, opacity .3s ease; }
.project-register article:hover { z-index: 1; box-shadow: var(--shadow-soft); }
.project-register article:hover img { transform: scale(1.05); opacity: .75; }
.project-register article > div { position: absolute; right: 22px; bottom: 20px; left: 22px; }
.project-register article > div > span { color: var(--gold); font: 12px 'Space Grotesk'; }
.project-register h3 { margin-top: 32px; font-size: 25px; line-height: 1; }
.project-register p { color: #d1dbdc; margin-top: 7px; font-size: 12px; }
.project-register article > a { position: absolute; right: 20px; top: 18px; color: #fff; font-size: 22px; text-decoration: none; }
.clients-intro { display: flex; justify-content: space-between; align-items: start; gap: 45px; padding-bottom: 72px; border-bottom: 1px solid #e8e2d8; }
.clients-intro h2 { margin-top: 24px; font-size: clamp(3.5rem, 6vw, 5.6rem); }
.clients-proof { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; max-width: 390px; text-align: right; }
.clients-proof > p { padding-right: 20px; border-right: 3px solid var(--gold); color: var(--muted); font-size: 17px; }
.clients-proof > div { display: flex; align-items: center; gap: 15px; width: 220px; padding: 14px 18px; border: 1px solid var(--line); background: #fff; text-align: left; }
.clients-proof strong { color: #bc7710; font: 700 32px/1 'Barlow Condensed'; }
.clients-proof span { color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.client-register-head { display: flex; justify-content: space-between; align-items: center; margin: 38px 0 24px; }
.client-register-head h3 { color: var(--ink); font-size: 25px; }
.client-register-head small { color: var(--muted); font: 14px 'DM Sans'; }
.register-link { padding: 11px 19px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.register-link span { margin-left: 10px; color: var(--gold); font-size: 17px; }
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-grid div { position: relative; display: flex; justify-content: center; align-items: center; min-height: 255px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: box-shadow .3s ease, transform .3s ease; }
.client-grid div:hover { position: relative; z-index: 1; box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.client-grid div > span { position: absolute; top: 34px; left: 40px; color: var(--muted); font: 12px 'Space Grotesk'; letter-spacing: .1em; }
.client-grid img { display: block; width: 46%; height: 100px; object-fit: contain; mix-blend-mode: multiply; }
.contact { background: var(--red); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 120px; }
.contact h2 { margin-top: 20px; }
.contact > div > p { max-width: 350px; color: #f1caca; margin-top: 27px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact-form label { color: #f1caca; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-form label:nth-child(3) { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #d27778; outline: none; resize: vertical; background: transparent; color: #fff; font: 16px 'DM Sans'; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #fff; }
.contact-form .button { justify-self: start; }
.form-status { align-self: center; font-size: 12px; }
.footer { background: #10202a; color: #afbdc0; padding: 55px 0 20px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 35px; align-items: start; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { background: linear-gradient(#10202a, #10202a) padding-box, var(--gradient-brand) border-box; color: var(--gold); }
.brand-footer small { color: #afbdc0; }
.footer-title { color: var(--gold); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.back-top { color: #fff; text-decoration: none; text-align: right; }
.back-top span { color: var(--gold); font-size: 18px; margin-left: 8px; }
.copyright { display: flex; justify-content: space-between; border-top: 1px solid #30434c; margin-top: 50px; padding-top: 18px; color: #71838a; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .nav-wrap { gap: 20px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .nav-cta { padding: 12px 14px; }
}
@media (max-width: 900px) {
  .container { width: min(calc(100% - 40px), 650px); }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; flex-direction: column; gap: 4px; padding: 20px max(20px, calc((100% - 650px) / 2)); background: #fff; box-shadow: 0 12px 24px rgba(16,45,62,.12); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 8px; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { display: none; }
  .about-layout, .industries-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-visual { margin: auto; }
  .chairman-message { grid-template-columns: 220px minmax(0, 1fr); gap: 35px; margin-top: 85px; padding-top: 65px; }
  .about-details { gap: 35px; margin-top: 75px; }
  .intro-heading { max-width: 550px; }
  .section { padding: 50px 0 85px; }
  .section-head { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 25px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-block { display: grid; grid-template-columns: 1fr 2fr; align-items: center; border-top: 1px solid #49616b; border-left: 0; padding: 25px 0 0; }
  .stat-block span { margin: 0; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-intro { gap: 25px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .back-top { grid-column: 3; }
  .hero { min-height: 590px; }
  .industry-cards { grid-template-columns: 1fr 1fr; }
  .industry-cards article { min-height: 250px; }
  .project-register { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 36px); }
  .utility-inner { display: block; padding: 8px 0; font-size: 10px; }
  .utility-links { justify-content: space-between; gap: 15px; margin-top: 3px; }
  .nav-wrap { height: 74px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 7px; }
  .hero { min-height: 620px; }
  .hero-image { background-position: 62% center; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); letter-spacing: -1.5px; }
  .hero-copy { max-width: 340px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-meta { bottom: 20px; font-size: 9px; }
  .hero-stats { gap: 18px; margin-top: 45px; }
  .hero-stats strong { font-size: 23px; }
  .hero-stats span { font-size: 8px; }
  .hero-stats { margin-bottom: 46px; }
  .section { padding: 38px 0 72px; }
  .intro-heading h2, .industries h2, .section-head h2, .project-grid h2, .contact h2, .about-content h2 { font-size: clamp(2.35rem, 10vw, 3.5rem); letter-spacing: -.7px; }
  .intro-heading .circle-arrow { top: -10px; right: 0; }
  .section-head { display: block; margin-bottom: 35px; }
  .section-head h2 { margin: 20px 0; font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .section-head > p { max-width: 100%; margin-top: 25px; padding: 0 0 0 16px; font-size: 16px; }
  .section-head h2 { margin: 20px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 250px; padding: 25px 22px; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .service-grid article:last-child { border-bottom: 0 !important; }
  .service-grid h3 { margin-top: 23px; font-size: 18px; }
  .service-icon { width: 46px; height: 46px; font-size: 24px; }
  .service-grid p { font-size: 13px; }
  .service-grid article > a { right: 20px; bottom: 20px; width: 38px; height: 38px; }
  .service-custom h3 { margin-top: 35px; font-size: 20px; }
  .about-layout { gap: 40px; }
  .chairman-message { grid-template-columns: 1fr; gap: 35px; margin-top: 70px; padding-top: 55px; }
  .about-details { grid-template-columns: 1fr; gap: 38px; margin-top: 65px; padding-top: 40px; }
  .about-details h3 { font-size: 28px; }
  .chairman-portrait { width: min(100%, 270px); margin: auto; }
  .chairman-content h3 { font-size: 22px; }
  .chairman-content p { font-size: 15px; }
  .chairman-content blockquote { padding-left: 18px; font-size: 16px; }
  .about-visual { padding-left: 13px; padding-right: 8px; }
  .about-frame { inset: 35px 0 0 0; }
  .experience-badge { width: 132px; height: 104px; padding: 14px; }
  .experience-badge strong { font-size: 42px; }
  .about-content blockquote { padding-left: 20px; font-size: 16px; }
  .quality-list { gap: 10px 14px; }
  .client-heading { margin-bottom: 35px; }
  .clients-intro { display: block; padding-bottom: 45px; }
  .clients-intro h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .clients-proof { align-items: stretch; margin-top: 32px; text-align: left; }
  .clients-proof > p { padding: 0 0 0 16px; border-right: 0; border-left: 3px solid var(--gold); }
  .client-register-head { align-items: flex-start; gap: 18px; }
  .client-register-head h3 { font-size: 21px; }
  .register-link { white-space: nowrap; padding: 9px 12px; font-size: 10px; }
  .client-grid { grid-template-columns: 1fr; }
  .client-grid div { min-height: 185px; }
  .client-grid div > span { top: 20px; left: 22px; }
  .client-grid img { width: 52%; height: 80px; }
  .industry-heading { display: block; }
  .industry-heading h2 { margin: 20px 0; }
  .industry-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .industry-cards article { min-height: 205px; }
  .industry-cards h3 { font-size: 18px; }
  .project-register { grid-template-columns: 1fr; }
  .project-register article { min-height: 230px; }
  .client-grid div { min-height: 82px; }
  .contact-grid { gap: 45px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(3) { grid-column: auto; }
  .footer { padding-top: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .brand-footer { grid-column: 1 / -1; }
  .back-top { grid-column: 2; text-align: left; }
  .copyright { display: block; }
  .copyright span + span { display: block; margin-top: 6px; }
}

/* Keep tablet layouts spacious instead of shrinking desktop grids too far. */
@media (min-width: 651px) and (max-width: 1100px) {
  .container { width: min(calc(100% - 48px), 960px); }
  .nav-wrap { gap: 18px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid article:nth-child(2n) { border-right: 0; }
  .service-grid article:nth-child(-n+7) { border-bottom: 1px solid var(--line); }
  .section-head, .industry-heading { grid-template-columns: 1fr 1.5fr; gap: 25px; }
  .section-head > p, .industry-heading > p { grid-column: 2; }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .industry-cards article { min-height: 270px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-feature { min-height: 420px !important; }
}

@media (max-width: 650px) {
  .hero-stats { flex-wrap: wrap; }
  .hero-stats div { min-width: 82px; }
  .industry-cards { grid-template-columns: 1fr; }
  .industry-cards article { min-height: 230px; }
  .service-grid article:nth-child(2n) { border-right: 0 !important; }
  .service-grid article:nth-child(-n+7) { border-bottom: 1px solid var(--line) !important; }
  .service-grid article:last-child { border-bottom: 0 !important; }
  .work-grid, .work-stack { grid-template-columns: 1fr; }
  .work-stack { grid-template-rows: auto; }
}

/* Contact page treatment */
.contact-new { padding: 74px 0 90px; background: var(--red); }
.contact-new .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.contact-copy h2 { margin-top: 22px; font-size: clamp(3.2rem, 6.5vw, 5.25rem); }
.contact-copy > p { max-width: 34ch; margin-top: 22px; color: rgba(255,255,255,.82); font-size: 18px; }
.contact-essentials { margin-top: 44px; border-top: 1px solid #c0474b; }
.contact-essentials > div { display: flex; gap: 18px; padding: 17px 0; border-bottom: 1px solid #c0474b; }
.contact-essentials b { width: 70px; flex: none; padding-top: 3px; color: var(--gold); font: 11px 'Space Grotesk'; letter-spacing: .14em; text-transform: uppercase; }
.contact-essentials span { color: #fff; font-size: 15px; }
.contact-essentials small { display: block; color: rgba(255,255,255,.6); font-size: 12px; }
.contact-essentials a { color: #fff; text-decoration: none; }
.contact-form-card { padding: 38px; border-radius: 6px; background: #faf7f1; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.contact-form-card .form-body > h3 { font-size: 28px; }
.contact-form-card .form-body > p { margin: 5px 0 26px; color: var(--muted); font-size: 14px; }
.form-field, .form-row > label, .message-field { display: block; margin-bottom: 22px; }
.form-field > label, .form-row label, .message-field { color: var(--muted); font: 11px 'Space Grotesk'; letter-spacing: .1em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-row input, .message-field textarea { display: block; width: 100%; padding: 7px 2px 9px; border: 0; border-bottom: 2px solid var(--line); outline: none; background: transparent; color: var(--ink); font: 16px 'DM Sans'; }
.form-row input:focus, .message-field textarea:focus { border-color: var(--red); }
.form-row small { color: #a9b2ba; letter-spacing: 0; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 40px; background: #fff; color: var(--muted); cursor: pointer; font: 12px 'Space Grotesk'; }
.chip { transition: border-color .2s ease, background .2s ease, color .2s ease; }
.chip:hover { border-color: var(--red); }
.chip.active { border-color: transparent; background: var(--gradient-brand); color: #fff; }
.message-field textarea { min-height: 74px; resize: vertical; }
.form-submit { width: 100%; background: var(--gradient-brand); background-size: 160% 160%; background-position: 0% 50%; color: #fff; transition: transform .25s ease, box-shadow .25s ease, background-position .4s ease; }
.form-submit:hover { background-position: 100% 50%; box-shadow: var(--shadow-warm); transform: translateY(-2px); }
.form-assure { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: var(--muted); font-size: 12px; }
.form-assure i { width: 7px; height: 7px; border-radius: 50%; background: #3aa76d; }
.form-status { color: var(--red); font-size: 12px; }
.form-success { display: none; padding: 25px 5px; text-align: center; }
.contact-form-card.done .form-body { display: none; }
.contact-form-card.done .form-success { display: block; }
.form-success > strong { display: grid; place-items: center; width: 56px; height: 56px; margin: auto auto 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: 25px; }
.form-success h3 { font-size: 24px; }
.form-success p { margin-top: 8px; color: var(--muted); }
.process { padding: 66px 0; background: var(--navy); color: #fff; }
.process-label { margin-bottom: 34px; color: var(--gold); font: 11px 'Space Grotesk'; letter-spacing: .2em; text-transform: uppercase; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.process-grid article { padding: 8px 34px 8px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.process-grid article:first-child { padding-left: 0; border-left: 0; }
.process-grid article > b { color: var(--gold); font: 700 15px 'Space Grotesk'; }
.process-grid h3 { margin: 12px 0 8px; color: #fff; font-size: 25px; }
.process-grid p { max-width: 30ch; color: rgba(255,255,255,.66); font-size: 14px; }
@media (max-width: 900px) {
  .contact-new .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article:first-child { padding: 22px 0 0; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .process-grid article:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
}
@media (max-width: 560px) {
  .contact-new { padding: 58px 0 70px; }
  .contact-form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-copy > p { font-size: 16px; }
}

@media (min-width: 651px) {
  .section-head { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); grid-template-areas: 'label copy' 'title copy'; }
  .section-head .section-label { grid-area: label; }
  .section-head h2 { grid-area: title; }
  .section-head > p { grid-area: copy; grid-column: auto; }
  .client-heading { grid-template-areas: 'label title'; }
  .client-heading h2 { grid-area: title; }
}
