:root {
  --navy: #052c56;
  --navy-2: #07468b;
  --blue: #07468b;
  --blue-light: #3f7fb6;
  --green: #0f6838;
  --green-dark: #0a512b;
  --gold: #5d9bc4;
  --ink: #102235;
  --muted: #566878;
  --line: #d8e3e9;
  --soft: #f3f7f8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(5, 44, 86, 0.12);
  --shadow-soft: 0 12px 34px rgba(5, 44, 86, 0.08);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; color: var(--white); background: var(--blue); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(7,70,139,.35); outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head h2, .page-hero h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-dark .section-head h2 { color: var(--white); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #cbd5df; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(11, 27, 46, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 10px 32px rgba(5,44,86,.09); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { width: 182px; margin-right: auto; transition: transform .2s ease; }
.brand:hover { transform: translateY(-1px); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { position: relative; color: #2a3744; font-size: .92rem; font-weight: 650; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.language-link:hover { border-color: rgba(7,70,139,.35); color: var(--blue); background: #f3f8fc; }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(105deg, var(--blue), var(--green));
  box-shadow: 0 8px 24px rgba(23, 98, 154, .22);
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta { min-height: 42px; padding-inline: 18px; font-size: .86rem; }
.button:hover, .header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 98, 154, .28); }
.button-secondary { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.09); box-shadow: none; }
.button-light { color: var(--navy); background: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy);
  background-image: url("hero.jpg");
  background-image: image-set(url("hero.webp") type("image/webp"), url("hero.jpg") type("image/jpeg"));
  background-position: center 54%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,28,54,.96) 0%, rgba(5,44,86,.82) 48%, rgba(5,44,86,.34) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(6,21,36,.45), transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 112px 0 96px; }
.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.3vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero h1 span { color: #84d2a7; }
.hero p { max-width: 710px; margin: 0 0 34px; color: #e7eef4; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { position: absolute; z-index: 2; right: max(20px, calc((100vw - var(--max)) / 2)); bottom: 34px; color: #dce8ef; font-size: .82rem; letter-spacing: .03em; }

.page-hero { position: relative; overflow: hidden; padding: 94px 0 82px; background: linear-gradient(135deg, #edf5fa, #ffffff 56%, #edf7f1); }
.page-hero::after { content: ""; position: absolute; right: -90px; top: -170px; width: 420px; height: 420px; border: 1px solid rgba(7,70,139,.08); border-radius: 50%; box-shadow: 0 0 0 54px rgba(15,104,56,.025), 0 0 0 108px rgba(7,70,139,.025); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { margin-bottom: 22px; color: var(--green-dark); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.15rem; }

.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.intro-copy h2 { margin: 0 0 20px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; }
.intro-copy p { color: var(--muted); }
.signature-card {
  position: relative;
  padding: 38px;
  border-radius: var(--radius);
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}
.signature-card::before { content: ""; position: absolute; top: 0; left: 38px; width: 78px; height: 4px; background: linear-gradient(90deg, #6da8d0, #78c69a); }
.signature-card::after { content: ""; position: absolute; right: -75px; bottom: -90px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.signature-card strong { display: block; margin-bottom: 12px; font-size: 1.3rem; }
.signature-card p { margin: 0; color: #d3dee8; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(5,44,86,.02);
  transition: transform .3s cubic-bezier(.2,.75,.25,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-7px); border-color: rgba(15,104,56,.32); box-shadow: var(--shadow); }
.card-number { display: block; margin-bottom: 32px; color: var(--green); font-family: Georgia, serif; font-size: 2rem; }
.card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.15rem; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card-link { display: inline-flex; margin-top: 22px; color: var(--green-dark); font-weight: 800; font-size: .88rem; }
.card-link::after { content: "→"; margin-left: 8px; }
.feature-card { padding-top: 34px; border-top: 3px solid var(--green); }
.feature-card:nth-child(2n) { border-top-color: var(--blue); }
.feature-card:nth-child(3n) { border-top-color: var(--blue-light); }

.cycle { counter-reset: cycle; }
.cycle .card::before { counter-increment: cycle; content: counter(cycle, decimal-leading-zero); display: block; margin-bottom: 28px; color: var(--green); font-family: Georgia, serif; font-size: 1.9rem; }
.mode-list { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.mode-item { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 26px 30px; background: var(--white); }
.mode-item strong { color: var(--navy); }
.mode-item span { color: var(--muted); }

.project-band { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 520px; background: var(--navy); }
.project-band-image { min-height: 420px; background-image: url("project.jpg"); background-image: image-set(url("project.webp") type("image/webp"), url("project.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat; }
.project-band-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(30px, 7vw, 100px); color: var(--white); }
.project-band-copy h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
.project-band-copy p { max-width: 620px; margin: 0 0 24px; color: #cfdbe4; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #eef5f7; font-size: .82rem; }

.service-detail { display: grid; grid-template-columns: 1fr .42fr; gap: 70px; align-items: start; }
.service-detail h2 { margin-top: 0; color: var(--navy); font-family: Georgia, serif; font-size: 2.3rem; line-height: 1.15; }
.service-detail p { color: var(--muted); }
.deliverables { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.deliverables li { position: relative; padding: 15px 18px 15px 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.deliverables li::before { content: "✓"; position: absolute; left: 17px; color: var(--green); font-weight: 900; }
.scope-note { padding: 28px; border-radius: var(--radius); background: var(--soft); }
.scope-note h3 { margin-top: 0; color: var(--navy); }
.scope-note p { margin-bottom: 0; font-size: .92rem; }

.reference-group + .reference-group { margin-top: 58px; }
.reference-group h2 { margin: 0 0 24px; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; }
.reference-card { position: relative; overflow: hidden; min-height: 100%; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 16px; background: linear-gradient(145deg, #fff, var(--soft)); box-shadow: 0 10px 28px rgba(5,44,86,.05); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.reference-card:hover { transform: translateY(-5px); border-color: rgba(15,104,56,.3); box-shadow: var(--shadow-soft); }
.reference-card::after { content: ""; position: absolute; right: -46px; bottom: -64px; width: 140px; height: 140px; border: 1px solid rgba(7,70,139,.06); border-radius: 50%; }
.reference-card h3 { margin: 0 0 8px; color: var(--navy); }
.reference-card p { margin: 0; color: var(--muted); }
.reference-tag { display: inline-flex; margin-bottom: 12px; color: var(--green-dark); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.contact-card h2, .contact-card h3 { margin-top: 0; color: var(--navy); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.contact-list strong { color: var(--navy); }
.contact-list a { color: var(--green-dark); font-weight: 750; }

.cta-band { position: relative; overflow: hidden; padding: 78px 0; background: linear-gradient(105deg, var(--blue), var(--green)); color: var(--white); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -160px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 58px rgba(255,255,255,.035); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }

.site-footer { padding: 66px 0 24px; color: #cbd7e0; background: #071523; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 56px; padding-bottom: 42px; }
.footer-logo { width: 190px; margin-bottom: 20px; }
.footer-grid p { max-width: 430px; margin: 0; }
.footer-grid h3 { margin: 0 0 16px; color: var(--white); font-size: .95rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb0be; font-size: .82rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .js [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .site-nav { gap: 18px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-detail { grid-template-columns: 1fr .55fr; gap: 42px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .header-inner { height: 72px; }
  .brand { width: 154px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 30px rgba(11,27,46,.1);
  }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { padding: 12px 4px; }
  .site-nav a::after { display: none; }
  .language-link { position: absolute; right: 74px; }
  .hero { min-height: 670px; background-position: 58% center; }
  .hero-content { padding: 96px 0 118px; }
  .hero-proof { left: 15px; right: 15px; bottom: 28px; text-align: center; }
  .intro-grid, .project-band, .service-detail, .contact-grid { grid-template-columns: 1fr; }
  .project-band-image { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero h1 { font-size: 3.2rem; }
  .hero-kicker { font-size: .69rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .mode-item { grid-template-columns: 1fr; gap: 8px; }
  .signature-card, .card, .contact-card { padding: 26px; }
  .page-hero { padding: 70px 0 62px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
