:root {
  --orange: #ed9563;
  --orange-dark: #d97945;
  --orange-soft: #fff2e9;
  --olive: #a7a783;
  --olive-dark: #77775e;
  --ink: #242624;
  --muted: #6e726e;
  --line: #e8e8e3;
  --paper: #fbfbf8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(48, 42, 35, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(251, 251, 248, 0.94);
  border-color: rgba(36, 38, 36, 0.08);
  box-shadow: 0 8px 30px rgba(36, 38, 36, 0.05);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.25;
}

.brand img {
  width: 52px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav > a:not(.nav-contact) {
  position: relative;
}

.main-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 11px 19px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-contact:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(237, 149, 99, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(237, 149, 99, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 80px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 38%;
  height: 100%;
  inset: 0 0 0 auto;
  background: var(--orange-soft);
  opacity: 0.75;
}

.hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  width: 280px;
  height: 280px;
  top: -140px;
  left: 30%;
  border: 1px solid rgba(237, 149, 99, 0.4);
}

.hero-orb-two {
  width: 130px;
  height: 130px;
  right: 4%;
  bottom: 8%;
  background: rgba(167, 167, 131, 0.12);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 240px);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--orange);
}

.hero h1,
.section-heading h2,
.company-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

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

h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 {
  font-size: clamp(46px, 4.7vw, 68px);
}

.hero h1 em {
  position: relative;
  color: var(--orange-dark);
  font-style: normal;
}

.hero-accent {
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 13px;
  inset: auto 0 8px;
  background: rgba(237, 149, 99, 0.17);
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button span {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover span {
  transform: translateX(4px);
}

.button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 15px 35px rgba(217, 121, 69, 0.25);
}

.button-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 18px 40px rgba(217, 121, 69, 0.32);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: #000;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.text-link span {
  color: var(--orange-dark);
  font-size: 16px;
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 70px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-points div {
  display: grid;
  gap: 6px;
}

.hero-points strong {
  color: var(--orange-dark);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hero-points span {
  font-size: 11px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 48% 48% 10px 10px;
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(42, 32, 24, 0.25));
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.025);
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(38, 31, 25, 0.13);
  backdrop-filter: blur(10px);
}

.floating-card p {
  display: grid;
  gap: 1px;
  margin: 0;
  line-height: 1.5;
}

.floating-card strong {
  font-size: 11px;
  letter-spacing: 0.03em;
}

.floating-card small {
  color: var(--muted);
  font-size: 9px;
}

.card-top {
  top: 17%;
  left: -45px;
}

.card-bottom {
  right: -25px;
  bottom: 11%;
}

.mini-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
}

.pulse {
  width: 12px;
  height: 12px;
  background: #7aa270;
  border: 4px solid #deeadb;
  border-radius: 50%;
  box-sizing: content-box;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  left: 28px;
  bottom: 30px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.hero-scroll span {
  width: 40px;
  height: 1px;
  background: var(--olive);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: start;
}

.section-heading h2,
.company-copy h2,
.contact-copy h2 {
  font-size: clamp(36px, 3.4vw, 48px);
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.intro-copy {
  padding-top: 42px;
  color: var(--muted);
  font-size: 14px;
}

.intro-copy p {
  margin: 0 0 22px;
}

.intro-copy .intro-large {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
}

.intro-copy .text-link {
  margin-top: 14px;
  color: var(--ink);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 90px;
  border: 1px solid var(--line);
}

.feature-strip article {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 120px;
  padding: 24px 28px;
}

.feature-strip article + article {
  border-left: 1px solid var(--line);
}

.feature-number {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.feature-strip h3,
.feature-strip p {
  margin: 0;
}

.feature-strip h3 {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 500;
}

.feature-strip p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.services {
  background: #f4f2ed;
}

.centered {
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  grid-auto-rows: minmax(275px, auto);
  gap: 18px;
  margin-top: 70px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 275px;
  padding: 30px 30px;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(237, 149, 99, 0.3);
  box-shadow: 0 20px 45px rgba(48, 42, 35, 0.08);
}

.service-card-main {
  grid-row: 1 / span 2;
  min-height: 568px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(38, 40, 38, 0.78), rgba(38, 40, 38, 0.95)),
    url("assets/case-presentation.jpg") center / cover;
}

.service-card-accent {
  background: var(--orange-soft);
}

.service-card-support {
  grid-column: span 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 233, 0.96)),
    url("assets/hero-planning.jpg") center / cover;
}

.service-card-support p {
  max-width: 520px;
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border-radius: 50%;
}

.service-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card-main .service-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.service-index {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--olive);
  font-family: Georgia, serif;
  font-size: 12px;
}

.service-card-main .service-index {
  color: rgba(255, 255, 255, 0.5);
}

.service-card h3 {
  margin: auto 0 16px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.service-card-main h3 {
  margin-top: auto;
  font-size: 25px;
  line-height: 1.55;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.service-card-main p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
}

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 100px;
  align-items: center;
}

.process-visual {
  position: relative;
  min-height: 690px;
}

.process-visual::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  left: -35px;
  bottom: -35px;
  background: var(--orange-soft);
  border-radius: 30px 30px 30px 150px;
}

.process-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 140px 12px 12px;
  box-shadow: var(--shadow);
}

.process-caption {
  position: absolute;
  right: -36px;
  bottom: 50px;
  display: grid;
  gap: 2px;
  padding: 20px 25px;
  color: var(--white);
  background: var(--orange);
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(217, 121, 69, 0.25);
}

.process-caption strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 19px;
}

.process-caption span {
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.process-list {
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--orange-dark);
  font-family: Georgia, serif;
  font-size: 13px;
}

.process-list h3,
.process-list p {
  margin: 0;
}

.process-list h3 {
  font-size: 15px;
}

.process-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.works {
  background: var(--ink);
  color: var(--white);
}

.works .section-kicker {
  color: var(--orange);
}

.works-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.works-heading > p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 58px;
}

.work-card {
  overflow: hidden;
  background: #30332f;
  border-radius: 18px;
}

.work-large {
  grid-row: span 2;
}

.work-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

.work-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.work-large .work-image {
  height: 580px;
  aspect-ratio: auto;
}

.work-wide .work-image {
  aspect-ratio: 2.1 / 1;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.work-image img.blurred-asset {
  filter: blur(6px);
  transform: scale(1.04);
}

.work-card:hover .work-image img.blurred-asset {
  filter: blur(6px) brightness(1.04);
  transform: scale(1.065);
}

.work-info {
  padding: 24px 26px 28px;
}

.work-wide .work-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-info span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.work-info h3 {
  margin: 8px 0 7px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 500;
}

.work-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.company {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.company::before {
  content: "HLS";
  position: absolute;
  top: -115px;
  right: -25px;
  color: rgba(237, 149, 99, 0.05);
  font-family: Georgia, serif;
  font-size: 360px;
  font-weight: 700;
  line-height: 1;
}

.company-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 90px;
  align-items: start;
}

.company-copy > p:not(.section-kicker) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.company-logo {
  width: 210px;
  height: auto;
  margin-top: 45px;
  object-fit: contain;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.company-table dd {
  margin: 0;
  font-size: 12px;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--orange);
}

.contact::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -180px;
  bottom: -290px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.contact-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  top: -190px;
  left: 12%;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 90px;
  align-items: start;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 500px;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 13px;
}

.direct-contact {
  display: grid;
  gap: 14px;
  margin-top: 45px;
}

.direct-contact a {
  display: grid;
  gap: 1px;
  width: fit-content;
}

.direct-contact small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.direct-contact strong {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.contact-form {
  padding: 36px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(96, 56, 32, 0.14);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  font-size: 10px;
  font-weight: 700;
}

.contact-form label span {
  width: fit-content;
  padding: 1px 5px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border-radius: 3px;
  font-size: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 2px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  resize: vertical;
  transition: border-color 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}

.contact-form .button {
  width: 100%;
  margin-top: 10px;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.site-footer {
  padding: 58px 0 25px;
  color: var(--white);
  background: #1d1f1d;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.42);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a:not(.nav-contact) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 42px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .service-card {
    min-height: 360px;
  }

  .service-card-main,
  .service-card-support {
    grid-column: auto;
    grid-row: auto;
    min-height: 390px;
  }

  .process-grid {
    gap: 65px;
  }

  .intro-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .company-grid,
  .contact-grid {
    gap: 55px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 34px, 560px);
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    height: 72px;
  }

  .brand img {
    width: 45px;
    height: auto;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    inset: 0;
    padding: 110px 28px 40px;
    visibility: hidden;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a:not(.nav-contact) {
    display: block;
  }

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav-contact {
    margin-top: 22px;
    padding: 15px 20px !important;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 76px;
  }

  .hero::after {
    width: 100%;
    height: 40%;
    inset: auto 0 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 42px);
  }

  .hero-lead {
    margin: 25px 0 29px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-points {
    margin-top: 45px;
  }

  .hero-points span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-image-wrap {
    border-radius: 45% 45% 10px 10px;
  }

  .card-top {
    left: 10px;
  }

  .card-bottom {
    right: 10px;
    bottom: 7%;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid,
  .process-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-heading h2,
  .company-copy h2,
  .contact-copy h2 {
    font-size: clamp(23px, 7vw, 31px);
  }

  .intro-copy {
    padding-top: 0;
  }

  .intro-copy .intro-large {
    font-size: 17px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .feature-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .service-card,
  .service-card-main,
  .service-card-support {
    grid-column: auto;
    grid-row: auto;
    min-height: 370px;
  }

  .process-visual {
    min-height: 480px;
  }

  .process-caption {
    right: 12px;
    bottom: 25px;
  }

  .works-heading,
  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .work-large,
  .work-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .work-wide {
    display: block;
  }

  .work-large .work-image {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .company::before {
    font-size: 200px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .company-logo {
    width: 170px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 26px 22px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
