:root {
  --ivory: #f3f0e8;
  --ivory-light: #faf8f3;
  --paper: #fffdf8;
  --ink: #11110f;
  --ink-soft: #2d2b27;
  --gray: #77736b;
  --line: rgba(17, 17, 15, 0.16);
  --line-light: rgba(255, 253, 248, 0.16);
  --brass: #a58b5b;
  --brass-light: #c9b27f;
  --brand-red: #d22147;
  --font-mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --shell: min(100% - 96px, 1320px);
  --section-space: clamp(112px, 12vw, 190px);
  --ease-rich: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
}

.capture-mode .scroll-progress {
  display: none;
}

.capture-mode {
  scroll-behavior: auto;
  scrollbar-width: none;
}

.capture-mode::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.capture-mode .site-header {
  position: absolute;
}

.capture-mode .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero {
  min-height: 100svh;
  padding: 84px 0 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(201, 178, 127, 0.16), transparent 31%),
    var(--ivory-light);
}

.hero-grid {
  width: var(--shell);
  min-height: calc(100svh - 174px);
  margin-inline: auto;
  padding-block: clamp(72px, 8vw, 120px) 58px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(52px, 6vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--brass);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: clamp(34px, 4vw, 58px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 640px;
  animation: hero-fade 700ms var(--ease-rich) 80ms both;
}

.hero-eyebrow span:last-child {
  color: var(--gray);
  font-family: var(--font-sans);
  font-size: 13px;
}

.hero-title {
  font-family: var(--font-mincho);
  font-size: clamp(40px, 3.9vw, 56px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-line > span {
  display: block;
  white-space: nowrap;
  animation: hero-line-in 950ms var(--ease-rich) both;
}

.hero-line:nth-child(2) > span {
  animation-delay: 130ms;
}

.hero-lead {
  margin-top: clamp(30px, 3.4vw, 48px);
  padding-left: 26px;
  border-left: 1px solid var(--brass);
  color: var(--ink-soft);
  font-family: var(--font-mincho);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 2;
  letter-spacing: 0.04em;
  animation: hero-fade 760ms var(--ease-rich) 320ms both;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: hero-fade 760ms var(--ease-rich) 430ms both;
}

.button {
  min-height: 56px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  border: 1px solid currentColor;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease-rich);
}

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

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 3px 0 0 var(--brand-red);
}

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

.button-light {
  border-color: var(--paper);
  color: var(--paper);
}

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

.button-arrow {
  color: var(--brand-red);
  transition: transform 220ms var(--ease-rich);
}

.button:hover .button-arrow {
  transform: translate(3px, -3px);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: border-color 220ms ease, color 220ms ease;
}

.text-link:hover {
  border-bottom-color: var(--brass);
  color: var(--brass);
}

.hero-proof {
  margin-top: clamp(42px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: 0.08em;
  animation: hero-fade 760ms var(--ease-rich) 560ms both;
}

.proof-mark {
  width: 6px;
  height: 6px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  overflow: hidden;
  background: #d9d2c4;
  animation: hero-visual-in 1050ms var(--ease-rich) 100ms both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.03), rgba(17, 17, 15, 0.18)),
    linear-gradient(90deg, rgba(243, 240, 232, 0.04), transparent 30%);
  pointer-events: none;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.58) sepia(0.08);
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 22px 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-visual-index {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.42);
  color: var(--paper);
  font-family: var(--font-mincho);
  font-size: 13px;
}

.hero-domains {
  width: var(--shell);
  min-height: 90px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 3fr auto;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
}

.hero-domains-label {
  color: var(--gray);
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-domains ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-domains li {
  padding-inline: 18px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-domains a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

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

.section-index {
  position: absolute;
  top: 42px;
  right: 48px;
  color: rgba(17, 17, 15, 0.1);
  font-family: var(--font-mincho);
  font-size: clamp(74px, 8vw, 132px);
  font-weight: 500;
  line-height: 1;
}

.section h2 {
  font-family: var(--font-mincho);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0.025em;
}

.section-intro {
  width: 58%;
}

.section-intro .eyebrow,
.service-heading .eyebrow,
.strength-intro .eyebrow,
.works-intro .eyebrow,
.home-blog-intro .eyebrow {
  margin-bottom: 28px;
}

.philosophy {
  background: var(--paper);
}

.philosophy-layout {
  margin-top: clamp(70px, 8vw, 124px);
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(70px, 9vw, 146px);
  align-items: start;
}

.philosophy-image {
  position: sticky;
  top: 128px;
}

.philosophy-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(0.9);
}

.philosophy-image p {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.story-opening {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mincho);
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.8;
}

.story-body {
  padding-block: 48px 38px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.35;
}

.story-body p + p {
  margin-top: 24px;
}

.pull-quote {
  margin-block: 38px 52px;
  padding: 48px 42px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 178, 127, 0.14), transparent 48%),
    var(--ivory-light);
}

.quote-label {
  color: var(--brass);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pull-quote p {
  margin-top: 22px;
  font-family: var(--font-mincho);
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.8;
}

.philosophy-conclusion {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 145px 1fr;
  border-top: 1px solid var(--line);
}

.philosophy-conclusion span,
.philosophy-conclusion p {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.philosophy-conclusion span {
  color: var(--brass);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.philosophy-conclusion p {
  color: var(--ink-soft);
  font-size: 13px;
}

.section-ink {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.section-ink .section-index {
  color: rgba(255, 253, 248, 0.08);
}

.service-heading {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 80px;
  align-items: end;
}

.service-heading > p {
  padding-bottom: 12px;
  color: rgba(255, 253, 248, 0.54);
  font-size: 14px;
  line-height: 2.1;
}

.service-list {
  margin-top: clamp(70px, 8vw, 116px);
  border-top: 1px solid var(--line-light);
}

.service-card {
  position: relative;
  min-height: 188px;
  display: grid;
  grid-template-columns: 70px 1.4fr 1fr 1.1fr 44px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line-light);
  transition: background 220ms ease, padding 220ms var(--ease-rich);
}

.service-card:hover {
  padding-inline: 18px;
  background: rgba(255, 253, 248, 0.04);
}

.service-number {
  color: var(--brass-light);
  font-family: var(--font-mincho);
  font-size: 13px;
}

.service-card-title > span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 253, 248, 0.32);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.service-card h3 {
  font-family: var(--font-mincho);
  font-size: clamp(21px, 2.1vw, 31px);
  font-weight: 700;
}

.service-card > p {
  color: rgba(255, 253, 248, 0.58);
  font-size: 13px;
  line-height: 2;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-card li {
  padding: 7px 11px;
  border: 1px solid rgba(201, 178, 127, 0.36);
  background: rgba(165, 139, 91, 0.1);
  color: rgba(226, 201, 148, 0.9);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.service-arrow {
  color: var(--brass-light);
  font-size: 20px;
  transition: transform 220ms var(--ease-rich);
}

.service-card:hover .service-arrow {
  transform: translate(4px, -4px);
}

.section-action {
  margin-top: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}

.section-action p {
  color: rgba(255, 253, 248, 0.4);
  font-size: 13px;
}

.products {
  background: var(--paper);
}

.products-intro {
  display: grid;
  grid-template-columns: 7fr 4fr;
  align-items: end;
  gap: 80px;
}

.products-intro .eyebrow {
  margin-bottom: 28px;
}

.products-intro > p {
  max-width: 440px;
  padding-bottom: 12px;
  color: var(--gray);
  font-size: 14px;
  line-height: 2.2;
}

.products-grid {
  margin-top: clamp(70px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 36px);
}

.product-card {
  border: 1px solid rgba(165, 139, 91, 0.24);
  background:
    linear-gradient(145deg, rgba(201, 178, 127, 0.08), transparent 38%),
    var(--ivory-light);
  transition: transform 240ms var(--ease-rich), box-shadow 240ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 46px rgba(17, 17, 15, 0.08);
}

.product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f2f3f3;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 500ms var(--ease-rich);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.05) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 72px 72px;
  color: var(--paper);
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

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

.product-card-image span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 15, 0.2);
  background: rgba(255, 253, 248, 0.88);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
}

.product-card-body {
  padding: clamp(26px, 2.6vw, 36px);
}

.product-card-label {
  color: var(--brass);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-card h3 {
  margin-top: 14px;
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-card-body > p:not(.product-card-label) {
  margin-top: 18px;
  color: var(--gray);
  font-size: 14px;
  line-height: 2;
}

.product-card-link {
  min-height: 44px;
  margin-top: 28px;
  padding-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.product-card-link:hover,
.product-card-link:focus-visible {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.products-note {
  margin-top: 32px;
  color: var(--gray);
  font-size: 13px;
  text-align: right;
}

.strength {
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 178, 127, 0.14), transparent 30rem),
    linear-gradient(90deg, transparent 49.95%, rgba(17, 17, 15, 0.05) 50%, transparent 50.05%),
    var(--ivory);
}

.strength-intro,
.works-intro,
.home-blog-intro {
  display: grid;
  grid-template-columns: 7fr 4fr;
  align-items: end;
  gap: 80px;
}

.strength-intro > p,
.works-intro > p,
.home-blog-intro > p {
  max-width: 420px;
  padding-bottom: 12px;
  color: var(--gray);
  font-size: 14px;
  line-height: 2.2;
}

.strength-grid {
  margin-top: clamp(72px, 8vw, 118px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.strength-grid li {
  position: relative;
  min-height: 285px;
  padding: 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.22);
  transition: background 220ms ease;
}

.strength-grid li:hover {
  background: rgba(201, 178, 127, 0.13);
}

.strength-grid span {
  color: var(--brass);
  font-family: var(--font-mincho);
  font-size: 13px;
}

.strength-grid h3 {
  margin-top: 72px;
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 700;
}

.strength-grid p {
  margin-top: 16px;
  color: var(--gray);
  font-size: 13px;
}

.works {
  background: var(--paper);
}

.works-grid {
  margin-top: clamp(48px, 6vw, 78px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.work-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 250ms var(--ease-rich), border-color 250ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 17, 15, 0.32);
}

.work-card-inner {
  display: block;
}

.work-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #eae6df 0%, #dcd7ce 100%);
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 700ms var(--ease-rich);
}

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

.work-card-body {
  padding: 24px;
}

.work-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  transition: color 180ms ease;
}

.work-card:hover h3 {
  color: var(--brass);
}

.work-card-body > p {
  margin-bottom: 16px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.9;
}

.work-card-link {
  min-height: 44px;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: border-color 180ms ease;
}

.work-card:hover .work-card-link {
  border-bottom-color: var(--ink);
}

.works-action {
  margin-top: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.works-action p {
  color: var(--gray);
  font-size: 13px;
}

.works-action .button {
  min-width: 240px;
}

.works-empty {
  margin-top: clamp(70px, 8vw, 116px);
  padding: 40px;
  border: 1px solid var(--line);
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}

.home-blog {
  background:
    radial-gradient(circle at 8% 15%, rgba(201, 178, 127, 0.13), transparent 25rem),
    var(--ivory);
}

.home-blog-grid {
  margin-top: clamp(48px, 6vw, 78px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.home-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 250ms var(--ease-rich), border-color 250ms ease;
}

.home-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 17, 15, 0.32);
}

.home-blog-card-inner {
  display: block;
}

.home-blog-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #eae6df 0%, #dcd7ce 100%);
}

.home-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 700ms var(--ease-rich);
}

.home-blog-card:hover .home-blog-card-thumb img {
  transform: scale(1.05);
}

.home-blog-card-body {
  padding: 24px;
}

.home-blog-card-cat {
  margin-bottom: 8px;
  display: block;
  color: var(--brass);
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.home-blog-card-title {
  margin-bottom: 8px;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  transition: color 180ms ease;
}

.home-blog-card:hover .home-blog-card-title {
  color: var(--brass);
}

.home-blog-card-date {
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.home-blog-card-excerpt {
  margin-bottom: 16px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.9;
}

.home-blog-card-link {
  min-height: 44px;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: border-color 180ms ease;
}

.home-blog-card:hover .home-blog-card-link {
  border-bottom-color: var(--ink);
}

.home-blog-action {
  margin-top: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.home-blog-action p {
  color: var(--gray);
  font-size: 13px;
}

.home-blog-action .button {
  min-width: 240px;
}

.home-blog-empty {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px solid var(--line);
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-rich), transform 700ms var(--ease-rich);
}

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

@keyframes hero-line-in {
  from {
    transform: translateY(108%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 56px, 960px);
  }

  .hero-grid {
    gap: 52px;
  }

  .hero-title {
    font-size: clamp(37px, 3.9vw, 48px);
  }

  .hero-domains {
    grid-template-columns: 1fr 3fr;
  }

  .hero-domains > a {
    display: none;
  }

  .service-card {
    grid-template-columns: 54px 1.3fr 1fr 44px;
    grid-template-rows: auto auto;
    padding-block: 30px;
  }

  .service-number {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .service-card-title {
    grid-column: 2;
    grid-row: 1;
  }

  .service-card > p {
    grid-column: 3;
    grid-row: 1;
  }

  .service-card ul {
    grid-column: 2 / 4;
    grid-row: 2;
    margin-top: -4px;
  }

  .service-arrow {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .strength-grid li {
    min-height: 250px;
    padding: 32px;
  }

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

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

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

}

@media (max-width: 767px) {
  :root {
    --shell: min(100% - 40px, 620px);
    --section-space: 104px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 66px 42px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-eyebrow {
    margin-bottom: 30px;
  }

  .hero-eyebrow span:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(34px, 10.6vw, 48px);
    line-height: 1.5;
    letter-spacing: 0;
  }

  .hero-line > span {
    white-space: normal;
  }

  .hero-lead {
    margin-top: 26px;
    padding-left: 18px;
    font-size: 14px;
  }

  .hero-actions {
    margin-top: 30px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-proof {
    margin-top: 38px;
    align-items: flex-start;
    line-height: 1.8;
  }

  .proof-mark {
    margin-top: 7px;
    flex: 0 0 auto;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-visual figcaption {
    inset: auto 14px 13px;
  }

  .hero-domains {
    min-height: 0;
    padding-block: 22px 26px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-domains ul {
    flex-wrap: wrap;
    gap: 9px 0;
  }

  .hero-domains li {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero-domains li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .section-index {
    top: 28px;
    right: 18px;
    font-size: 72px;
  }

  .section h2 {
    font-size: clamp(31px, 8.8vw, 42px);
    line-height: 1.58;
  }

  .section-intro {
    width: 100%;
  }

  .philosophy-layout {
    margin-top: 56px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .philosophy-image {
    position: relative;
    top: auto;
  }

  .philosophy-image img {
    aspect-ratio: 4 / 4.7;
  }

  .story-opening {
    padding-bottom: 32px;
    font-size: 23px;
  }

  .story-body {
    padding-block: 36px 28px;
    font-size: 14px;
  }

  .pull-quote {
    margin-block: 28px 40px;
    padding: 34px 25px;
  }

  .pull-quote p {
    font-size: 21px;
  }

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

  .philosophy-conclusion span {
    padding-bottom: 5px;
    border-bottom: 0;
  }

  .philosophy-conclusion p {
    padding-top: 4px;
  }

  .service-heading,
  .products-intro,
  .strength-intro,
  .works-intro,
  .home-blog-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-heading > p,
  .products-intro > p,
  .strength-intro > p,
  .works-intro > p,
  .home-blog-intro > p {
    padding-bottom: 0;
    font-size: 13px;
  }

  .service-list {
    margin-top: 56px;
  }

  .service-card {
    min-height: 0;
    padding-block: 30px;
    grid-template-columns: 38px 1fr 30px;
    grid-template-rows: auto auto auto;
    gap: 14px;
  }

  .service-card:hover {
    padding-inline: 0;
  }

  .service-number {
    grid-column: 1;
    grid-row: 1;
  }

  .service-card-title {
    grid-column: 2;
    grid-row: 1;
  }

  .service-card > p {
    grid-column: 2 / -1;
    grid-row: 2;
    padding-right: 18px;
    font-size: 13px;
  }

  .service-card ul {
    grid-column: 2 / -1;
    grid-row: 3;
    margin-top: 2px;
    padding-right: 8px;
  }

  .service-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .section-action {
    margin-top: 48px;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .section-action .button {
    width: 100%;
  }

  .strength {
    background: var(--ivory);
  }

  .products-grid {
    margin-top: 56px;
    grid-template-columns: 1fr;
  }

  .product-card-body {
    padding: 28px 24px 32px;
  }

  .products-note {
    margin-top: 24px;
    text-align: left;
  }

  .strength-grid {
    margin-top: 58px;
    grid-template-columns: 1fr;
  }

  .strength-grid li {
    min-height: 0;
    padding: 30px 26px;
  }

  .strength-grid h3 {
    margin-top: 38px;
    font-size: 20px;
  }

  .works-grid {
    margin-top: 56px;
    grid-template-columns: 1fr;
  }

  .work-card {
    max-width: none;
  }

  .work-card-body {
    padding: 22px 20px;
  }

  .work-card h3 {
    font-size: 17px;
  }

  .works-action {
    margin-top: 42px;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .works-action .button {
    width: 100%;
  }

  .home-blog-grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .home-blog-card-body {
    padding: 22px 20px;
  }

  .home-blog-action {
    margin-top: 42px;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .home-blog-action .button {
    width: 100%;
  }

}

@media (max-width: 370px) {
  :root {
    --shell: calc(100% - 30px);
  }

  .hero-title {
    font-size: 32px;
  }

  .button {
    gap: 20px;
  }

}

@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;
  }

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