/* =========================================================
   Advanced-Soft — Design System
   White + mint (healthcare) / soft, calm, trustworthy
   ========================================================= */

:root {
  /* Surfaces */
  --bg:        #f5faf8;   /* page background — faint mint white */
  --surface:   #ffffff;   /* cards */
  --surface-2: #eef7f3;   /* tinted section bg */

  /* Ink */
  --ink:    #16302a;   /* headings */
  --body:   #41544e;   /* body copy */
  --muted:  #7d8e88;   /* captions / labels */

  /* Mint accent family */
  --mint:        #1f8a6f;  /* primary */
  --mint-deep:   #166b56;  /* hover / strong */
  --mint-soft:   #d7ede4;  /* fills / chips */
  --mint-tint:   #e9f5f0;  /* faint wash */
  --mint-line:   #cfe6dc;  /* tinted border */

  /* Lines */
  --line:   #e4ede9;

  /* Radius */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Shadow — very soft */
  --sh-sm: 0 1px 2px rgba(22,48,42,.04), 0 2px 8px rgba(22,48,42,.04);
  --sh:    0 2px 6px rgba(22,48,42,.05), 0 12px 32px rgba(22,48,42,.06);
  --sh-lg: 0 8px 24px rgba(22,48,42,.07), 0 24px 60px rgba(22,48,42,.08);

  /* Type */
  --f-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --f-body:    "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  --f-latin:   "Outfit", "Zen Kaku Gothic New", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: .01em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.section {
  padding-block: clamp(72px, 11vw, 140px);
}
.section--tint { background: var(--surface-2); }

/* Section header */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.sec-head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  letter-spacing: .02em;
}
.sec-head .lead {
  margin-top: 20px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31,138,111,.28);
}
.btn--primary:hover {
  background: var(--mint-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(31,138,111,.34);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--mint-line);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint-deep);
  transform: translateY(-2px);
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,250,248,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(22,48,42,.02), 0 8px 24px rgba(22,48,42,.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 44px; height: 44px;
  object-fit: contain;
  display: block;
}
.brand .names { display: flex; flex-direction: column; line-height: 1.15; }
.brand .en {
  font-family: var(--f-latin);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand .ja {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--mint-deep); background: var(--mint-tint); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right .btn { padding: 12px 22px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--mint-line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.menu-btn span {
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 auto 0;
  background: rgba(245,250,248,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--pad) 28px;
  z-index: 49;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 14px 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 18px; }

/* =========================================================
   Hero
   ========================================================= */
/* ---------- Hero (full-bleed image) ---------- */
.hero-full {
  position: relative;
  width: 100%;
}
.hero-media {
  width: 100%;
  line-height: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-actions {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r);
  box-shadow: var(--sh);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
}

.trust-section {
  padding-block: clamp(40px, 6vw, 72px);
}

/* trust strip */
.trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.trust-item {
  background: #fff;
  padding: 28px clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-item .k {
  font-family: var(--f-latin);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--mint-deep);
  line-height: 1;
}
.trust-item .k small { font-size: 16px; font-family: var(--f-body); color: var(--mint); margin-left: 2px; }
.trust-item .t { font-size: 14px; color: var(--body); font-weight: 500; }
.trust-item .d { font-size: 12.5px; color: var(--muted); }

/* =========================================================
   Services
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.s-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 34px;
  box-shadow: var(--sh-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.s-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: var(--mint-line);
}
.s-num {
  font-family: var(--f-latin);
  font-weight: 600;
  font-size: 13px;
  color: var(--mint);
  letter-spacing: .12em;
}
.s-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--mint-tint);
  border: 1px solid var(--mint-line);
  display: grid; place-items: center;
  margin: 14px 0 22px;
}
.s-icon svg { width: 26px; height: 26px; stroke: var(--mint-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.s-card h3 { font-size: 21px; margin-bottom: 12px; }
.s-card p { font-size: 14.5px; }

/* process strip */
.process {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px clamp(20px, 3vw, 40px);
  box-shadow: var(--sh-sm);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 4px;
}
.process .ptitle {
  font-size: 13px; font-weight: 700; color: var(--ink);
  margin-right: 18px; letter-spacing: .04em;
  display: flex; align-items: center; gap: 8px;
}
.process .ptitle::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--mint); }
.process-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pstep {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--body);
  background: var(--mint-tint);
  border: 1px solid var(--mint-line);
  padding: 9px 16px; border-radius: 999px;
}
.pstep .pi { font-family: var(--f-latin); font-size: 11px; font-weight: 700; color: var(--mint); }
.parrow { color: var(--mint-line); display: inline-flex; }
.parrow svg { width: 16px; height: 16px; }

/* =========================================================
   Technology
   ========================================================= */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.stack-list { display: flex; flex-direction: column; gap: 14px; }
.stack-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 24px;
  box-shadow: var(--sh-sm);
  transition: border-color .25s ease, transform .25s ease;
}
.stack-row:hover { border-color: var(--mint-line); transform: translateX(4px); }
.stack-row .badge {
  font-family: var(--f-latin);
  font-weight: 700;
  font-size: 15px;
  color: var(--mint-deep);
  background: var(--mint-soft);
  width: 64px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.stack-row .info .n { font-weight: 700; color: var(--ink); font-size: 16px; }
.stack-row .info .r { font-size: 13px; color: var(--muted); }

.domain-card {
  background: linear-gradient(160deg, #ffffff 0%, var(--mint-tint) 100%);
  border: 1px solid var(--mint-line);
  border-radius: var(--r-lg);
  padding: 34px 34px 30px;
  box-shadow: var(--sh-sm);
  height: 100%;
}
.domain-card h3 { font-size: 19px; margin-bottom: 6px; }
.domain-card .note { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.dtag {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1px solid var(--mint-line);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: var(--sh-sm);
}
.dtag::before {
  content:""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--mint); transform: rotate(45deg);
}

/* =========================================================
   Works
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.w-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 30px 32px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.w-card::before {
  content:"";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--mint);
  opacity: 0; transition: opacity .28s ease;
}
.w-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--mint-line); }
.w-card:hover::before { opacity: 1; }
.w-cat {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--mint-deep);
  background: var(--mint-soft);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.w-card h3 { font-size: 19.5px; margin-bottom: 10px; }
.w-card p { font-size: 14px; color: var(--body); }
.w-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.w-detail > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}
.w-detail dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 6px;
  padding: 3px 0;
  text-align: center;
}
.w-detail dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--body);
}
.work-note { margin-top: 24px; font-size: 13px; color: var(--muted); display:flex; align-items:center; gap:8px; }
.work-note::before { content:""; width:14px; height:14px; border-radius:50%; border:1.5px solid var(--mint-line); flex-shrink:0; }

/* =========================================================
   Company
   ========================================================= */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 132px;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}
.info-table td { color: var(--body); font-size: 15px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table .en-small { font-family: var(--f-latin); color: var(--muted); font-size: 13px; }

/* anniversary card */
.anniv {
  background: linear-gradient(160deg, var(--mint) 0%, var(--mint-deep) 100%);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 48px);
  color: #fff;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.anniv::after {
  content:"";
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(255,255,255,0) 70%);
}
.anniv .label {
  font-family: var(--f-latin);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
  position: relative;
}
.anniv .timeline {
  display: flex; align-items: center; gap: 12px;
  position: relative; margin-bottom: 26px;
}
.anniv .yr { font-family: var(--f-latin); font-weight: 700; line-height: 1; }
.anniv .yr.start { font-size: clamp(34px, 5vw, 48px); color: #fff; }
.anniv .yr.end { font-size: clamp(44px, 6.5vw, 68px); color: #fff; }
.anniv .yr.end b { font-style: normal; }
.anniv .track {
  flex: 1; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.28);
  position: relative; min-width: 30px;
}
.anniv .track::before {
  content:""; position: absolute; left:0; top:0; bottom:0;
  width: 86%; background: #fff; border-radius: 3px;
}
.anniv .track::after {
  content:""; position: absolute; left: 86%; top: 50%;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background:#fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.3);
}
.anniv h3 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; position: relative; }
.anniv p { color: rgba(255,255,255,.9); font-size: 15px; position: relative; }
.anniv .yrnote { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 4px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-aside h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.contact-aside p { font-size: 16px; margin-bottom: 32px; max-width: 380px; }
.contact-line {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line .ci {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--mint-tint); border: 1px solid var(--mint-line);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-line .ci svg { width: 22px; height: 22px; stroke: var(--mint-deep); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.contact-line .cl { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.contact-line .cv { font-size: 16px; color: var(--ink); font-weight: 600; font-family: var(--f-latin); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--sh);
}
.form-row { margin-bottom: 22px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  margin-bottom: 9px;
}
.field .req { font-size: 10.5px; color: #fff; background: var(--mint); padding: 2px 7px; border-radius: 5px; font-weight: 700; letter-spacing: .04em; }
.field .opt { font-size: 11px; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 5px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #aebcb6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 4px var(--mint-soft);
}
.field.invalid input, .field.invalid textarea { border-color: #d98a7a; background: #fdf6f4; }
.field .err {
  font-size: 12.5px; color: #c4624f; margin-top: 7px;
  display: none; align-items: center; gap: 6px;
}
.field.invalid .err { display: flex; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-foot .note { font-size: 12.5px; color: var(--muted); max-width: 280px; }
.form-card .btn--primary { padding: 16px 40px; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
}
.form-success.show { display: block; animation: fadeUp .5s ease both; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--mint-soft);
  display: grid; place-items: center;
}
.form-success .check svg { width: 32px; height: 32px; stroke: var(--mint-deep); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--body); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding-block: clamp(48px, 6vw, 72px) 36px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .en { font-family: var(--f-latin); font-weight: 600; font-size: 20px; color: #fff; }
.footer-brand .ja { font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.55); margin-top: 4px; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; max-width: 320px; color: rgba(255,255,255,.62); }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.62); padding: 6px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--mint-soft); }
.footer-bottom {
  margin-top: 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .tech-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { max-width: 560px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .btn { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: block; }
  .service-grid, .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .service-grid, .work-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .float-card--tl { left: 12px; top: 12px; }
  .float-card--br { right: 12px; bottom: 12px; }
  .float-card { padding: 12px 16px; }
  .float-card .big { font-size: 24px; }
  .hero .firm { flex-wrap: wrap; gap: 6px; }

  /* Full-bleed hero: stack CTAs below the image so they don't cover
     the logo/tagline baked into the photo. */
  .hero-actions {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0 16px;
    transform: translateY(-28px);
    border-radius: var(--r);
  }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
