/* A small color system keeps the design consistent and easy to adjust. */
:root {
  --ink: #18302f;
  --text: #435250;
  --paper: #f8f7f3;
  --white: #ffffff;
  --line: #d9ded9;
  --moss: #516d61;
  --red: #b54c35;
  --dark: #142d2b;
}

/* Border-box makes width and spacing easier to understand. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

/* A visible keyboard focus helps visitors navigate without a mouse. */
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #e29a6f;
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 100px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.1;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(3.4rem, 8vw, 7rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

/* This shared container aligns every section on large screens. */
.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #d8e4dc;
}

/* Header and navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid rgba(24, 48, 47, 0.12);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.86rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--red);
}

/* The hero is intentionally simple: one image, one message, one action. */
.hero {
  position: relative;
  min-height: calc(88svh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 30, 29, 0.82) 0%, rgba(10, 30, 29, 0.42) 58%, rgba(10, 30, 29, 0.18) 100%),
    url("https://images.unsplash.com/photo-1545569341-9eb8b30979d9?auto=format&fit=crop&w=2000&q=88");
  background-position: center;
  background-size: cover;
}

.hero-content {
  padding: 100px 0 145px;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 34px;
  color: #edf2ee;
  font-size: 1.12rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  min-height: 52px;
  gap: 30px;
  padding: 14px 18px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: #9f3e2a;
}

.hero-note {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  transform: translateX(-50%);
}

.hero-note span {
  padding-right: 24px;
  color: #eef3ef;
  font-size: 0.79rem;
}

/* About section. */
.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10%;
  align-items: start;
}

.intro-copy {
  max-width: 650px;
  padding-top: 36px;
}

.intro-copy p {
  margin-bottom: 18px;
}

.intro-copy .lead {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.55;
}

/* The dark service band creates a strong pause between light sections. */
.service-band {
  padding: 66px 0;
  color: #dce5e0;
  background: var(--dark);
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-row article {
  min-height: 170px;
  padding: 12px 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.service-row article:first-child {
  padding-left: 0;
  border-left: 0;
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: #9eb3a8;
  font-size: 0.72rem;
}

.service-row h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.service-row p {
  max-width: 290px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Shared section heading. */
.section-heading {
  max-width: 680px;
  margin-bottom: 58px;
}

.section-heading > p:last-child {
  max-width: 560px;
}

.section-heading.horizontal {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.section-heading.horizontal > p {
  max-width: 440px;
  margin-bottom: 30px;
}

/* The handle list uses clean rows instead of six heavy cards. */
.handle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.handle-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 18px;
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--line);
}

.handle-list article:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.handle-list span {
  grid-row: 1 / 3;
  color: var(--red);
  font-size: 0.72rem;
}

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

.handle-list p {
  font-size: 0.9rem;
}

/* Region cards place destination photography at the center of the page. */
.region-section {
  color: #dbe4df;
  background: var(--dark);
}

.region-section h2,
.region-section h3 {
  color: var(--white);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.region-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: #28433f;
  text-decoration: none;
}

.region-card-large {
  grid-column: span 2;
}

.region-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.region-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(9, 25, 24, 0.9) 100%);
}

.region-card:hover img {
  transform: scale(1.025);
}

.region-card-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.region-card-copy span {
  display: block;
  margin-bottom: 8px;
  color: #d5dfda;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.region-card-copy h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.region-card-copy p {
  max-width: 430px;
  margin-bottom: 0;
  color: #e1e8e4;
  font-size: 0.88rem;
}

/* Arrangement cards read like concise case examples. */
.arrangements-section {
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.case-card {
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.featured-case {
  color: #e3e9e6;
  background: var(--moss);
  border-color: var(--moss);
}

.featured-case h3 {
  color: var(--white);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 52px;
  color: var(--red);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.featured-case .case-meta {
  color: #e1e9e4;
}

.case-card h3 {
  min-height: 58px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.case-card p {
  min-height: 116px;
  font-size: 0.92rem;
}

.case-card ul {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.featured-case ul {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.case-card li {
  padding: 5px 0;
  font-size: 0.82rem;
}

.case-card li::before {
  content: "—";
  margin-right: 9px;
}

/* Why section. */
.why-section {
  background: #eef0eb;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10%;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 44px;
}

.why-points article {
  padding: 28px 0;
  border-top: 1px solid #cbd2cc;
}

.why-points p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Contact section. */
.contact-section {
  color: #dfe8e3;
  background: var(--dark);
}

.contact-section h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12%;
  align-items: end;
}

.contact-intro {
  max-width: 570px;
  margin-bottom: 34px;
  font-size: 1.05rem;
}

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

.light-button:hover {
  color: var(--white);
  background: var(--red);
}

.brief-list {
  padding: 36px 0 0 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.brief-title {
  margin-bottom: 20px;
  color: var(--white);
  font-weight: 700;
}

.brief-list ul {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.brief-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.small-note {
  margin-bottom: 0;
  color: #9fb2a9;
  font-size: 0.78rem;
}

/* Shared footer. */
.site-footer {
  padding: 64px 0 28px;
  color: #b8c5bf;
  background: #0c211f;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-logo {
  margin-bottom: 22px;
  color: var(--white);
}

.footer-brand p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 12px 34px;
  align-content: start;
}

.footer-links a {
  color: #dbe4df;
  font-size: 0.84rem;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
}

/* A quiet arrow link is used for secondary routes between pages. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 3px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--red);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

/* Shared interior-page header and breadcrumb styles. */
.breadcrumb-wrap {
  color: #64736f;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 0.76rem;
}

.breadcrumbs a {
  color: var(--ink);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.page-hero {
  padding: 110px 0;
  color: #dce6e0;
  background: var(--dark);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.35fr);
  gap: 10%;
  align-items: end;
}

.page-hero h1 {
  max-width: 970px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
}

.page-hero-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: #dce6e0;
  font-size: 1.12rem;
}

.profile-mark {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #e7eee9;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.profile-mark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
}

.profile-mark p {
  margin-bottom: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.simple-page-hero .container,
.destination-page-hero .container {
  max-width: 1180px;
}

.simple-page-hero h1,
.destination-page-hero h1 {
  max-width: 1000px;
}

.koyasan-page-hero {
  background: var(--moss);
}

/* Shared interior-page content styles. */
.page-section {
  padding: 104px 0;
  background: var(--white);
}

.tinted-section {
  background: #eef0eb;
}

.dark-section {
  color: #dce6e0;
  background: var(--dark);
}

.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 9%;
  align-items: start;
}

.content-split h2 {
  font-size: clamp(2.35rem, 4.5vw, 4rem);
}

.prose {
  max-width: 700px;
}

.prose p {
  margin-bottom: 20px;
}

.prose .lead {
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.55;
}

.light-prose .lead,
.light-prose p {
  color: #dce6e0;
}

.light-link {
  color: var(--white);
}

.inline-email {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.policy-date {
  margin-top: 34px;
  color: #aebfb6 !important;
  font-size: 0.82rem;
}

.narrow-prose {
  max-width: 680px;
  margin-top: 48px;
}

.section-note {
  max-width: 500px;
}

.compact-heading {
  max-width: 790px;
}

.compact-heading h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

/* Numbered facts and service items. */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid #cbd2cc;
  border-bottom: 1px solid #cbd2cc;
}

.fact-grid article {
  min-height: 190px;
  padding: 30px;
  border-left: 1px solid #cbd2cc;
}

.fact-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact-grid strong {
  display: block;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 400;
}

.fact-grid p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cbd2cc;
}

.service-detail-grid.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.service-detail-grid article {
  padding: 30px 26px 30px 0;
  border-bottom: 1px solid #cbd2cc;
}

.service-detail-grid article:not(:nth-child(3n + 1)) {
  padding-left: 26px;
  border-left: 1px solid #cbd2cc;
}

.service-detail-grid.four-up article:not(:nth-child(3n + 1)) {
  border-left: 0;
}

.service-detail-grid.four-up article:not(:first-child) {
  padding-left: 26px;
  border-left: 1px solid #cbd2cc;
}

.service-detail-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 0.7rem;
}

.service-detail-grid p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

/* Region names on the About page. */
.region-name-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.region-name-list > * {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  text-decoration: none;
}

.region-name-list > *:first-child {
  padding-left: 0;
  border-left: 0;
}

.region-name-list span span,
.region-name-list small,
.region-name-list a span {
  color: #aabbb2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
}

.region-name-list a:hover {
  color: #e6b59e;
}

/* Company fact list. */
.company-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

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

.company-facts div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: #687571;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  color: var(--ink);
}

.company-facts a {
  color: var(--red);
}

/* Destination planning layouts. */
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.route-grid article {
  padding: 34px 32px 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.route-grid article:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.route-label,
.comparison-label {
  color: #afc0b7;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.route-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.route-grid article > p:last-child {
  margin-bottom: 0;
  color: #cbd8d1;
  font-size: 0.88rem;
}

.planning-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.planning-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.planning-list li:first-child {
  border-top: 1px solid var(--line);
}

.planning-list strong {
  color: var(--ink);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.audience-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.audience-grid p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.comparison-grid article {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
}

.comparison-grid .comparison-featured {
  color: #e3e9e6;
  background: var(--moss);
  border-color: var(--moss);
}

.comparison-featured h3 {
  color: var(--white);
}

.comparison-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.comparison-grid ul {
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.comparison-featured ul {
  border-top-color: rgba(255, 255, 255, 0.26);
}

.comparison-grid li {
  padding: 5px 0;
  font-size: 0.84rem;
}

/* FAQ uses native details elements, so no JavaScript is needed. */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--red);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list h3 {
  display: inline;
  margin: 0;
  font-size: 1rem;
}

.faq-list details > p {
  max-width: 650px;
  padding: 0 44px 24px 0;
  margin-bottom: 0;
}

/* Related links and the final call to action. */
.related-strip {
  padding: 30px 0;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.related-grid p {
  margin: 0;
  color: #6a7773;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.related-grid a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.related-grid a:hover {
  color: var(--red);
}

.page-cta {
  padding: 100px 0;
  color: #dfe8e3;
  background: var(--moss);
}

.page-cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 10%;
  align-items: end;
}

.page-cta h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.page-cta-grid > div:last-child > p {
  max-width: 560px;
  margin-bottom: 28px;
}

/* The 404 page uses the same calm visual language as the rest of the site. */
.not-found-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 100px 0;
  color: #dce6e0;
  background: var(--dark);
}

.not-found-content h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

.not-found-content > p:not(.eyebrow) {
  max-width: 570px;
}

.not-found-links {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.not-found-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 0.88rem;
  text-decoration: none;
}

.not-found-links a:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.not-found-links a:hover {
  color: #e6b59e;
}

/* Tablet adjustments. */
@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .hero {
    min-height: 720px;
  }

  .intro-grid,
  .section-heading.horizontal,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro-copy {
    max-width: 760px;
    padding-top: 0;
  }

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

  .region-card-large {
    grid-column: span 2;
  }

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

  .case-card p,
  .case-card h3 {
    min-height: 0;
  }

  .case-meta {
    margin-bottom: 34px;
  }

  .brief-list {
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .page-hero-grid,
  .content-split,
  .company-layout,
  .page-cta-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .profile-mark {
    min-height: 160px;
  }

  .service-detail-grid.four-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-grid.four-up article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .region-name-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .region-name-list > *:nth-child(4) {
    border-left: 0;
  }
}

/* Phone adjustments keep every section comfortable and readable. */
@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 80px 0;
  }

  .nav {
    gap: 14px;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 3px;
  }

  .nav-links a {
    flex-shrink: 0;
  }

  .hero {
    min-height: 690px;
    background-position: 62% center;
  }

  .hero-content {
    padding: 90px 0 170px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .hero-note {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

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

  .service-row article,
  .service-row article:first-child {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .service-row article:first-child {
    border-top: 0;
  }

  .service-number {
    margin-bottom: 14px;
  }

  .handle-list {
    grid-template-columns: 1fr;
  }

  .handle-list article,
  .handle-list article:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }

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

  .region-card,
  .region-card-large {
    min-height: 380px;
    grid-column: auto;
  }

  .region-card-copy {
    padding: 24px;
  }

  .case-card {
    padding: 28px 24px;
  }

  .why-points {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: 76px 0;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .page-section,
  .page-cta {
    padding: 76px 0;
  }

  .fact-grid,
  .service-detail-grid,
  .service-detail-grid.four-up,
  .region-name-list,
  .route-grid,
  .audience-grid,
  .comparison-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid article,
  .fact-grid article:first-child,
  .service-detail-grid article,
  .service-detail-grid article:not(:nth-child(3n + 1)),
  .service-detail-grid.four-up article:not(:first-child),
  .region-name-list > *,
  .region-name-list > *:first-child,
  .region-name-list > *:nth-child(4),
  .route-grid article,
  .route-grid article:nth-child(even) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-left: 0;
  }

  .region-name-list > * {
    min-height: 120px;
  }

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .comparison-grid article {
    padding: 28px 24px;
  }

  .related-grid a {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .not-found-links {
    grid-template-columns: 1fr;
  }

  .not-found-links a,
  .not-found-links a:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }
}

/* Visitors who prefer less motion should not see smooth scrolling or image zooms. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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