/* =========================================================
   RE-BORN Corporate Site  (layout traced from sharedan.co.jp)
   Brand accent: RE-BORN blue
   ========================================================= */

:root {
  --accent: #2b6cff;
  --accent-dark: #1f54cc;
  --accent-soft: #eaf0ff;

  --ink: #14203a;
  --ink-soft: #5c6780;
  --line: rgba(20, 32, 58, 0.10);

  --bg: #eef1f6;
  --bg-card: #ffffff;
  --dark: #0e1322;

  --font-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --header-h: 84px;
  --grid: 56px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
html, body { overflow-x: hidden; }

body {
  font-family: var(--font-ja);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  word-break: normal;
  /* mint/blue-gray base with subtle grid lines (traced look) */
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 700; color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Pill button ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--accent);
  padding: 13px 28px;
  border-radius: 999px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-pill:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(43, 108, 255, 0.3);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 6px 24px rgba(14, 19, 34, 0.07);
  height: 68px;
}
/* ??????????????????? */
.header.is-scrolled ~ .drawer { top: 68px; }
.header__inner {
  height: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo img { width: auto; height: 30px; }
.header .logo img { height: clamp(24px, 2.4vw, 30px); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(20px, 2.6vw, 42px); }
.nav__list a {
  position: relative;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  padding: 8px 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); }

.header__contact { padding: 12px 26px; }

/* ---------- Hamburger (circle, traced) ---------- */
.hamburger {
  display: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--dark);
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 120;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  /* ???????????????????????�?????????? */
  inset: var(--header-h) 0 0 0;
  background: var(--dark);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(28px, 6vw, 52px) clamp(28px, 8vw, 64px) 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer__nav { width: 100%; }
.drawer__nav ul { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.drawer__nav a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  letter-spacing: 0.05em;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer__nav ul li:last-child a { border-bottom: none; }
.drawer__nav a span {
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 0.72rem;
  color: #8a93a8;
}

/* ---------- Section heading (English big + Japanese) ---------- */
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head__en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.sec-head__en .accent { color: var(--accent); }
.sec-head__ja {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.sec-head--ondark .sec-head__en { color: #fff; }
.sec-head--ondark .sec-head__ja { color: #aeb6c8; }

.sec-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 26px;
}
.sec-label--light { color: rgba(255, 255, 255, 0.9); }

/* ---------- Section watermark ---------- */
[class$="__watermark"] {
  position: absolute;
  top: clamp(8px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(5rem, 20vw, 18rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: rgba(20, 32, 58, 0.035);
  z-index: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2vh) 0 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__photos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 26px);
  padding-inline: var(--gutter);
  margin-bottom: clamp(-40px, -4vw, -20px);
}
.hero__photo {
  position: relative;
  flex: 0 1 clamp(150px, 22vw, 280px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  /* shield shape (traced) */
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
  box-shadow: 0 30px 60px rgba(14, 19, 34, 0.12);
  animation: heroFloat 7s ease-in-out infinite;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__photo-icon { position: relative; z-index: 1; width: 38%; opacity: 0.92; }
.hero__photo--1 {
  margin-top: clamp(20px, 4vw, 60px); animation-delay: 0s;
  background: linear-gradient(150deg, #4f86ff 0%, #2b6cff 60%, #1f54cc 100%);
}
.hero__photo--2 {
  margin-top: 0; animation-delay: 0.6s;
  background: linear-gradient(150deg, #1f54cc 0%, #16203b 100%);
}
.hero__photo--3 {
  margin-top: clamp(36px, 7vw, 100px); animation-delay: 1.2s;
  background: linear-gradient(150deg, #6f9bff 0%, #2b6cff 100%);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero__mark {
  position: absolute;
  right: -4%;
  top: 30%;
  width: clamp(220px, 38vw, 520px);
  opacity: 0.05;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.6rem, 8.5vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__title .dot { color: var(--accent); }
.hero__copy {
  margin-top: clamp(16px, 2.5vw, 26px);
  font-size: clamp(1.05rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero__copy .hl { color: var(--accent); }
.hero__copy .dot { color: var(--accent); }
.hero__pickup {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(20px, 4vh, 40px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.hero__pickup span { animation: bob 1.6s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Concept (full blue block) ---------- */
.concept {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.concept__watermark { color: rgba(255, 255, 255, 0.08); top: auto; bottom: 0; }
.concept__inner { position: relative; z-index: 2; }
.concept__title {
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.concept__title br { display: block; }
.concept__lead {
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  color: rgba(255, 255, 255, 0.92);
}
.concept__lead p + p { margin-top: 1.4em; }
.concept__points {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.concept__points li { min-width: 0; text-align: center; }
.concept__icon {
  display: grid;
  place-items: center;
  width: clamp(84px, 10vw, 116px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.concept__icon svg { width: 46%; }
.concept__points p { font-size: 0.96rem; color: rgba(255, 255, 255, 0.92); }
.concept__points strong { color: #fff; }

/* ---------- Service (sticky left + cards) ---------- */
.service { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.service__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.service__intro { position: sticky; top: calc(var(--header-h) + 10px); min-width: 0; }
.service__eyebrow {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.service__head {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 22px;
}
.service__head .accent { color: var(--accent); }
.service__desc { color: var(--ink-soft); font-size: 0.95rem; max-width: 30em; }

.service__cards { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 28px); min-width: 0; }
.service-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 20px 50px rgba(14, 19, 34, 0.06);
}
.service-card__head {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--accent-soft);
}
.service-card__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--ink);
}
.service-card__ja {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 4px;
}
.service-card__list { display: flex; flex-direction: column; gap: 22px; }
.srv { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.srv > div { min-width: 0; }
.srv__icon {
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.srv__icon svg { width: 54%; }
.srv h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.srv p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.85; }

/* ---------- Results (dark) ---------- */
.results {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.results__watermark { color: rgba(255, 255, 255, 0.045); }
.results .container { position: relative; z-index: 2; }
.results__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.results__item {
  min-width: 0;
  padding: 8px clamp(8px, 1.5vw, 22px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.results__item:first-child { border-left: none; }
.results__value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  color: #fff;
}
.results__unit { font-size: 0.36em; color: var(--accent); font-weight: 700; }
.results__label {
  display: block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.results__note {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #93a0b8;
}

/* ---------- History ---------- */
.history { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.history .container { position: relative; z-index: 2; }
.history__lead { margin-bottom: clamp(36px, 5vw, 56px); color: var(--ink-soft); max-width: 60em; }
.timeline { max-width: 880px; }
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(18px, 4vw, 44px);
  padding: 0 0 clamp(30px, 4vw, 46px) 32px;
  border-left: 2px solid var(--line);
}
.timeline__item > * { min-width: 0; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -13px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
}
.timeline__year {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
}
.timeline__body h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.timeline__body p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Value ---------- */
.value { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.value .container { position: relative; z-index: 2; }
.value__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.value__item {
  min-width: 0;
  background: var(--bg-card);
  border-radius: 16px;
  padding: clamp(30px, 3.4vw, 48px);
  box-shadow: 0 16px 40px rgba(14, 19, 34, 0.05);
}
.value__no {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent-soft);
}
.value__name { margin: 14px 0 12px; font-size: 1.25rem; font-weight: 700; }
.value__desc { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Sustainability ---------- */
.csr { position: relative;}
.csr__lead { margin-bottom: clamp(36px, 5vw, 56px); color: var(--ink-soft); }
.csr__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.csr__item {
  min-width: 0;
  background: var(--bg-card);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 16px 40px rgba(14, 19, 34, 0.05);
}
.csr__name {
  position: relative;
  padding-left: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.csr__name::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  background: var(--accent);
  transform: skewX(-16deg);
}
.csr__desc { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Company ---------- */
.company { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.company .container { position: relative; z-index: 2; }
.company__table { border-top: 1px solid var(--line); max-width: 940px; }
.company__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
}
.company__row > * { min-width: 0; }
.company__row dt { font-weight: 700; letter-spacing: 0.04em; }
.company__row dd { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact {
  padding: clamp(70px, 9vw, 130px) 0;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(43,108,255,0.25), transparent 55%),
    linear-gradient(135deg, #16203b 0%, #0e1322 100%);
}
.contact__card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: clamp(34px, 5vw, 68px);
  display: grid;
  grid-template-columns: 0.5fr 1.4fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.contact__intro-en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}
.contact__intro-ja {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.contact__methods {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.contact__method { min-width: 0; text-align: center; color: #fff; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 56px; aspect-ratio: 1;
  margin: 0 auto 12px;
  color: var(--accent);
}
.contact__divider { width: 1px; align-self: stretch; background: rgba(255, 255, 255, 0.16); }
.contact__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact__value {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: #fff;
  word-break: break-all;
}
.contact__value--mail { font-size: clamp(1rem, 2.2vw, 1.35rem); }
.contact__note { margin-top: 8px; font-size: 0.8rem; color: #93a0b8; }
.contact__btn { margin-top: 18px; }

/* ---------- Footer ---------- */
.footer {
  background: #e7ebf2;
  padding: clamp(54px, 7vw, 84px) 0 28px;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer .logo img { height: 36px; }
.footer__addr { margin-top: 18px; font-size: 0.85rem; color: var(--ink-soft); }
.footer__tagline { margin-top: 12px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.footer__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; }
.footer__nav a { font-size: 0.92rem; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--accent); }
.footer__copy {
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #8a93a8;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service__grid { grid-template-columns: 1fr; }
  .service__intro { position: static; }
  .contact__card { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .concept__points { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .results__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .results__item:nth-child(odd) { border-left: none; }
  .value__list { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav, .header__contact { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  body.is-locked { overflow: hidden; }

  .hero__photos { gap: 10px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; }
  .company__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .company__row dt { color: var(--ink); }
  .contact__methods { grid-template-columns: 1fr; }
  .contact__divider { width: 100%; height: 1px; }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 460px) {
  .results__list { grid-template-columns: 1fr; }
  .results__item { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; }
  .results__item:first-child { border-top: none; }
  .footer__nav ul { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__photo { animation: none; }
}

