@charset "UTF-8";

/* ==========================================================================
   雅星文化传媒 / site styles
   1. Fonts & tokens
   2. Base
   3. Header & menu
   4. Home hero
   5. Common sections
   6. Home sections
   7. Inner page hero
   8. Services
   9. Work / cases
   10. About
   11. Journal
   12. Contact & forms
   13. Utility pages & footer
   14. Responsive
   ========================================================================== */

/* 1. Fonts & tokens
   ========================================================================== */
@font-face {
  font-family: "Noto Serif SC";
  src: url("fonts/noto-serif-sc-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #12110f;
  --ink-soft: #23211d;
  --paper: #f3f0e8;
  --paper-deep: #e8e2d6;
  --paper-light: #faf8f2;
  --accent: #d94a2f;
  --accent-deep: #b83a22;
  --muted: #6f6a60;
  --muted-light: #a9a49a;
  --line: rgba(18, 17, 15, 0.16);
  --line-strong: rgba(18, 17, 15, 0.32);
  --line-light: rgba(243, 240, 232, 0.22);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("../images/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--paper-light);
}

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

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

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

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

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

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

em {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.display {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display em {
  color: var(--accent-deep);
}

.display--xl {
  font-size: clamp(3.4rem, 6.1vw, 6.6rem);
  line-height: 1.04;
}

.display--lg {
  font-size: clamp(2.9rem, 4.8vw, 5.2rem);
}

.display--md {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
}

.display--sm {
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--accent);
  transform: rotate(45deg);
}

.kicker--light {
  color: rgba(243, 240, 232, 0.68);
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.85;
  letter-spacing: 0.005em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn span {
  font-size: 15px;
  transition: transform 0.35s var(--ease);
}

.btn:hover span {
  transform: translate(3px, -3px);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper-light);
}

.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--light {
  border-color: rgba(243, 240, 232, 0.55);
  color: var(--paper-light);
}

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

.btn--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}

.btn--dark:hover {
  background: transparent;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link--light {
  color: var(--paper);
  border-color: rgba(243, 240, 232, 0.4);
}

.text-link--light:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 3. Header & menu
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  color: var(--paper);
  transition: color 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 240, 232, 0.93);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
}

.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--line);
}

.page-inner .site-header {
  color: var(--ink);
}

.page-inner .site-header::before {
  opacity: 1;
  border-bottom-color: var(--line);
}

body.menu-open .site-header {
  color: var(--paper);
}

body.menu-open .site-header::before {
  opacity: 0;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.brand__word {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand__en {
  margin-left: 2px;
  padding-left: 9px;
  border-left: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: 0.17em;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
  margin-right: clamp(12px, 2vw, 28px);
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.86;
  transition: opacity 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, color 0.3s ease;
}

.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper-light);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border: 0;
  background: none;
}

.menu-toggle__label {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 23px;
  height: 12px;
}

.menu-toggle__bars i {
  position: absolute;
  right: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle__bars i:first-child {
  top: 2px;
}

.menu-toggle__bars i:last-child {
  top: 9px;
  width: 70%;
}

body.menu-open .menu-toggle__bars i:first-child {
  top: 6px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle__bars i:last-child {
  top: 6px;
  width: 100%;
  transform: rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  background: var(--ink);
  color: var(--paper);
  visibility: hidden;
  transform: translateY(-102%);
  transition: transform 0.72s var(--ease-out), visibility 0.72s;
}

body.menu-open .menu-panel {
  visibility: visible;
  transform: none;
}

.menu-panel__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 116px var(--gutter) 44px;
}

.menu-panel__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(243, 240, 232, 0.55);
}

.menu-panel__nav {
  display: flex;
  flex-direction: column;
  margin: 5vh 0 auto;
}

.menu-panel__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(243, 240, 232, 0.13);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 7.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.menu-num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(243, 240, 232, 0.45);
}

.menu-panel__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(243, 240, 232, 0.66);
}

.menu-panel__foot a {
  color: var(--paper);
}

/* 4. Home hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: clamp(104px, 13vh, 160px) var(--gutter) 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: stretch;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  flex: 1;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-bottom: clamp(34px, 6vh, 68px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(243, 240, 232, 0.58);
}

.eyebrow__star {
  color: var(--accent);
  font-size: 12px;
}

.hero__title {
  margin: clamp(38px, 7vh, 80px) 0 0;
  font-family: var(--serif);
  font-size: clamp(4.1rem, 9.4vw, 9.6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__lower {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-top: clamp(34px, 7vh, 76px);
}

.hero__lead {
  max-width: 470px;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.9;
  color: rgba(243, 240, 232, 0.7);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 0 0 auto;
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 17px 0 19px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  color: rgba(243, 240, 232, 0.48);
}

.hero__bar-item--center {
  color: rgba(243, 240, 232, 0.7);
}

.hero__visual {
  position: relative;
  min-height: clamp(460px, 65vh, 720px);
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  background: #2a2722;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.hero-photo--main {
  top: 0;
  right: 0;
  width: 78%;
  aspect-ratio: 4 / 5;
  transform: rotate(1.6deg);
}

.hero-photo--main figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: rgba(18, 17, 15, 0.72);
  color: rgba(243, 240, 232, 0.85);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-photo--sub {
  bottom: 7%;
  left: 0;
  width: 53%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(243, 240, 232, 0.22);
  transform: rotate(-2.4deg);
}

.hero-stamp {
  position: absolute;
  top: 4%;
  left: 2%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(88px, 8vw, 122px);
  height: clamp(88px, 8vw, 122px);
  border: 1px solid rgba(243, 240, 232, 0.34);
  border-radius: 50%;
  background: rgba(18, 17, 15, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-stamp__ring {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  animation: stamp-spin 26s linear infinite;
}

.hero-stamp__ring text {
  fill: rgba(243, 240, 232, 0.72);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.hero-stamp__star {
  color: var(--accent);
  font-size: 21px;
  line-height: 1;
}

@keyframes stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__caption {
  position: absolute;
  right: 3px;
  bottom: 1%;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(243, 240, 232, 0.42);
}

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 13px 0;
  background: var(--accent);
  color: var(--paper-light);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  display: inline-block;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.marquee__star {
  padding: 0 !important;
  font-size: 9px !important;
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 5. Common sections
   ========================================================================== */
.section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(78px, 9.5vw, 146px) var(--gutter);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head__note {
  max-width: 300px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.section-link span {
  transition: transform 0.3s var(--ease);
}

.section-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.section-link:hover span {
  transform: translate(3px, -3px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.45fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}

.section-intro p {
  max-width: 330px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.section-intro--tight {
  margin-bottom: clamp(38px, 4vw, 62px);
}

/* 6. Home sections
   ========================================================================== */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.intro__copy {
  max-width: 460px;
  padding-bottom: 5px;
}

.intro__copy .lead {
  margin-bottom: 22px;
  font-weight: 500;
}

.intro__copy p:not(.lead) {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.intro__media {
  position: relative;
  margin-top: clamp(48px, 7vw, 94px);
}

.intro__image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--paper-deep);
}

.intro__media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px) clamp(18px, 3vw, 42px);
}

.work-card--w7 {
  grid-column: span 7;
}

.work-card--w5 {
  grid-column: span 5;
}

.work-card--w6 {
  grid-column: span 6;
}

.work-card--offset {
  margin-top: clamp(34px, 6vw, 86px);
}

.work-card {
  min-width: 0;
}

.work-card__link {
  display: block;
}

.work-card__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.work-card--w7 .work-card__media {
  aspect-ratio: 16 / 10;
}

.work-card--w5 .work-card__media {
  aspect-ratio: 4 / 5;
}

.work-card--w6 .work-card__media {
  aspect-ratio: 16 / 10;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.6s ease;
}

.work-card__link:hover .work-card__media img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.work-card__index {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  background: rgba(243, 240, 232, 0.9);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.work-card__arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 240, 232, 0.7);
  border-radius: 50%;
  background: rgba(18, 17, 15, 0.42);
  color: var(--paper-light);
  font-size: 17px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.35s ease, transform 0.35s var(--ease), border-color 0.35s ease;
}

.work-card__link:hover .work-card__arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(2px, -2px);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.work-card__title {
  max-width: 94%;
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
  transition: color 0.3s ease;
}

.work-card__link:hover .work-card__title {
  color: var(--accent-deep);
}

.work-card__summary {
  max-width: 90%;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.services-band {
  padding: clamp(78px, 9vw, 132px) var(--gutter);
  background: var(--ink);
  color: var(--paper);
}

.services-band__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.services-band__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.55fr);
  gap: 30px 70px;
  align-items: end;
  padding-top: 13px;
  border-top: 1px solid var(--line-light);
  margin-bottom: clamp(44px, 6vw, 76px);
}

.services-band__head .kicker {
  grid-column: 1 / -1;
}

.services-band__lead {
  max-width: 330px;
  padding-bottom: 5px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(243, 240, 232, 0.58);
}

.service-list {
  border-top: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  grid-template-columns: 48px minmax(160px, 1.05fr) minmax(220px, 1.55fr) minmax(130px, 0.8fr) 34px;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), color 0.35s ease;
}

.service-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--accent);
}

.service-row__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(243, 240, 232, 0.44);
}

.service-row:hover .service-row__num,
.service-row:hover .service-row__tags {
  color: rgba(250, 248, 242, 0.7);
}

.service-row__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-row__name small {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.45;
}

.service-row__desc {
  max-width: 430px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(243, 240, 232, 0.6);
}

.service-row:hover .service-row__desc {
  color: var(--paper-light);
}

.service-row__tags {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: rgba(243, 240, 232, 0.44);
}

.service-row__arrow {
  justify-self: end;
  font-size: 18px;
  transition: transform 0.35s var(--ease);
}

.service-row:hover .service-row__arrow {
  transform: translate(4px, -4px);
}

.services-band__note {
  margin-top: 26px;
  font-size: 12px;
  color: rgba(243, 240, 232, 0.55);
}

.services-band__note a {
  margin-left: 6px;
  color: var(--paper);
  border-bottom: 1px solid rgba(243, 240, 232, 0.44);
}

.approach {
  max-width: none;
  background: var(--paper-deep);
}

.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  max-width: 1500px;
  margin: 0 auto;
}

.approach__head {
  align-self: start;
}

.approach__head h2 {
  margin: 22px 0 28px;
}

.approach__head > p:last-child {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.process-step {
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}

.process-step__num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

.process-step h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.process-step p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.about-teaser__media {
  position: relative;
}

.about-teaser__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-teaser__tag {
  position: absolute;
  right: -12px;
  bottom: 24px;
  padding: 7px 12px;
  background: var(--accent);
  color: var(--paper-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.about-teaser__copy h2 {
  margin: 22px 0 24px;
}

.about-teaser__copy > p:not(.kicker) {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.cap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 32px 0;
  border-top: 1px solid var(--line);
}

.cap-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cap-list span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent-deep);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
}

.article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.article-card__media {
  overflow: hidden;
  background: var(--paper-deep);
}

.article-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.article-card__link:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-card h3 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-wrap: balance;
  transition: color 0.3s ease;
}

.article-card__link:hover h3 {
  color: var(--accent-deep);
}

.article-card p {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.article-card .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.contact-cta {
  padding: clamp(78px, 9vw, 130px) var(--gutter);
  background: var(--accent);
  color: var(--paper-light);
}

.contact-cta__inner {
  max-width: 1560px;
  margin: 0 auto;
}

.contact-cta .kicker {
  color: rgba(250, 248, 242, 0.68);
}

.contact-cta .kicker::before {
  background: var(--ink);
}

.contact-cta__title {
  margin: 24px 0 clamp(48px, 7vw, 84px);
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7.4vw, 7.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.contact-cta__title em {
  color: var(--ink);
}

.contact-cta__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(240px, 0.9fr) auto;
  gap: 28px;
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 248, 242, 0.26);
}

.contact-cta__phone {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-cta__phone:hover {
  color: var(--ink);
}

.contact-cta__address {
  max-width: 320px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(250, 248, 242, 0.78);
}

.contact-cta__note {
  max-width: 500px;
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(250, 248, 242, 0.66);
}

.contact-cta--compact {
  padding-top: clamp(62px, 7vw, 96px);
  padding-bottom: clamp(62px, 7vw, 96px);
}

.contact-cta--compact .contact-cta__title {
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  margin-bottom: clamp(38px, 5vw, 58px);
}

/* 7. Inner page hero
   ========================================================================== */
.page-inner {
  background: var(--paper);
}

.page-hero {
  padding: clamp(122px, 16vh, 190px) var(--gutter) clamp(54px, 7vw, 92px);
}

.page-hero__inner {
  max-width: 1530px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(34px, 5vw, 64px);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumbs a {
  transition: color 0.25s ease;
}

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

.breadcrumbs__sep {
  opacity: 0.4;
}

.page-hero__title {
  max-width: 1200px;
  margin: 20px 0 0;
  font-size: clamp(3.4rem, 8.2vw, 8.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-hero__lower {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  gap: 30px 70px;
  align-items: end;
  margin-top: clamp(34px, 5vw, 60px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-hero__lower .lead {
  max-width: 650px;
}

.page-hero__note {
  max-width: 300px;
  justify-self: end;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.page-hero--services {
  padding-bottom: 0;
}

.page-hero--services .page-hero__inner {
  max-width: 1530px;
}

.page-hero--service {
  padding-top: clamp(118px, 15vh, 170px);
  padding-bottom: 0;
}

.page-hero__service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 40px 80px;
  align-items: end;
  margin-top: 20px;
}

.page-hero__service-grid .page-hero__title {
  margin-top: 0;
  font-size: clamp(3.7rem, 8.2vw, 8.4rem);
}

.page-hero__service-grid .page-hero__title em {
  display: block;
  max-width: 17em;
  margin-top: 26px;
  font-size: 0.29em;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.page-hero__service-copy {
  padding-bottom: 8px;
}

.page-hero__service-copy .lead {
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.page-hero--simple .page-hero__title {
  font-size: clamp(3.4rem, 6.6vw, 7rem);
}

.page-hero--simple .page-hero__lower {
  display: block;
  max-width: 660px;
}

.page-hero--contact .page-hero__lower {
  align-items: center;
}

.contact-quick {
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 8px 22px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.contact-quick span {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-quick:hover {
  color: var(--accent-deep);
}

/* 8. Services
   ========================================================================== */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 6vw, 80px) clamp(24px, 4vw, 54px);
}

.service-card__link {
  display: block;
}

.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.service-card__link:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 25px;
  background: rgba(243, 240, 232, 0.9);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.service-card__body {
  padding-top: 16px;
}

.service-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.service-card__top h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card__top span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.service-card__tagline {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
}

.service-card__body > p:not(.service-card__tagline) {
  max-width: 520px;
  margin: 9px 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.service-card:last-child {
  grid-column: 1 / -1;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.service-card:last-child .service-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.service-card:last-child .service-card__body {
  padding-top: 0;
}

.service-card:last-child .service-card__media {
  aspect-ratio: 16 / 8;
}

.cooperation {
  background: var(--paper-deep);
  max-width: none;
}

.cooperation__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  max-width: 1500px;
  margin: 0 auto;
}

.cooperation__grid h2 {
  margin-top: 20px;
}

.cooperation__item {
  display: grid;
  grid-template-columns: 36px minmax(100px, 0.32fr) minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.cooperation__item > span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent-deep);
}

.cooperation__item h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.cooperation__item p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.service-hero-media {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
}

.service-hero-media img {
  width: 100%;
  height: clamp(360px, 58vh, 640px);
  object-fit: cover;
}

.service-hero-media figcaption {
  max-width: 1530px;
  margin: 10px auto 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.service-hero-media {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  max-width: 1320px;
  margin: 0 auto;
}

.service-aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

.service-aside__label {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.service-aside nav {
  border-top: 1px solid var(--line);
}

.service-aside nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.service-aside nav a:hover {
  padding-left: 5px;
  color: var(--accent-deep);
}

.service-aside__contact {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-aside__contact p {
  font-size: 10px;
  color: var(--muted);
}

.service-aside__contact a {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.service-body {
  max-width: 940px;
}

.service-block {
  margin-bottom: clamp(64px, 8vw, 104px);
  scroll-margin-top: 100px;
}

.service-block h2 {
  margin: 18px 0 28px;
}

.service-prose p {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.service-prose p:last-child {
  margin-bottom: 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.offer-item {
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.offer-item__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent-deep);
}

.offer-item h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.offer-item p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.fit-item {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.fit-item h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.fit-item p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

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

.deliverables {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.deliverables ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  align-content: start;
}

.deliverables li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 700;
  line-height: 1.5;
}

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

.faq-item summary i {
  position: relative;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.faq-item summary i::after {
  transform: rotate(90deg);
}

.faq-item[open] summary i::after {
  transform: rotate(0);
}

.faq-item__answer {
  max-width: 760px;
  padding: 0 30px 22px 0;
}

.faq-item__answer p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

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

.work-card--related {
  grid-column: auto;
}

.related-work {
  padding-top: 0;
}

/* 9. Work / cases
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(34px, 4vw, 58px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter:hover,
.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-light);
}

.work-card.is-hidden {
  display: none;
}

.work-index__note {
  max-width: 520px;
  margin-top: clamp(40px, 5vw, 60px);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.work-note {
  max-width: 620px;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.case-disclaimer {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.work-index__note a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
}

.case-hero {
  padding: clamp(122px, 16vh, 190px) var(--gutter) clamp(36px, 5vw, 58px);
}

.case-hero__inner {
  max-width: 1430px;
  margin: 0 auto;
}

.case-hero__title {
  max-width: 1160px;
  margin: 20px 0 0;
  font-size: clamp(2.9rem, 6.2vw, 6.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.case-hero__lower {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.35fr);
  gap: 30px 60px;
  align-items: end;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.case-hero__lower .lead {
  max-width: 640px;
  font-size: 1.05rem;
}

.case-hero__subtitle {
  justify-self: end;
  max-width: 300px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: right;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-meta dt {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.case-meta dd {
  font-size: 12px;
}

.case-cover {
  padding: 0 var(--gutter);
}

.case-cover img {
  width: 100%;
  height: clamp(380px, 68vh, 760px);
  object-fit: cover;
}

.case-cover figcaption {
  max-width: 1430px;
  margin: 9px auto 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.case-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  max-width: 1320px;
}

.case-aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

.case-aside__label {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.case-aside nav {
  border-top: 1px solid var(--line);
}

.case-aside nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.case-aside nav a:hover {
  color: var(--accent-deep);
}

.case-aside__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.case-aside__tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  color: var(--muted);
}

.case-content {
  max-width: 940px;
}

.case-section {
  margin-bottom: clamp(66px, 8vw, 108px);
  scroll-margin-top: 100px;
}

.case-section h2 {
  margin: 18px 0 26px;
}

.case-prose p {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.case-prose--outcome p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.7;
}

.execution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.execution-item {
  padding: 22px 0 25px;
  border-bottom: 1px solid var(--line);
}

.execution-item > span {
  display: block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent-deep);
}

.execution-item h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.execution-item p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.case-gallery-section {
  padding: 0 var(--gutter) clamp(78px, 9vw, 120px);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1560px;
  margin: 0 auto;
}

.case-gallery__item {
  background: var(--paper-deep);
}

.case-gallery__item:first-child {
  grid-column: 1 / -1;
}

.case-gallery__item:nth-child(4) {
  grid-column: 1 / -1;
}

.case-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-gallery__item:first-child img,
.case-gallery__item:nth-child(4) img {
  aspect-ratio: 16 / 8;
}

.case-gallery__item figcaption {
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.next-case {
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  background: var(--paper-deep);
}

.next-case__inner {
  max-width: 1430px;
  margin: 0 auto;
}

.next-case__link {
  position: relative;
  display: block;
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.next-case__link > span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.next-case__link h2 {
  max-width: 1000px;
  margin-top: 12px;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  transition: color 0.3s ease;
}

.next-case__link:hover h2 {
  color: var(--accent-deep);
}

.next-case__arrow {
  position: absolute;
  right: 0;
  bottom: 6px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  transition: transform 0.35s var(--ease);
}

.next-case__link:hover .next-case__arrow {
  transform: translate(7px, -7px);
}

/* 10. About
   ========================================================================== */
.about-cover {
  padding: 0 var(--gutter);
}

.about-cover img {
  width: 100%;
  height: clamp(360px, 58vh, 620px);
  object-fit: cover;
}

.about-cover figcaption {
  max-width: 1530px;
  margin: 9px auto 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 120px);
}

.about-story__grid h2 {
  margin-top: 22px;
}

.about-story__copy .lead {
  margin-bottom: 22px;
  font-weight: 500;
}

.about-story__copy p:not(.lead) {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.values {
  background: var(--paper-deep);
  max-width: none;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
}

.value-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.value-item > span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent-deep);
}

.value-item h3 {
  margin: 20px 0 9px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 700;
}

.value-item p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.team__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.team__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team__copy h2 {
  margin: 20px 0 20px;
}

.team__copy > p:not(.kicker) {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.role-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.role-item h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

.role-item p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.about-details {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 80px);
  border-top: 1px solid var(--line);
  max-width: 1400px;
}

.about-details__col > .kicker {
  margin-bottom: 20px;
}

.about-details__col h2 {
  margin-top: 0;
}

.about-details__col p {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.about-details__col p strong {
  color: var(--ink);
  font-weight: 600;
}

.about-details__col address {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.9;
}

.about-details__col address a {
  border-bottom: 1px solid var(--line-strong);
}

.about-details__note {
  font-size: 11px !important;
}

/* 11. Journal
   ========================================================================== */
.article-hero {
  padding: clamp(122px, 16vh, 188px) var(--gutter) clamp(36px, 4vw, 56px);
}

.article-hero__inner {
  max-width: 1060px;
  margin: 0 auto;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-hero__title {
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  line-height: 1.15;
}

.article-hero__excerpt {
  max-width: 720px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.article-cover {
  padding: 0 var(--gutter);
}

.article-cover img {
  width: 100%;
  height: clamp(320px, 55vh, 600px);
  object-fit: cover;
}

.article-cover figcaption {
  max-width: 1430px;
  margin: 9px auto 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px) 130px;
  gap: clamp(34px, 5vw, 70px);
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}

.article-toc,
.article-side {
  position: sticky;
  top: 110px;
  align-self: start;
}

.article-toc > p,
.article-side__label {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.article-toc nav {
  border-top: 1px solid var(--line);
}

.article-toc nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.25s ease;
}

.article-toc nav a:hover {
  color: var(--accent-deep);
}

.article-toc__contact {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.article-toc__contact p {
  font-size: 10px;
  color: var(--muted);
}

.article-toc__contact a {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.article-side__hint {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.article-lead {
  margin-bottom: 44px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.85;
}

.article-section {
  margin-bottom: 42px;
  scroll-margin-top: 100px;
}

.article-section h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.article-section p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.article-closing {
  margin: 48px 0;
  padding: 26px 0 26px 26px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.8;
}

.author-box {
  display: flex;
  gap: 18px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.author-box__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-deep);
}

.author-box__name {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

.author-box p:not(.author-box__name) {
  max-width: 540px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.related-articles {
  padding-top: 0;
}

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

/* 12. Contact & forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 7vw, 120px);
  max-width: 1380px;
  margin: 0 auto;
}

.contact-form-head {
  margin-bottom: 36px;
}

.contact-form-head h2 {
  margin-top: 18px;
}

.contact-form {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

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

.field {
  display: block;
  margin-bottom: 22px;
}

.field > span {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.field > span em {
  color: var(--accent-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 0.25s ease;
}

.field input,
.field select {
  height: 44px;
  padding: 5px 22px 5px 0;
}

.field textarea {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  resize: vertical;
  min-height: 150px;
}

.field textarea:focus {
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a195;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2312110f' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field--full {
  margin-bottom: 20px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 24px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.checkbox input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.checkbox a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.form-note {
  max-width: 330px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}

.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--accent);
  font-size: 12px;
  line-height: 1.7;
}

.contact-info__block {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.contact-info__block .kicker {
  margin-bottom: 14px;
}

.contact-info__phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.contact-info__phone:hover {
  color: var(--accent-deep);
}

.contact-info__block p:not(.kicker) {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.contact-info__block address {
  font-size: 15px;
  line-height: 1.8;
}

.contact-map {
  margin: 8px 0 24px;
}

.contact-map__grid {
  position: relative;
  height: 210px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: var(--paper-deep);
  background-image: linear-gradient(rgba(18, 17, 15, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 15, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
}

.contact-map__grid::before,
.contact-map__grid::after {
  content: "";
  position: absolute;
  background: rgba(18, 17, 15, 0.16);
}

.contact-map__grid::before {
  top: 0;
  bottom: 0;
  left: 31%;
  width: 1px;
  transform: rotate(11deg);
  transform-origin: top;
}

.contact-map__grid::after {
  top: 34%;
  right: 0;
  left: 0;
  height: 1px;
  transform: rotate(-5deg);
  transform-origin: left;
}

.contact-map__pin {
  position: absolute;
  top: 40%;
  left: 52%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper-light);
  font-size: 13px;
  box-shadow: 0 0 0 8px rgba(217, 74, 47, 0.16);
}

.contact-map__label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: right;
  color: var(--muted);
}

.contact-info__note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-info__note p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.contact-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 110px);
  max-width: 1320px;
  margin: 0 auto;
}

.contact-faq__grid h2 {
  margin-top: 20px;
}

/* 13. Utility pages & footer
   ========================================================================== */
.thanks {
  display: grid;
  place-items: center;
  min-height: 76vh;
  padding: clamp(130px, 18vh, 210px) var(--gutter) 90px;
}

.thanks__inner {
  max-width: 720px;
  text-align: center;
}

.thanks__mark {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 32px;
}

.thanks__inner .kicker {
  justify-content: center;
}

.thanks__inner h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
}

.thanks__inner .lead {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
}

.thanks__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 36px 0;
}

.thanks__inner address {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.thanks__inner address a {
  color: var(--ink);
}

.privacy__inner {
  max-width: 820px;
  margin: 0 auto;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(140px, 0.3fr) minmax(0, 1fr);
  gap: 30px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.privacy-section h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.privacy-section p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.privacy__updated {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sitemap__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 70px;
  max-width: 1120px;
  margin: 0 auto;
}

.sitemap-group {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sitemap-group h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.sitemap-group li {
  border-bottom: 1px solid var(--line);
}

.sitemap-group a {
  display: block;
  padding: 8px 0;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.sitemap-group a:hover {
  padding-left: 4px;
  color: var(--accent-deep);
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 82vh;
  padding: clamp(130px, 18vh, 210px) var(--gutter) 80px;
}

.not-found__inner {
  width: 100%;
  max-width: 1000px;
}

.not-found__code {
  margin-bottom: -2vw;
  font-family: var(--serif);
  font-size: clamp(8rem, 26vw, 24rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(18, 17, 15, 0.2);
}

.not-found__inner h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
}

.not-found__inner .lead {
  max-width: 520px;
  color: var(--muted);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.not-found__contact {
  margin-top: 60px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.not-found__contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.site-footer {
  padding: clamp(70px, 9vw, 120px) var(--gutter) 26px;
  background: var(--ink);
  color: var(--paper);
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  max-width: 1560px;
  margin: 0 auto;
  padding-bottom: clamp(54px, 7vw, 88px);
  border-bottom: 1px solid var(--line-light);
}

.footer-cta .kicker {
  grid-column: 1 / -1;
}

.footer-cta__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.footer-cta__title em {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(110px, 0.55fr) minmax(110px, 0.55fr) minmax(220px, 0.8fr);
  gap: 40px clamp(30px, 5vw, 80px);
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 78px) 0;
}

.brand--footer {
  margin-bottom: 22px;
}

.footer-brand > p {
  max-width: 300px;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(243, 240, 232, 0.56);
}

.footer-brand address {
  font-size: 11px;
  line-height: 1.9;
  color: rgba(243, 240, 232, 0.56);
}

.footer-brand address a {
  color: var(--paper);
}

.footer-label {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(243, 240, 232, 0.4);
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(243, 240, 232, 0.68);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-phone {
  font-family: var(--serif);
  font-size: 1.45rem !important;
  font-weight: 700;
  color: var(--paper) !important;
}

.footer-col--contact p:not(.footer-label) {
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(243, 240, 232, 0.55);
}

.footer-col--contact .text-link {
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  max-width: 1560px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(243, 240, 232, 0.4);
}

.footer-bottom a:hover {
  color: var(--paper);
}

.footer-bottom span:nth-child(2) {
  margin-right: auto;
}

/* 14. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .hero__title {
    font-size: clamp(3.8rem, 8.8vw, 7.6rem);
  }

  .site-nav {
    gap: 18px;
  }

  .service-row {
    grid-template-columns: 40px minmax(140px, 1fr) minmax(200px, 1.4fr) minmax(110px, 0.7fr) 30px;
  }

  .contact-cta__grid {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.8fr) auto;
  }
}

@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-right {
    margin-left: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__lower {
    align-items: flex-start;
  }

  .hero__visual {
    min-height: 62vw;
    max-height: 680px;
  }

  .hero-photo--main {
    width: 62%;
  }

  .hero-photo--sub {
    width: 42%;
    bottom: 4%;
  }

  .hero__bar {
    margin-top: 36px;
  }

  .intro__grid,
  .section-intro,
  .services-band__head,
  .approach__grid,
  .about-teaser,
  .cooperation__grid,
  .about-story__grid,
  .team__grid,
  .contact-grid,
  .contact-faq__grid {
    grid-template-columns: 1fr;
  }

  .intro__copy,
  .section-intro p,
  .services-band__lead,
  .approach__head > p:last-child {
    max-width: 620px;
  }

  .section-intro {
    gap: 20px;
  }

  .services-band__head {
    gap: 22px;
  }

  .work-card--w7,
  .work-card--w5,
  .work-card--w6 {
    grid-column: span 6;
  }

  .work-card--offset {
    margin-top: 0;
  }

  .work-card--w7 .work-card__media,
  .work-card--w5 .work-card__media,
  .work-card--w6 .work-card__media {
    aspect-ratio: 4 / 3;
  }

  .about-teaser__media img,
  .team__media img {
    aspect-ratio: 16 / 10;
  }

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

  .article-grid .article-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }

  .contact-cta__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cta__grid .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .page-hero__lower {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-hero__note {
    justify-self: start;
    max-width: 480px;
  }

  .page-hero__service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail__grid,
  .case-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-aside,
  .case-aside {
    position: static;
  }

  .service-aside nav,
  .case-aside nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    border-top: 0;
  }

  .service-aside nav a,
  .case-aside nav a {
    border-bottom: 0;
    padding: 5px 0;
  }

  .service-aside__contact,
  .case-aside__tags {
    display: none;
  }

  .service-card-grid {
    gap: 40px 24px;
  }

  .service-card:last-child {
    grid-template-columns: 1fr;
  }

  .service-card:last-child .service-card__media {
    aspect-ratio: 16 / 9;
  }

  .value-grid {
    gap: 20px;
  }

  .about-details {
    grid-template-columns: 1fr 1fr;
  }

  .about-details__col:first-child {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: 1fr;
    max-width: 780px;
    padding-top: 50px;
  }

  .article-toc,
  .article-side {
    display: none;
  }

  .article-hero__inner,
  .article-cover {
    max-width: none;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
  }

  .footer-col--contact .footer-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .footer-col--contact .text-link {
    align-self: start;
  }
}

@media (max-width: 760px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand__en {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-top: 108px;
  }

  .hero__title {
    margin-top: 34px;
    font-size: clamp(3.4rem, 16.4vw, 6.4rem);
    line-height: 1;
  }

  .hero__lower {
    display: block;
    margin-top: 32px;
  }

  .hero__lead {
    max-width: 100%;
    font-size: 14px;
  }

  .hero__actions {
    margin-top: 26px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
  }

  .hero__visual {
    min-height: 74vw;
    margin-top: 4px;
  }

  .hero-photo--main {
    width: 76%;
  }

  .hero-photo--sub {
    width: 48%;
    bottom: 0;
  }

  .hero-stamp {
    top: 0;
    left: 0;
    width: 82px;
    height: 82px;
  }

  .hero-stamp__ring {
    inset: 7px;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
  }

  .hero__caption {
    display: none;
  }

  .hero__bar {
    font-size: 8px;
  }

  .hero__bar-item--center {
    display: none;
  }

  .marquee__track span {
    padding: 0 16px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head__note {
    display: none;
  }

  .display--xl {
    font-size: clamp(2.9rem, 11.5vw, 4.3rem);
  }

  .display--lg {
    font-size: clamp(2.5rem, 9.6vw, 3.6rem);
  }

  .display--md {
    font-size: clamp(2rem, 7.4vw, 2.8rem);
  }

  .intro__media {
    margin-top: 38px;
  }

  .intro__image {
    aspect-ratio: 4 / 3;
  }

  .intro__media figcaption {
    display: block;
    line-height: 1.8;
  }

  .intro__media figcaption span {
    display: block;
  }

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

  .work-card--w7,
  .work-card--w5,
  .work-card--w6 {
    grid-column: 1 / -1;
  }

  .work-card__title {
    max-width: 100%;
    font-size: 1.35rem;
  }

  .work-card__summary {
    max-width: 100%;
  }

  .service-row {
    grid-template-columns: 30px minmax(0, 1fr) 26px;
    gap: 10px 14px;
    padding: 18px 0;
  }

  .service-row__name {
    font-size: 1.65rem;
  }

  .service-row__desc {
    grid-column: 2 / 3;
    font-size: 12px;
  }

  .service-row__tags {
    display: none;
  }

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

  .service-row:hover {
    padding-left: 10px;
    padding-right: 10px;
  }

  .process-list,
  .process-list--detail {
    grid-template-columns: 1fr;
  }

  .about-teaser__tag {
    right: 8px;
  }

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

  .article-grid,
  .article-grid--two,
  .article-grid--index {
    grid-template-columns: 1fr;
  }

  .article-grid .article-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .contact-cta__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-cta__title {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .contact-cta--compact .contact-cta__title {
    font-size: clamp(2.1rem, 8vw, 3.6rem);
  }

  .contact-cta__phone {
    font-size: 1.9rem;
  }

  .contact-cta__address {
    max-width: 100%;
  }

  .footer-cta__title {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--contact {
    display: block;
  }

  .footer-col--contact .footer-label {
    margin-bottom: 14px;
  }

  .footer-bottom {
    gap: 8px 18px;
  }

  .page-hero {
    padding-top: 110px;
  }

  .page-hero__title {
    font-size: clamp(2.8rem, 11.5vw, 4.8rem);
  }

  .page-hero__service-grid .page-hero__title {
    font-size: clamp(3.1rem, 15vw, 5.4rem);
  }

  .page-hero__service-grid .page-hero__title em {
    margin-top: 18px;
    font-size: 0.33em;
  }

  .page-hero__actions {
    align-items: flex-start;
  }

  .contact-quick {
    justify-self: start;
    margin-top: 6px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .service-hero-media {
    margin-top: 32px;
  }

  .service-hero-media img {
    height: 58vw;
    min-height: 240px;
  }

  .service-hero-media figcaption {
    margin-left: 0;
  }

  .service-block,
  .case-section {
    margin-bottom: 58px;
  }

  .offer-grid,
  .fit-grid,
  .execution-grid {
    grid-template-columns: 1fr;
  }

  .deliverables {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .service-card:last-child {
    grid-column: auto;
    display: block;
    padding-top: 0;
    border-top: 0;
  }

  .service-card:last-child .service-card__link {
    display: block;
  }

  .service-card:last-child .service-card__body {
    padding-top: 16px;
  }

  .cooperation__item {
    grid-template-columns: 26px minmax(80px, 0.4fr) minmax(0, 1fr);
    gap: 12px;
  }

  .case-hero__title {
    font-size: clamp(2.6rem, 11.5vw, 4.2rem);
  }

  .case-hero__lower {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-hero__subtitle {
    justify-self: start;
    text-align: left;
  }

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

  .case-cover {
    padding: 0;
  }

  .case-cover img {
    height: 58vw;
    min-height: 260px;
  }

  .case-cover figcaption {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    margin-top: 0;
  }

  .case-gallery-section {
    padding-top: 0;
  }

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

  .case-gallery__item:first-child {
    grid-column: auto;
  }

  .case-gallery__item:nth-child(4) {
    grid-column: auto;
  }

  .case-gallery__item:first-child img,
  .case-gallery__item:nth-child(4) img,
  .case-gallery__item img {
    aspect-ratio: 4 / 3;
  }

  .next-case__link h2 {
    max-width: 88%;
    font-size: 2rem;
  }

  .next-case__arrow {
    bottom: 0;
  }

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

  .value-item {
    padding: 18px 0 22px;
  }

  .value-item h3 {
    margin-top: 12px;
  }

  .about-details {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-details__col:first-child {
    grid-column: auto;
  }

  .about-cover {
    padding: 0;
  }

  .about-cover img {
    height: 58vw;
    min-height: 260px;
  }

  .about-cover figcaption {
    padding: 8px var(--gutter) 0;
    margin-top: 0;
  }

  .article-hero__title {
    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1.25;
  }

  .article-cover {
    padding: 0;
  }

  .article-cover img {
    height: 58vw;
    min-height: 240px;
  }

  .article-cover figcaption {
    padding: 8px var(--gutter) 0;
    margin-top: 0;
  }

  .article-section p {
    font-size: 16px;
  }

  .article-lead {
    font-size: 1.25rem;
  }

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

  .contact-grid {
    gap: 50px;
  }

  .contact-map__grid {
    height: 180px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sitemap__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .not-found__code {
    font-size: 36vw;
  }

  .thanks {
    min-height: 72vh;
  }
}

@media (max-width: 520px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .text-link {
    margin-left: 2px;
  }

  .hero-photo--main {
    width: 82%;
  }

  .hero-photo--sub {
    width: 52%;
  }

  .contact-cta__grid .btn {
    width: 100%;
  }

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

  .footer-col--contact {
    padding-top: 18px;
  }

  .page-hero__actions .btn,
  .page-hero__actions .text-link {
    width: 100%;
  }

  .form-actions {
    align-items: flex-start;
  }

  .form-actions .btn {
    width: 100%;
  }

  .case-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

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

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

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

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