:root {
  --cream: #f3efe7;
  --cream-light: #fbf9f5;
  --graphite: #222523;
  --graphite-dark: #171a18;
  --graphite-secondary: #3a3f3c;
  --green: #1f3d33;
  --text: var(--graphite);
  --muted: #666a67;
  --terracotta: #91482d;
  --terracotta-dark: #743822;
  --terracotta-light: #bc704f;
  --warm-gray: #e3ddd2;
  --border: #d8d1c5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  --container: 1320px;
  --header-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--terracotta-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--green);
  color: var(--cream-light);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 780px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section--compact {
  padding: 72px 0;
}

.section--light {
  background: var(--cream-light);
}

.section--dark {
  background: var(--graphite);
  color: var(--cream);
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 1080px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.3vw, 5.3rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 3.4vw, 3.55rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 13px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
}

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

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  line-height: 1.65;
}

.section--dark .lead,
.section--dark p {
  color: rgba(243, 239, 231, 0.82);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

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

.text-link:hover::after {
  transform: translateX(5px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--terracotta);
  border-radius: 2px;
  background: var(--terracotta);
  color: #fffaf4;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--terracotta-dark);
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}

.button--ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--green);
}

.button--ghost:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream-light);
}

.section--dark .button--ghost {
  border-color: rgba(243, 239, 231, 0.5);
  color: var(--cream);
}

.section--dark .button--ghost:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--graphite);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(243, 239, 231, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  position: relative;
  display: block;
  width: 245px;
  height: 76px;
  flex: 0 0 auto;
  overflow: visible;
  background: transparent;
  text-decoration: none;
}

.brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 245px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 24px;
}

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

.nav-link {
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--terracotta);
  content: "";
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-link[aria-current="page"] {
  color: var(--terracotta);
}

.header-cta {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero and visual placeholders */
.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  overflow: hidden;
  padding: clamp(88px, 13vh, 145px) 0;
  background-color: var(--graphite-secondary);
  /* Fotografía seleccionada: Kampus Production / Pexels 6829537. */
  background-image: url("images/grindlane-home-team.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(23, 26, 24, 0.78);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(243, 239, 231, 0.3);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  max-width: 960px;
  margin-bottom: 26px;
  margin-inline: auto;
  color: var(--cream-light);
  font-size: clamp(3.3rem, 5.3vw, 5.35rem);
  line-height: 1.01;
}

.hero-summary {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(251, 248, 242, 0.82);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.62;
}

.hero .button--ghost {
  border-color: rgba(251, 248, 242, 0.58);
  color: var(--cream-light);
}

.hero .button--ghost:hover {
  border-color: var(--cream-light);
  background: var(--cream-light);
  color: var(--graphite);
}

.hero .button-row {
  justify-content: center;
}

.visual-placeholder {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(34, 42, 40, 0.2);
  background: var(--warm-gray);
  color: var(--text);
}

.visual-placeholder::before,
.visual-placeholder::after {
  position: absolute;
  border: 1px solid rgba(34, 42, 40, 0.2);
  border-radius: 50%;
  content: "";
}

.visual-placeholder::before {
  width: 76%;
  aspect-ratio: 1;
  top: -20%;
  right: -24%;
}

.visual-placeholder::after {
  width: 54%;
  aspect-ratio: 1;
  bottom: -18%;
  left: -17%;
}

.visual-placeholder__label {
  position: relative;
  z-index: 1;
  width: min(78%, 310px);
  padding: 22px;
  border-top: 1px solid rgba(34, 42, 40, 0.34);
  border-bottom: 1px solid rgba(34, 42, 40, 0.34);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.visual-placeholder--wide {
  min-height: 480px;
}

.visual-placeholder--portrait {
  min-height: 420px;
}

.visual-placeholder--small {
  min-height: 300px;
}

/* Content layouts */
.section-heading {
  max-width: 900px;
  margin-bottom: 58px;
}

.section-heading .lead {
  max-width: 760px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center .lead {
  margin-right: auto;
  margin-left: auto;
}

.split {
  display: grid;
  align-items: start;
  gap: clamp(44px, 8vw, 116px);
  grid-template-columns: 1fr 1fr;
}

.split--center {
  align-items: center;
}

.problem-intro {
  max-width: 980px;
  margin: 0 auto 62px;
  text-align: center;
}

.problem-intro .lead {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.situations {
  display: grid;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  counter-reset: situation;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.situations li {
  position: relative;
  min-height: 140px;
  padding: 52px 30px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  counter-increment: situation;
}

.situations li::before {
  position: absolute;
  top: 20px;
  left: 30px;
  color: var(--terracotta);
  content: "0" counter(situation);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.statement {
  max-width: 850px;
  margin: 48px auto 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.25;
  text-align: center;
}

.areas-grid {
  display: grid;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
}

.area-item {
  position: relative;
  display: block;
  min-height: 215px;
  padding: 27px 62px 27px 27px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.area-item:hover {
  background: var(--cream-light);
}

.area-number {
  display: block;
  margin-bottom: 40px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.area-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.area-arrow {
  position: absolute;
  right: 27px;
  bottom: 25px;
  color: var(--terracotta);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.area-item:hover .area-arrow,
.area-item:focus-visible .area-arrow {
  transform: translateX(5px);
}

.areas-closing {
  max-width: 850px;
  margin: 68px auto 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.35;
  text-align: center;
}

.process-summary {
  background: var(--cream-light);
}

.process-flow {
  display: flex;
  align-items: stretch;
  margin: 52px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-summary .process-flow {
  margin-top: 0;
}

.flow-step {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex: 1 1 0;
  align-items: center;
  padding: 32px 18px;
}

.flow-step h3,
.flow-step p {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.55vw, 1.5rem);
  line-height: 1.25;
}

.flow-arrow {
  display: flex;
  flex: 0 0 clamp(38px, 4vw, 60px);
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  line-height: 1;
}

.process-link {
  margin: 34px 0 0;
  text-align: center;
}

.principle {
  position: relative;
  overflow: hidden;
}

.principle::after {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -250px;
  border: 1px solid rgba(184, 107, 75, 0.5);
  border-radius: 50%;
  content: "";
}

.principle .display-quote {
  max-width: 870px;
  margin: 0 0 34px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.5vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.principle .lead {
  max-width: 760px;
}

.person-role {
  margin-bottom: 13px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  align-items: end;
  gap: 36px;
  grid-template-columns: 1fr auto;
}

.cta-band h2 {
  max-width: 820px;
}

.cta-band p {
  max-width: 680px;
  margin-bottom: 0;
}

.cta-band--center {
  display: block;
  max-width: 920px;
  text-align: center;
}

.cta-band--center h2,
.cta-band--center p {
  margin-right: auto;
  margin-left: auto;
}

.cta-band--center > .button {
  margin-top: 32px;
}

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

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

.faq-question {
  display: grid;
  width: 100%;
  padding: 25px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  gap: 20px;
  grid-template-columns: 1fr auto;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--terracotta);
  content: "";
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-width: 760px;
  padding: 0 0 27px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

/* Internal pages */
.page-hero {
  padding: 96px 0 82px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero .lead {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

.page-hero h1 {
  margin-right: auto;
  margin-left: auto;
}

.page-hero--about h1 {
  max-width: 1160px;
  color: var(--green);
}

.page-hero--split .container {
  display: block;
}

.page-hero--method {
  padding: clamp(84px, 9vw, 128px) 0 clamp(52px, 5.5vw, 76px);
  border-bottom: 0;
}

.page-hero--method h1 {
  max-width: 940px;
  color: var(--green);
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.page-hero--method .lead {
  max-width: 720px;
}

.page-hero--editorial {
  padding: clamp(76px, 9vw, 122px) 0;
  text-align: left;
}

.editorial-hero {
  display: grid;
  align-items: center;
  gap: clamp(46px, 8vw, 116px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
}

.editorial-hero__copy h1,
.editorial-hero__copy .lead {
  margin-right: 0;
  margin-left: 0;
}

.editorial-hero__copy h1 {
  max-width: 830px;
  font-size: clamp(3rem, 4.8vw, 5rem);
}

.editorial-image {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--warm-gray);
}

.editorial-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(34, 37, 35, 0.04), rgba(34, 37, 35, 0.2));
  content: "";
  pointer-events: none;
}

.editorial-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-hero__image {
  min-height: 480px;
}

.editorial-image--landscape {
  min-height: 390px;
}

.button-row--center {
  justify-content: center;
}

.solutions-index .area-item {
  min-height: 230px;
}

.solution-page-hero {
  padding: clamp(68px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--border);
}

.solution-page-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
}

.solution-page-hero h1 {
  max-width: 790px;
  font-size: clamp(3.1rem, 5.1vw, 5.2rem);
}

.solution-page-hero .lead {
  max-width: 690px;
}

.solution-back-bar {
  position: sticky;
  z-index: 90;
  top: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(243, 239, 231, 0.94);
  backdrop-filter: blur(12px);
}

.solution-back-bar__inner {
  display: flex;
  min-height: 46px;
  align-items: center;
}

.back-link {
  display: inline-block;
  padding: 11px 0;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.back-link:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
}

.solution-overview {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-overview article {
  padding: 54px clamp(28px, 5vw, 72px) 58px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-overview article + article {
  padding-right: 0;
  padding-left: clamp(28px, 5vw, 72px);
  border-left: 1px solid var(--border);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-overview h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.solution-overview article > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.solution-benefits {
  display: grid;
  align-items: start;
  gap: clamp(46px, 9vw, 132px);
  grid-template-columns: 0.8fr 1.2fr;
}

.benefit-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding: 22px 20px 22px 34px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.benefit-list li::before {
  position: absolute;
  top: 32px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
}

.solution-next-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-top: 26px;
}

.solution-next-links a {
  color: rgba(243, 239, 231, 0.82);
  font-weight: 650;
}

.process-list {
  margin-top: 0;
  border-top: 0;
}

.process-section {
  padding-top: clamp(34px, 4.5vw, 58px);
}

.process-item {
  display: grid;
  align-items: start;
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
  gap: 38px;
  grid-template-columns: 100px 0.75fr 1fr;
}

.process-number {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.process-item h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.process-item p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
}

.criteria-grid,
.values-grid {
  display: grid;
  gap: 1px;
  background: rgba(243, 239, 231, 0.22);
  grid-template-columns: repeat(4, 1fr);
}

.criterion,
.value {
  padding: 30px;
  background: var(--graphite-secondary);
}

.criterion span,
.value span {
  display: block;
  margin-bottom: 32px;
  color: var(--terracotta-light);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.criterion h3,
.value h3 {
  font-size: 1.5rem;
}

.criterion p,
.value p {
  margin: 0;
  font-size: 0.94rem;
}

.mission-vision {
  display: grid;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr 1fr;
}

.mission-block {
  padding: 54px 58px 54px 0;
}

.mission-block + .mission-block {
  padding-right: 0;
  padding-left: 58px;
  border-left: 1px solid var(--border);
}

.mission-block h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.mission-block p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.profiles-detailed {
  display: grid;
  gap: 86px;
}

.profile-detailed {
  display: grid;
  align-items: start;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
}

.profile-detailed:nth-child(even) .profile-photo {
  order: 2;
}

.profile-copy {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.profile-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.profile-copy p {
  color: var(--muted);
}

.profile-copy .person-role {
  color: var(--terracotta);
}

.principles-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  grid-template-columns: repeat(5, 1fr);
}

.principle-item {
  min-height: 225px;
  padding: 26px;
  background: var(--cream-light);
}

.principle-item span {
  display: block;
  margin-bottom: 50px;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 750;
}

.principle-item h3 {
  font-size: 1.35rem;
}

/* Contact */
.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
  grid-template-columns: 0.65fr 1fr;
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.contact-aside .direct-email {
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.direct-email span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.direct-email strong {
  color: var(--terracotta);
  font-size: 1.08rem;
}

.contact-form {
  padding: 44px;
  background: var(--cream-light);
}

.form-grid {
  display: grid;
  gap: 25px 22px;
  grid-template-columns: 1fr 1fr;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.form-field input,
.form-field select {
  height: 48px;
}

.form-field textarea {
  min-height: 150px;
  padding: 12px 0;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--terracotta);
  outline: 0;
}

.form-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-message {
  margin-top: 24px;
  padding: 18px;
  border-left: 3px solid var(--terracotta);
  background: var(--cream);
  color: var(--text);
}

.form-message[hidden] {
  display: none;
}

/* Legal */
.legal-content {
  min-height: 50vh;
}

.legal-notice {
  margin: 40px 0;
  padding: 34px;
  border: 1px solid var(--border);
  background: var(--cream-light);
}

.legal-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta);
}

/* Footer */
.site-footer {
  padding: 70px 0 26px;
  background: var(--graphite-dark);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: 1.4fr 0.8fr 0.65fr;
}

.footer-brand .brand {
  width: 290px;
  height: 88px;
  background: transparent;
}

.footer-brand .brand-logo {
  width: 290px;
}

.footer-brand p {
  max-width: 380px;
  margin: 25px 0 0;
  color: rgba(243, 239, 231, 0.66);
}

.footer-heading {
  margin-bottom: 20px;
  color: var(--terracotta-light);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(243, 239, 231, 0.82);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--terracotta-light);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 239, 231, 0.16);
  color: rgba(243, 239, 231, 0.55);
  font-size: 0.78rem;
}

/* Subtle reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .nav-links {
    gap: 17px;
  }

  .nav-link {
    font-size: 0.82rem;
  }

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

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

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

@media (max-width: 1120px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 78px 0;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    width: 195px;
    height: 62px;
    order: 1;
  }

  .brand-logo {
    width: 195px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    background: var(--cream-light);
    opacity: 0;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 180ms ease, padding 260ms ease;
    order: 2;
  }

  .site-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 28px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--serif);
    font-size: 1.35rem;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    width: 100%;
    margin-top: 4px;
  }

  .split,
  .page-hero--split .container,
  .editorial-hero,
  .solution-page-hero__grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .editorial-hero__image,
  .solution-page-hero__image {
    min-height: 440px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    padding: 92px 0 74px;
    background-position: center;
  }

  h1 {
    font-size: clamp(3rem, 10.5vw, 5rem);
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 9vw, 5rem);
  }

  .visual-placeholder {
    min-height: 430px;
  }

  .section-heading > .lead,
  .section-heading > .text-link {
    margin-top: 24px;
  }

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

  .process-item {
    grid-template-columns: 70px 1fr;
  }

  .process-item p {
    grid-column: 2;
  }

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

  .profile-detailed {
    grid-template-columns: 0.72fr 1fr;
  }

  .profile-detailed:nth-child(even) .profile-photo {
    order: initial;
  }

  .contact-aside {
    position: static;
  }

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

@media (max-width: 860px) {
  .process-flow {
    flex-direction: column;
  }

  .flow-step {
    min-height: auto;
    justify-content: center;
    padding: 24px 12px;
    text-align: center;
  }

  .flow-arrow {
    min-height: 38px;
    flex-basis: auto;
    font-size: 0;
  }

  .flow-arrow::before {
    content: "↓";
    font-size: 1.75rem;
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .section--compact {
    padding: 52px 0;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    padding: 74px 0 78px;
    background-position: center;
  }

  .hero::before {
    background: rgba(23, 26, 24, 0.84);
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(2.7rem, 10.8vw, 3.75rem);
    line-height: 1.01;
  }

  .hero-summary {
    max-width: 510px;
    font-size: 1rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .visual-placeholder,
  .visual-placeholder--wide {
    min-height: 360px;
  }

  .visual-placeholder--portrait,
  .person-card .visual-placeholder {
    min-height: 360px;
  }

  .areas-grid,
  .criteria-grid,
  .values-grid,
  .mission-vision,
  .principles-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .area-item {
    min-height: auto;
  }

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

  .situations li,
  .situations li:last-child {
    min-height: auto;
    grid-column: auto;
  }

  .area-number {
    margin-bottom: 24px;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .page-hero--method,
  .page-hero--editorial,
  .solution-page-hero {
    padding: 64px 0;
  }

  .page-hero--method {
    padding: 58px 0 42px;
  }

  .process-section {
    padding-top: 28px;
  }

  .solution-back-bar__inner {
    min-height: 40px;
  }

  .back-link {
    padding: 8px 0;
    font-size: 0.72rem;
  }

  .page-hero--method h1,
  .editorial-hero__copy h1,
  .solution-page-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .editorial-hero,
  .solution-page-hero__grid {
    gap: 40px;
  }

  .editorial-hero__image,
  .solution-page-hero__image,
  .editorial-image--landscape {
    min-height: 320px;
  }

  .page-hero--about h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  .process-item,
  .profile-detailed {
    grid-template-columns: 1fr;
  }

  .process-item p {
    grid-column: auto;
  }

  .solution-overview,
  .solution-benefits {
    grid-template-columns: 1fr;
  }

  .solution-overview article,
  .solution-overview article + article {
    padding: 36px 0 40px;
    border-left: 0;
  }

  .solution-overview article + article {
    border-top: 0;
  }

  .benefit-list li {
    padding-right: 4px;
  }

  .process-item {
    gap: 16px;
  }

  .mission-block,
  .mission-block + .mission-block {
    padding: 40px 0;
    border-left: 0;
  }

  .mission-block + .mission-block {
    border-top: 1px solid var(--border);
  }

  .profiles-detailed {
    gap: 65px;
  }

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

  .contact-form {
    padding: 28px 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand .brand {
    width: 230px;
    height: 74px;
  }

  .footer-brand .brand-logo {
    width: 230px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }

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