:root {
  --primary: #2c2c2b;
  --accent: #2b5672;
  --accent-light: #a8cee5;
  --ink: #1b2023;
  --paper: #f7f7f4;
  --line: #dedfda;
  --muted: #5d5d61;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { color: var(--ink); background: var(--paper); font-size: 1.05rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
.container { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { max-width: 70ch; }
h1 em, h2 em { color: var(--accent); font-style: italic; }
.eyebrow { color: var(--accent); font-size: .73rem; font-weight: 800; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.section-intro { max-width: 690px; margin-bottom: 38px; }
.section-intro .eyebrow, .section-heading-row .eyebrow, .about .eyebrow, .faq .eyebrow { margin-bottom: 13px; }
.section-intro > p:last-child:not(.eyebrow) { margin-top: 16px; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 26px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.button:hover { background: #20445d; border-color: #20445d; transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0,0,0,.16); }
.button-small { padding: 11px 17px; font-size: .83rem; }
.button-ghost { border-color: rgba(255,255,255,.62); background: transparent; color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.brand img { width: 49px; max-height: 46px; object-fit: contain; flex: 0 0 auto; }
.brand:hover span { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-email { font-size: .88rem; font-weight: 700; }
.header-email:hover { color: var(--accent); }

.hero { position: relative; display: flex; align-items: center; min-height: 670px; overflow: hidden; isolation: isolate; background: var(--primary); color: #fff; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(19,23,27,.96) 0%, rgba(19,23,27,.88) 35%, rgba(19,23,27,.52) 68%, rgba(19,23,27,.34) 100%);
}
.hero-inner { width: 100%; padding-block: 95px; }
.hero-content { max-width: 760px; }
.hero .eyebrow { margin-bottom: 23px; color: var(--accent-light); }
.hero h1 { max-width: 730px; }
.hero h1 em, .contact h2 em { color: var(--accent-light); }
.hero-lede { max-width: 610px; margin-top: 27px; color: #e2e6e8; font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero .button:not(.button-ghost) { background: #e8f2f7; border-color: #e8f2f7; color: #173b53; }
.hero .button:not(.button-ghost):hover { background: #cce3ee; border-color: #cce3ee; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 23px; padding: 25px 0 0; margin-top: 41px; border-top: 1px solid rgba(255,255,255,.24); list-style: none; color: #e9eff2; font-size: .85rem; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--accent-light); font-weight: 800; }

.credibility { background: var(--paper); }
.credibility-grid, .audience-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 26px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.05); transition: transform 150ms ease, box-shadow 150ms ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.card-index { display: block; margin-bottom: 31px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.card p { margin-top: 11px; color: var(--muted); font-size: .96rem; line-height: 1.55; }

.portfolio { background: #fff; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading-row > p { max-width: 380px; color: var(--muted); font-size: .98rem; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.gallery-image { height: 310px; overflow: hidden; border-radius: 13px; background: var(--paper); }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.gallery-image:hover img { transform: scale(1.035); }

.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { min-height: 210px; }
.service-line { display: block; width: 32px; height: 3px; margin-bottom: 38px; border-radius: 3px; background: var(--accent); }
.section-cta { margin-top: 34px; text-align: center; }
.section-cta p { margin: 13px auto 0; color: var(--muted); font-size: .91rem; }
.section-cta p a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.section-cta p a:hover { color: var(--ink); }

.audience { background: #fff; }
.audience-card h3 { margin-bottom: 18px; }
.check-list { display: grid; gap: 11px; padding: 0; list-style: none; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); }
.about-copy { padding-top: 7px; }
.about-name { margin-bottom: 18px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.about-copy > p:not(.about-name) { margin-bottom: 16px; }
.text-link { display: inline-flex; gap: 12px; margin-top: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: .95rem; font-weight: 700; overflow-wrap: anywhere; }
.text-link:hover { color: var(--ink); border-color: var(--ink); }

.process { background: #fff; }
.process-card .step-number { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 25px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1rem; font-weight: 700; }

.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px, 7vw, 95px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 35px 20px 0; cursor: pointer; font-size: 1rem; font-weight: 700; line-height: 1.45; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 150ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 35px 21px 0; color: var(--muted); font-size: .96rem; }
.faq-list details p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.contact { background: var(--primary); color: #fff; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(38px, 7vw, 90px); }
.contact .eyebrow { margin-bottom: 15px; color: var(--accent-light); }
.contact-copy { padding-top: 17px; }
.contact-copy p:last-child { margin-top: 23px; color: #d9dfe2; }
.contact-copy a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-light); text-underline-offset: 4px; overflow-wrap: anywhere; }
.form-card { padding: clamp(24px, 4vw, 38px); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.13); }
.form-card h3 { margin-bottom: 23px; font-size: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 700; line-height: 1.35; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #cbd0d1; border-radius: 10px; background: #fff; color: var(--ink); font-size: .95rem; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(43,86,114,.25); border-color: var(--accent); }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.site-footer { padding-top: 53px; background: #232323; color: #e5e5e2; }
.footer-main { display: flex; align-items: start; justify-content: space-between; gap: 36px; padding-bottom: 45px; }
.footer-brand { color: #fff; }
.footer-main p { max-width: 360px; margin-top: 16px; color: #bbbfbe; font-size: .91rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-contact span { font-size: .91rem; }
.footer-contact > a:not(.button) { font-size: .94rem; overflow-wrap: anywhere; }
.footer-contact > a:not(.button):hover, .footer-bottom a:hover { color: var(--accent-light); }
.footer-contact .button { margin-top: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 19px 27px; border-top: 1px solid rgba(255,255,255,.14); color: #b6b9b7; font-size: .8rem; }
.footer-bottom small { font-size: inherit; }

@media (max-width: 900px) {
  .hero { min-height: 620px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(19,23,27,.94), rgba(19,23,27,.66)); }
  .credibility-grid, .services-grid, .audience-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-image:last-child { grid-column: 1 / -1; }
  .about-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-copy { padding-top: 0; }
}

@media (max-width: 640px) {
  .section { padding-block: 56px; }
  .container { padding-inline: 20px; }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand { gap: 8px; font-size: .87rem; }
  .brand img { width: 37px; max-height: 38px; }
  .header-actions { gap: 0; }
  .header-email { display: none; }
  .site-header .button { max-width: 165px; padding: 9px 10px; font-size: .72rem; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 82px 65px; }
  .hero-media img { object-position: 60% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(19,23,27,.92), rgba(19,23,27,.74)), linear-gradient(0deg, rgba(19,23,27,.5), transparent); }
  .hero-lede { margin-top: 21px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .trust-list { gap: 9px 16px; margin-top: 30px; }
  .trust-list li { flex: 1 1 42%; }
  .credibility-grid, .services-grid, .gallery-grid, .audience-grid, .process-grid { grid-template-columns: 1fr; }
  .gallery-image, .gallery-image:last-child { grid-column: auto; height: 285px; }
  .section-heading-row { display: block; }
  .section-heading-row > p { margin-top: 15px; }
  .card-index { margin-bottom: 19px; }
  .service-card { min-height: 0; }
  .service-line { margin-bottom: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}