/*
Theme Name: a way to go
Theme URI:
Author: 株式会社 a way to go
Description: 株式会社 a way to go コーポレートサイト用テーマ
Version: 1.0.0
Text Domain: awtg
*/

:root {
  --bg: #fbfaf7;
  --bg-soft: #f3efe8;
  --surface: #ffffff;
  --surface-warm: #f8f4ed;
  --line: #e5ded3;
  --text: #343332;
  --muted: #74706a;
  --accent: #9a8c7b;
  --accent-dark: #7d7164;
  --shadow: 0 18px 48px rgba(82, 72, 61, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(229, 222, 211, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 2px 0;
  font-weight: 700;
  color: #2f2e2c;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-size: 15px;
  line-height: 1.4;
  min-width: 0;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: #4e4a45;
  font-size: 14px;
  font-weight: 600;
}

.global-nav a {
  transition: color 0.2s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hero {
  position: relative;
  display: block;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: var(--bg);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.04), rgba(251, 250, 247, 0) 54%),
    url("assets/hero-interior.webp") center right / cover no-repeat;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, #fbfaf7 0%, rgba(251, 250, 247, 0.98) 25%, rgba(251, 250, 247, 0.76) 43%, rgba(251, 250, 247, 0.16) 62%, rgba(251, 250, 247, 0) 82%),
    linear-gradient(180deg, rgba(251, 250, 247, 0) 74%, #fbfaf7 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: clamp(110px, 13vw, 180px) clamp(24px, 5vw, 70px);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: #2d2c2a;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

h1 {
  font-size: clamp(38px, 4.2vw, 48px);
}

@media (min-width: 981px) {
  h1 {
    white-space: nowrap;
  }
}

h2 {
  font-size: clamp(30px, 3.5vw, 42px);
}

h3 {
  font-size: 24px;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: #59544e;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-content > * {
  animation: heroFadeUp 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > *:nth-child(1) {
  animation-delay: 80ms;
}

.hero-content > *:nth-child(2) {
  animation-delay: 180ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 280ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 380ms;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-dark);
}

.hero-visual {
  display: none;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.24), transparent 42%);
  opacity: 1;
}

.arch {
  position: absolute;
  right: clamp(36px, 8vw, 110px);
  top: 19%;
  width: min(34vw, 330px);
  aspect-ratio: 0.62;
  border: 34px solid rgba(189, 176, 159, 0.23);
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
  display: none;
}

.vase {
  position: absolute;
  left: clamp(60px, 13vw, 190px);
  bottom: 20%;
  width: 64px;
  height: 104px;
  border-radius: 42% 42% 20px 20px;
  background: linear-gradient(120deg, #ffffff, #d6cec1);
  box-shadow: 0 28px 50px rgba(88, 78, 66, 0.16);
  display: none;
}

.vase::before {
  position: absolute;
  top: -12px;
  left: 21px;
  width: 22px;
  height: 18px;
  border-radius: 50%;
  background: #d9d1c7;
  content: "";
}

.stem {
  position: absolute;
  bottom: 96px;
  left: 31px;
  width: 2px;
  height: 120px;
  transform-origin: bottom;
  background: #7c8a64;
}

.stem::before,
.stem::after {
  position: absolute;
  width: 13px;
  height: 8px;
  border-radius: 50%;
  background: rgba(112, 132, 86, 0.84);
  content: "";
}

.stem::before {
  top: 24px;
  left: -12px;
  transform: rotate(-25deg);
}

.stem::after {
  top: 45px;
  right: -13px;
  transform: rotate(24deg);
}

.stem-one {
  transform: rotate(-22deg);
}

.stem-two {
  height: 145px;
  transform: rotate(6deg);
}

.stem-three {
  height: 112px;
  transform: rotate(28deg);
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 124px) 0;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2::after,
.contact-section h2::after {
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 14px;
  background: var(--accent);
  content: "";
}

.section-heading.centered h2::after,
.contact-section h2::after {
  margin-right: auto;
  margin-left: auto;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 8vw, 96px);
  color: #504d49;
}

.message-grid p {
  margin: 0 0 22px;
}

.philosophy-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(24px, 5vw, 64px);
  padding-left: clamp(24px, 5vw, 64px);
  background: linear-gradient(180deg, var(--bg), #f7f4ee);
}

.philosophy-cards,
.service-cards,
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.card,
.company-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.philosophy-card {
  padding: clamp(28px, 3vw, 38px);
}

.philosophy-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 0 12px;
  object-fit: contain;
}

.card-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
}

.philosophy-card p {
  margin: 0 0 18px;
  color: #55504a;
}

.value-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: value;
}

.value-list li {
  position: relative;
  padding-left: 42px;
  counter-increment: value;
}

.value-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-dark);
  content: counter(value);
  font-size: 13px;
  font-weight: 700;
  line-height: 27px;
  text-align: center;
}

.value-list strong {
  display: block;
  margin-bottom: 6px;
  color: #35322f;
}

.value-list span {
  display: block;
  color: #5c5750;
  font-size: 15px;
  line-height: 1.85;
}

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

.service-card {
  overflow: hidden;
  background: var(--surface);
}

.service-photo {
  position: relative;
  height: 245px;
  min-height: 245px;
  overflow: hidden;
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-photo::before,
.service-photo::after {
  position: absolute;
  content: "";
}

.education-photo {
  background: linear-gradient(180deg, #efe5d6, #faf6ee);
}

.education-photo::before {
  left: 12%;
  bottom: 18%;
  width: 45%;
  height: 25%;
  border-radius: 5px;
  background:
    linear-gradient(#c3ab87 0 9px, #fff 9px 25px, #b99565 25px 33px, #fff 33px 54px),
    #fff;
  box-shadow: 0 -30px 0 -4px #e7dbc9, 0 -58px 0 -10px #cbb895;
  display: none;
}

.education-photo::after {
  right: 13%;
  bottom: 18%;
  width: 30%;
  height: 4px;
  border-radius: 99px;
  background: #8d7d6d;
  box-shadow: 0 -38px 0 -1px rgba(125, 113, 100, 0.45), 24px -58px 0 -1px rgba(125, 113, 100, 0.38);
  display: none;
}

.care-photo {
  background: linear-gradient(180deg, #f2e9dc, #fbf7ef);
}

.care-photo::before {
  right: 8%;
  bottom: 19%;
  width: 42%;
  height: 28%;
  border-radius: 80px 80px 28px 28px;
  background: linear-gradient(135deg, #f8eee1, #c9b69e);
  display: none;
}

.care-photo::after {
  left: 14%;
  top: 18%;
  width: 62px;
  height: 82px;
  border-radius: 22px 22px 12px 12px;
  background: linear-gradient(135deg, #ffffff, #d5ccb9);
  display: none;
}

.service-body {
  padding: clamp(28px, 3vw, 40px);
}

.service-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-warm);
  overflow: visible;
}

.service-icon img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.service-body h3 {
  margin-bottom: 14px;
}

.service-body p {
  margin: 0 0 18px;
  color: #56514c;
}

.service-body .lead {
  color: #3f3b37;
  font-weight: 600;
}

.service-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-link:hover,
.service-link:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.company-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.company-panel {
  padding: clamp(26px, 3.4vw, 40px);
}

.company-panel h3 {
  margin-bottom: 20px;
  font-size: 23px;
}

.company-list {
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.company-list dt {
  color: #4c4741;
  font-weight: 700;
}

.company-list dd {
  min-width: 0;
  margin: 0;
  color: #5b5650;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0 18px 24px;
  border-top: 1px solid var(--line);
}

.timeline li::before {
  position: absolute;
  top: 27px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.timeline time {
  color: #4c4741;
  font-weight: 700;
}

.timeline span {
  color: #5b5650;
}

.contact-section {
  padding: clamp(70px, 9vw, 110px) clamp(24px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(248, 244, 237, 0.94), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 10% 65%, rgba(126, 143, 91, 0.14), transparent 18%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.contact-section p {
  margin: 24px 0 30px;
  color: #5b5650;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.74);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #4c4741;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 12px 14px;
}

.contact-form button {
  min-height: 50px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.contact-form .wpcf7,
.contact-form .wpcf7-form {
  width: 100%;
}

.contact-form .wpcf7-form {
  display: grid;
  gap: 18px;
}

.contact-form .wpcf7-form > p {
  margin: 0;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.contact-form .wpcf7-text,
.contact-form .wpcf7-email,
.contact-form .wpcf7-tel,
.contact-form .wpcf7-select,
.contact-form .wpcf7-textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

.contact-form .wpcf7-text,
.contact-form .wpcf7-email,
.contact-form .wpcf7-tel,
.contact-form .wpcf7-select {
  min-height: 46px;
  padding: 0 14px;
}

.contact-form .wpcf7-textarea {
  padding: 12px 14px;
  resize: vertical;
}

.contact-form .wpcf7-text:focus,
.contact-form .wpcf7-email:focus,
.contact-form .wpcf7-tel:focus,
.contact-form .wpcf7-select:focus,
.contact-form .wpcf7-textarea:focus {
  border-color: var(--accent-dark);
  outline: 3px solid rgba(154, 140, 123, 0.2);
  outline-offset: 1px;
}

.contact-form .wpcf7-acceptance,
.contact-form .wpcf7-acceptance .wpcf7-list-item {
  width: auto;
  margin: 0;
}

.contact-form .wpcf7-acceptance label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.contact-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 5px 0 0;
  flex: 0 0 auto;
}

.contact-form .wpcf7-submit {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-form .wpcf7-submit:hover,
.contact-form .wpcf7-submit:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.contact-form .wpcf7-spinner {
  display: inline-block;
  margin: 10px 0 0 12px;
  vertical-align: middle;
}

.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  padding-left: 10px;
  border-left: 3px solid #9c4f4f;
  color: #713c3c;
  font-size: 14px;
  font-weight: 600;
}

.contact-form .wpcf7-response-output {
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--line) !important;
  border-left: 4px solid var(--accent-dark) !important;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
}

.contact-form .wpcf7-form.sent .wpcf7-response-output {
  border-left-color: #55705a !important;
  background: #f4f8f4;
}

.contact-form .wpcf7-form.invalid .wpcf7-response-output,
.contact-form .wpcf7-form.unaccepted .wpcf7-response-output {
  border-left-color: #9c6a3f !important;
  background: #fff8f1;
}

.contact-form__admin-notice,
.contact-form__fallback {
  margin: 0 !important;
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: #fff;
  color: var(--text) !important;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(24px, 5vw, 64px);
  background: #f6f2eb;
  color: #55504a;
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-footer strong {
  color: #343230;
}

.site-footer a {
  font-weight: 600;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 12px 24px 26px;
    background: rgba(251, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(82, 72, 61, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    visibility: hidden;
  }

  .menu-open .global-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .global-nav a {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    line-height: 52px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    display: block;
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0) 0%, rgba(251, 250, 247, 0.05) 100%),
      url("assets/hero-interior.webp") center bottom / auto 430px no-repeat;
  }

  .hero::after {
    display: block;
    background:
      linear-gradient(180deg, #fbfaf7 0%, #fbfaf7 48%, rgba(251, 250, 247, 0.82) 64%, rgba(251, 250, 247, 0.24) 84%, rgba(251, 250, 247, 0) 100%),
      linear-gradient(90deg, #fbfaf7 0%, rgba(251, 250, 247, 0.92) 24%, rgba(251, 250, 247, 0.48) 62%, rgba(251, 250, 247, 0.06) 100%);
  }

  .hero-content {
    padding-top: 74px;
    padding-bottom: 320px;
  }

  .hero-visual {
    display: none;
  }

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

  .philosophy-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.85;
  }

  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand {
    max-width: calc(100vw - 86px);
    gap: 9px;
  }

  .brand-logo {
    height: 26px;
    flex: 0 0 auto;
  }

  .brand-name {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    text-overflow: ellipsis;
  }

  .global-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-content {
    padding: 58px 22px 300px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.5;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    margin-top: 22px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .hero-visual {
    display: none;
  }

  .arch {
    right: 24px;
    top: 18%;
    width: 190px;
    border-width: 24px;
  }

  .vase {
    left: 58px;
    bottom: 18%;
    transform: scale(0.82);
  }

  .section {
    width: min(100% - 40px, var(--max));
    padding: 66px 0;
  }

  .philosophy-section {
    padding: 66px 20px;
  }

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

  .service-photo {
    height: 205px;
    min-height: 205px;
  }

  .service-link {
    width: 100%;
  }

  .philosophy-card,
  .service-body,
  .company-panel {
    padding: 24px;
  }

  .card-label {
    font-size: 24px;
  }

  .company-list div,
  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .timeline li {
    padding-left: 20px;
  }

  .timeline li::before {
    top: 24px;
  }

  .contact-section {
    padding: 64px 20px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-content > * {
    animation: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
