:root {
  --ink: #111111;
  --muted: #6f665d;
  --paper: #fff9f2;
  --paper-2: #f5eee4;
  --white: #ffffff;
  --brown: #725e4c;
  --brown-dark: #4d3c2f;
  --orange: #ff9226;
  --navy: #1f2244;
  --green: #009f41;
  --line: #e3d7c8;
  --shadow: 0 18px 50px rgba(54, 40, 26, .13);
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 146, 38, .06), transparent 22rem),
    linear-gradient(90deg, rgba(114, 94, 76, .045) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 26px 26px, auto;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 242, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(114, 94, 76, .18);
}

.demo-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: .78rem;
  line-height: 1.5;
}

.demo-bar p {
  margin: 0;
  padding: .38rem 1rem;
}

.header-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--brown);
  border-radius: 8px;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  display: grid;
  line-height: 1.2;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.brand-name small {
  color: var(--brown);
  font-size: .68rem;
  font-weight: 700;
}

.global-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  display: grid;
  gap: .05rem;
  min-height: 58px;
  align-content: center;
  padding: .35rem .72rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.global-nav a small {
  color: var(--orange);
  font-family: var(--serif);
  font-size: .62rem;
  font-weight: 700;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  background: rgba(255, 146, 38, .12);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--brown);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(40deg);
}

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

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-40deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 112px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: min(10vw, 9rem) 2rem 5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .62), rgba(17, 17, 17, .18) 52%, rgba(17, 17, 17, .04)),
    linear-gradient(0deg, rgba(17, 17, 17, .38), transparent 42%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(720px, calc(100vw - 4rem));
  color: var(--white);
}

.hero-kicker,
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--orange);
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1.08;
  font-weight: 700;
}

.hero-copy > p:not(.hero-kicker) {
  max-width: 620px;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
}

.hero-side {
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  display: flex;
  gap: .75rem;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, .85);
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 700;
}

.button-row,
.center-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  margin-top: 1.8rem;
}

.center-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.button::before {
  content: "";
  width: .48rem;
  height: .48rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

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

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

.button.primary:hover {
  color: var(--brown);
  background: var(--white);
  border-color: var(--brown);
}

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

.button.ghost {
  color: var(--brown);
  background: var(--white);
  border-color: var(--brown);
}

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

.section {
  padding: clamp(4.5rem, 8vw, 8rem) 2rem;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.container.narrow {
  width: min(850px, 100%);
}

.section-head {
  width: min(840px, 100%);
  margin: 0 auto 2.5rem;
}

.section-head.center {
  text-align: center;
}

.section-head.compact {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  overflow-wrap: anywhere;
}

.section h2,
.page-hero h1,
.contact-strip h2,
.footer-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.25;
}

.section-head p:not(.eyebrow),
.split-text p,
.contact-strip p,
.footer-cta p {
  color: var(--muted);
}

.news-strip {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: -3rem auto 0;
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-strip li + li {
  border-top: 1px dashed var(--line);
}

.news-strip a {
  display: grid;
  grid-template-columns: 7rem 5.5rem 1fr;
  gap: .8rem;
  align-items: center;
  padding: .45rem 0;
}

.news-strip span,
.tag,
.news-card span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: .18rem .55rem;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.text-link {
  color: var(--brown);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.gallery-section {
  padding-top: 6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .65rem;
}

.gallery-grid img {
  width: 100%;
  height: 20vw;
  max-height: 290px;
  min-height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-column: span 2;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) {
  grid-column: span 2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split.reverse {
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr);
}

.split-text {
  min-width: 0;
}

.split-image img,
.page-hero img,
.work-card img,
.blog-card img,
.feature-row img,
.related-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.split-image img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.reason-grid,
.works-grid,
.blog-grid,
.feature-grid,
.material-grid,
.related-grid {
  display: grid;
  gap: 1.3rem;
}

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

.reason-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: var(--brown);
}

.reason-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: .74;
  transition: transform .45s ease, opacity .45s ease;
}

.reason-card:hover img {
  transform: scale(1.04);
  opacity: .55;
}

.reason-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(22, 15, 10, .84), transparent);
}

.reason-card p,
.reason-card h3,
.reason-card span {
  margin: 0;
}

.reason-card h3 {
  margin: .2rem 0 .8rem;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.natural-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--brown-dark);
}

.natural-bg {
  position: absolute;
  inset: 0;
  opacity: .2;
}

.natural-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.natural-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.natural-content > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
}

.material-grid {
  grid-template-columns: repeat(4, 1fr);
  margin: 2.2rem 0;
}

.material-grid article,
.feature-grid article,
.news-card,
.contact-form,
.phone-panel,
.blog-card,
.work-card,
.related-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(54, 40, 26, .08);
}

.natural-section .material-grid article {
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
}

.material-grid article,
.feature-grid article {
  padding: 1.4rem;
}

.material-grid span {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
}

.material-grid h3,
.feature-grid h3 {
  margin: .4rem 0 .6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}

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

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

.work-card {
  overflow: hidden;
}

.work-card img {
  aspect-ratio: 16 / 10;
  border-radius: 8px 8px 0 0;
}

.work-card > div {
  padding: 1.45rem;
}

.work-card h3,
.blog-card h3,
.news-card h3 {
  margin: .6rem 0 .3rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.meta,
.article-meta,
time {
  color: var(--muted);
  font-size: .88rem;
}

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

.blog-card {
  overflow: hidden;
}

.blog-card img {
  aspect-ratio: 4 / 3;
  border-radius: 8px 8px 0 0;
}

.blog-card div {
  padding: 1.35rem;
}

.blog-card.wide {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
}

.blog-card.wide img {
  height: 100%;
  border-radius: 8px 0 0 8px;
}

.pale {
  background: var(--paper-2);
}

.page-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  padding: 6rem 2rem 4rem;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 17, 17, .66), rgba(17, 17, 17, .18));
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  border-radius: 0;
}

.page-hero-text {
  width: min(860px, 100%);
  margin: 0 auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
}

.lead-copy {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.7;
}

.feature-stack .container {
  display: grid;
  gap: 2rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-row:nth-child(even) {
  grid-template-columns: 1fr 42%;
}

.feature-row:nth-child(even) img {
  order: 2;
}

.feature-row img {
  aspect-ratio: 16 / 10;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.timeline h3 {
  margin: 0 0 .35rem;
  font-family: var(--serif);
  font-size: 1.45rem;
}

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

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--orange);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 2rem;
}

.filter-bar button {
  min-height: 44px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  padding: .4rem 1rem;
  color: var(--brown);
  background: var(--white);
  cursor: pointer;
}

.filter-bar button.is-active {
  color: var(--white);
  background: var(--brown);
}

.faq-list {
  display: grid;
  gap: .9rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 1.3rem;
}

.faq-list summary {
  cursor: pointer;
  padding: 1.15rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-list p {
  margin: 0;
  padding: 0 0 1.15rem;
  color: var(--muted);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 210px;
  background: #f0e5d9;
  font-family: var(--serif);
}

.map-box {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.news-list-page,
.blog-list-page {
  display: grid;
  gap: 1rem;
}

.news-card {
  padding: 1.4rem;
}

.pager {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.pager span,
.pager a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pager span {
  color: var(--white);
  background: var(--brown);
}

.article .container {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.article h2 {
  margin-top: 2rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 5px solid var(--orange);
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 1.15rem;
}

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

.related-grid article {
  overflow: hidden;
}

.related-grid img {
  aspect-ratio: 4 / 3;
  border-radius: 8px 8px 0 0;
}

.related-grid h3,
.related-grid p {
  padding: 0 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.phone-panel {
  padding: 1.2rem;
  margin: 1.4rem 0;
}

.phone-panel span,
.phone-panel small {
  display: block;
  color: var(--muted);
}

.phone-panel strong {
  display: block;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: .35rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .85rem .95rem;
  background: #fffdf9;
}

.form-demo-note,
.privacy-small {
  margin: 0;
  color: var(--brown);
  background: #fff2e1;
  border: 1px solid #ffd3a4;
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .9rem;
}

.privacy-small {
  color: var(--muted);
  background: var(--paper-2);
  border-color: var(--line);
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1fr);
  gap: 0;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 5rem;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.contact-strip-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.contact-strip-text {
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-strip p {
  color: rgba(255, 255, 255, .82);
}

.site-footer {
  color: var(--white);
  background: #201915;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.footer-logo,
.footer-title {
  margin: 0 0 .8rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-address,
.footer-main p {
  color: rgba(255, 255, 255, .76);
}

.footer-links,
.area-tags {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, .86);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
}

.area-tags li {
  padding: .28rem .65rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
}

.copyright {
  margin: 0;
  padding: 1.2rem 2rem 2rem;
  text-align: center;
  color: rgba(255, 255, 255, .62);
  font-size: .8rem;
}

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

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

@media (max-width: 1120px) {
  .header-shell {
    padding: 0 1rem;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 249, 242, .98);
    border-bottom: 1px solid var(--line);
    transition: max-height .3s ease;
  }

  .global-nav.is-open {
    max-height: 78vh;
  }

  .global-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem;
  }

  .global-nav a {
    min-height: 54px;
    background: var(--white);
    border: 1px solid var(--line);
  }
}

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

  .header-shell {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-name strong {
    font-size: 1rem;
  }

  .brand-name small {
    font-size: .58rem;
  }

  .hero {
    min-height: 760px;
    padding: 6.5rem 1.25rem 3rem;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(17, 17, 17, .78), rgba(17, 17, 17, .18) 76%),
      linear-gradient(90deg, rgba(17, 17, 17, .32), rgba(17, 17, 17, .02));
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
    line-height: 1.14;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy > p:not(.hero-kicker) {
    font-size: 1rem;
    line-height: 1.85;
  }

  .hero-side {
    display: none;
  }

  .section {
    padding: 4rem 1.15rem;
  }

  .news-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
    margin-top: -1.6rem;
  }

  .news-strip a {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .gallery-grid,
  .reason-grid,
  .works-grid,
  .works-grid.large,
  .blog-grid,
  .feature-grid,
  .material-grid,
  .related-grid,
  .footer-main,
  .contact-layout,
  .contact-strip,
  .split,
  .split.reverse,
  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) img {
    order: 0;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(n) {
    grid-column: auto;
    min-height: 220px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

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

  .blog-card.wide img {
    height: auto;
    border-radius: 8px 8px 0 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    width: calc(100% - 1rem);
    margin-bottom: 3rem;
  }

  .contact-strip-image img {
    min-height: 260px;
  }

  .footer-cta {
    display: grid;
    padding: 3rem 1.2rem;
  }
}

@media (max-width: 560px) {
  .demo-bar {
    font-size: .68rem;
  }

  .global-nav ul {
    grid-template-columns: 1fr;
  }

  .button,
  .button-row .button {
    width: 100%;
  }

  .page-hero {
    min-height: 390px;
    padding: 4.5rem 1.15rem 3rem;
  }

  .page-hero h1,
  .section h2,
  .contact-strip h2,
  .footer-cta h2 {
    font-size: clamp(1.65rem, 7.2vw, 2.1rem);
    line-height: 1.35;
  }

  .section-head p,
  .split-text p,
  .hero-copy p {
    overflow-wrap: anywhere;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
}
