:root {
  --green: #008157;
  --green-dark: #006845;
  --green-deep: #004f36;
  --green-soft: #e9f6f0;
  --ink: #101816;
  --muted: #5b6864;
  --line: #d8e2de;
  --paper: #fbfcfb;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(16, 24, 22, 0.11);
  --shell: min(1160px, calc(100vw - 48px));
  --header-height: 74px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

main > section:not(.hero) {
  margin-top: clamp(18px, 2.4vw, 32px);
}

main > section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-paper {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 129, 87, 0.07) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(180deg, #fff 0%, #fbfcfb 100%);
}

.section-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.35;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.section-heading-light h2,
.section-heading-light p {
  color: var(--white);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 900;
}

.section-watermark {
  position: absolute;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 129, 87, 0.13);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.6rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 28px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-weight: 900;
  line-height: 1.25;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  min-width: 212px;
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 22px rgba(0, 129, 87, 0.18);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  min-width: 188px;
  color: var(--green);
  background: var(--white);
  border-color: rgba(0, 129, 87, 0.7);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--green);
}

.center {
  display: flex;
  justify-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: var(--header-height);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 28px rgba(16, 24, 22, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 248px;
  padding-inline: 34px 24px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 45px;
  height: 34px;
  color: var(--green);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.brand-text small {
  font-size: 0.74rem;
  font-weight: 900;
}

.brand-text strong {
  font-size: 1.45rem;
  line-height: 1;
}

.global-nav {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  font-size: 0.82rem;
  font-weight: 900;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: stretch;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--green-deep);
  font-weight: 900;
}

.header-phone svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.header-phone span {
  display: grid;
  line-height: 1.25;
}

.header-phone strong {
  font-size: 1.1rem;
}

.header-phone small {
  color: var(--muted);
  font-size: 0.62rem;
}

.header-contact {
  display: flex;
  min-width: 126px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 20px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.header-contact svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  place-content: center;
  gap: 5px;
  margin: 10px 18px 10px auto;
  color: var(--green);
  background: transparent;
  border: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero {
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 51%);
  min-height: clamp(500px, calc(100vh - var(--header-height) - 150px), 650px);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 92px) clamp(28px, 3.4vw, 58px) clamp(50px, 6vw, 78px) 7vw;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16vw;
  bottom: 0;
  width: 23vw;
  background: linear-gradient(106deg, #fff 0%, #fff 50%, transparent 51%);
  pointer-events: none;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-name {
  color: var(--green);
}

.hero-lead {
  margin: 26px 0 0;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 900;
}

.hero-body {
  max-width: 560px;
  margin: 18px 0 28px;
  color: #26312e;
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 100%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  background: #dfe9e5;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent 42%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.message {
  padding: 48px 0 48px;
  overflow: hidden;
}

.message-mark {
  right: 2vw;
  bottom: 0;
}

.message-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 450px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.message-photo {
  margin: 0;
}

.message-photo img {
  width: 100%;
  aspect-ratio: 1.47;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(16, 24, 22, 0.08);
}

.message-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.55;
}

.message-copy p:not(.section-kicker) {
  max-width: 680px;
  margin: 18px 0 26px;
  color: #26312e;
  font-weight: 700;
}

.service {
  position: relative;
  overflow: hidden;
  padding: 58px 0 72px;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 112, 76, 0.92), rgba(0, 112, 76, 0.92)),
    url("assets/generated/hero-v2.png") center 55% / cover;
}

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.1), transparent 36%);
  pointer-events: none;
}

.service-mark {
  top: 24px;
  left: 4vw;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.22);
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-card {
  display: grid;
  min-height: 270px;
  align-content: start;
  justify-items: center;
  padding: 34px 24px 24px;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 62px;
  height: 62px;
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.service-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.5;
}

.service-card p {
  min-height: 70px;
  margin: 13px 0 18px;
  color: #43504c;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-link {
  display: inline-flex;
  min-width: 146px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 18px;
  color: var(--green);
  border: 1px solid rgba(0, 129, 87, 0.65);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 900;
}

.mini-link:hover {
  color: var(--white);
  background: var(--green);
}

.strength {
  padding: 62px 0 66px;
  overflow: hidden;
}

.strength-mark {
  top: 40px;
  right: 2vw;
}

.strength-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 1fr;
  gap: 22px;
  margin-top: 34px;
}

.strength-item {
  margin: 0;
  min-height: 170px;
}

.strength-text {
  padding: 18px 8px 18px 24px;
  border-left: 2px solid rgba(0, 129, 87, 0.2);
}

.strength-text span {
  display: block;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.strength-text h3 {
  margin: 10px 0 8px;
  font-size: 1.14rem;
  line-height: 1.45;
}

.strength-text p {
  margin: 0;
  color: #43504c;
  font-size: 0.91rem;
  font-weight: 700;
}

.strength-photo img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(16, 24, 22, 0.08);
}

.flow {
  padding: 60px 0 70px;
  overflow: hidden;
}

.flow-mark {
  left: 0;
  top: 18px;
}

.flow-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  display: grid;
  min-height: 162px;
  place-items: center;
  gap: 8px;
  padding: 24px 14px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(16, 24, 22, 0.08);
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  width: 13px;
  height: 22px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 30% 50%);
  transform: translateY(-50%);
}

.flow-num {
  position: absolute;
  top: -14px;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  transform: translateX(-50%);
}

.flow-list svg {
  width: 48px;
  height: 48px;
  fill: var(--green);
}

.flow-list strong {
  min-height: 50px;
  display: grid;
  place-items: center;
  font-size: 0.94rem;
  line-height: 1.55;
}

.works {
  padding: 46px 0 64px;
  overflow: hidden;
}

.works-mark {
  right: 2vw;
  top: 28px;
}

.works-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.works-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dfe7e3;
  aspect-ratio: 1.65;
}

.works-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.works-grid figure:hover img {
  transform: scale(1.05);
}

.works-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 8px 10px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.46));
  font-size: 0.83rem;
  font-weight: 900;
  text-align: center;
}

.works .center {
  margin-top: 30px;
}

.about {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background: #26312e;
}

.about-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 94, 68, 0.84) 0%, rgba(0, 94, 68, 0.66) 35%, rgba(6, 28, 26, 0.26) 72%, rgba(0, 94, 68, 0.64) 100%),
    url("assets/generated/about-bg-v2.png") center / cover;
  transform: scale(1.02);
}

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 430px;
  align-items: center;
  gap: 30px;
}

.about-title {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.5;
}

.about-copy p:not(.about-title) {
  max-width: 560px;
  margin: 20px 0 0;
  font-weight: 800;
}

.about-banners {
  display: flex;
  align-items: stretch;
  gap: 8px;
  align-self: stretch;
}

.about-banners span {
  display: grid;
  width: 56px;
  place-items: center;
  padding: 18px 0;
  background: rgba(0, 129, 87, 0.94);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.6;
  writing-mode: vertical-rl;
}

.quick-links {
  padding: 56px 0 44px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.link-card {
  display: grid;
  grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(16, 24, 22, 0.09);
}

.link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 76px 22px 26px;
}

.round-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(16, 24, 22, 0.12);
}

.round-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.link-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.link-card p {
  margin: 10px 0 14px;
  color: #43504c;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.7;
}

.link-card a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.contact-cta {
  position: relative;
  width: var(--shell);
  margin: 0 auto 42px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 129, 87, 0.97), rgba(0, 103, 69, 0.92)),
    url("assets/generated/hero-v2.png") center 70% / cover;
  border-radius: 3px;
}

.contact-cta::after {
  content: "CONTACT";
  position: absolute;
  top: 18px;
  right: 36px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 1;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 34px clamp(28px, 6vw, 90px);
}

.contact-shell h2 {
  margin: 0;
  text-align: center;
  font-size: 1.85rem;
}

.contact-shell p {
  margin: 6px 0 8px;
  text-align: center;
  font-weight: 800;
}

.contact-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.contact-tel svg {
  width: clamp(38px, 5vw, 62px);
  height: clamp(38px, 5vw, 62px);
  fill: currentColor;
}

.contact-shell small {
  display: block;
  text-align: center;
  font-weight: 800;
}

.contact-form-btn {
  min-width: 290px;
  color: var(--green);
  background: var(--white);
  border-color: var(--white);
}

.site-footer {
  padding: 18px 0 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.62fr) 0.8fr;
  gap: 28px;
  padding: 28px 0 24px;
}

.footer-company .brand {
  min-width: 0;
  padding: 0;
}

.brand-footer .brand-text strong {
  font-size: 1.35rem;
}

.footer-company p {
  margin: 16px 0 0;
  color: #34413d;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.85;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.footer-nav a:first-child {
  color: var(--green-deep);
}

.footer-buttons {
  display: grid;
  align-content: center;
  gap: 12px;
}

.footer-buttons a {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 18px;
  color: var(--green);
  border: 1px solid rgba(0, 129, 87, 0.7);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 900;
}

.copyright {
  margin: 0;
  padding-top: 18px;
  color: #7b8582;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    min-width: 0;
    padding-inline: 22px 14px;
  }

  .global-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .header-phone,
  .header-contact {
    flex: 1;
    min-height: 52px;
  }

  .site-header.is-open .global-nav {
    position: fixed;
    inset: calc(var(--header-height) + 52px) 0 auto;
    display: grid;
    height: auto;
    gap: 0;
    justify-content: stretch;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(16, 24, 22, 0.18);
  }

  .site-header.is-open .global-nav a {
    min-height: 54px;
    justify-content: center;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .global-nav a::after {
    display: none;
  }

  .service-grid,
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  .flow-list li:nth-child(3)::after {
    display: none;
  }

  .link-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-company {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100vw - 28px, 720px);
  }

  .site-header {
    min-height: 64px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 1.16rem;
  }

  .brand-mark {
    width: 38px;
  }

  .header-actions {
    display: none;
  }

  .site-header.is-open .global-nav {
    inset: 64px 0 auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: 440px;
    padding: 56px 24px 46px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 64%, rgba(255, 255, 255, 0.34)),
      url("assets/generated/hero-v2.png") center / cover;
  }

  .hero-copy::after,
  .hero-visual {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .message,
  .strength,
  .flow,
  .works,
  .quick-links {
    padding-block: 44px;
  }

  .message-inner,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .message-photo {
    max-width: 520px;
    margin-inline: auto;
  }

  .message-copy {
    text-align: left;
  }

  .service {
    padding-block: 48px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card p {
    min-height: 0;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .strength-item,
  .strength-photo img {
    min-height: auto;
  }

  .strength-photo {
    aspect-ratio: 1.75;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .flow-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .works-grid,
  .link-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    min-height: 520px;
    padding-block: 64px;
  }

  .about-copy {
    padding-right: 120px;
  }

  .about-banners {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .about-banners span {
    width: 44px;
    font-size: 1rem;
  }

  .link-card {
    grid-template-columns: 42% 1fr;
  }

  .contact-cta {
    width: var(--shell);
    margin-bottom: 28px;
  }

  .contact-shell {
    padding: 30px 20px 34px;
  }

  .contact-form-btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .brand {
    padding-inline: 14px 8px;
  }

  .menu-toggle {
    margin-right: 8px;
  }

  .hero-copy {
    min-height: 410px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .section-watermark {
    font-size: 3.4rem;
  }

  .works-grid figure {
    aspect-ratio: 1.55;
  }

  .link-card {
    grid-template-columns: 1fr;
  }

  .link-card img {
    aspect-ratio: 1.75;
  }

  .round-icon {
    top: 18px;
    right: 18px;
    left: auto;
  }

  .link-card-body {
    padding: 24px 80px 22px 24px;
  }

  .about-title {
    font-size: 2.65rem;
  }

  .about-copy {
    padding-right: 104px;
  }

  .contact-tel {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

.footer-buttons {
    align-content: start;
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPhotoIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(1.02);
    filter: saturate(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

.animations-ready .hero-copy h1,
.animations-ready .hero-lead,
.animations-ready .hero-body,
.animations-ready .hero-copy .btn {
  opacity: 0;
  animation: heroTextIn 720ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.animations-ready .hero-lead {
  animation-delay: 120ms;
}

.animations-ready .hero-body {
  animation-delay: 220ms;
}

.animations-ready .hero-copy .btn {
  animation-delay: 330ms;
}

.animations-ready .hero-visual img {
  animation: heroPhotoIn 1000ms cubic-bezier(0.2, 0.72, 0.2, 1) 120ms both;
}

.animations-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 420ms cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 420ms cubic-bezier(0.2, 0.72, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.animations-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card,
.link-card,
.flow-list li,
.strength-photo,
.works-grid figure {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card:hover,
.link-card:hover,
.flow-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(16, 24, 22, 0.14);
}

.strength-photo:hover,
.works-grid figure:hover {
  transform: translateY(-3px);
}

.link-card:hover {
  border-color: rgba(0, 129, 87, 0.42);
}

.contact-shell.is-visible .contact-tel svg {
  animation: ctaPulse 1700ms ease-in-out 650ms 2;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
