/* ==========================================================================
   Lorenzo Gamberi — Consulenza d'impresa
   Static site stylesheet
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e1a26;
  --ink-soft: #172838;
  --ink-deep: #0a131d;
  --paper: #f4efe6;
  --paper-2: #ebe4d7;
  --paper-3: #e2d9c9;
  --brass: #b08a56;
  --brass-light: #d4b483;
  --stone: #6e685d;
  --line: rgba(14, 26, 38, 0.14);
  --line-strong: rgba(14, 26, 38, 0.28);
  --line-light: rgba(244, 239, 230, 0.16);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scrollbar-color: var(--brass) var(--paper);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition:
    padding 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
body.nav-open .site-header {
  padding: 0.75rem 0;
  background: rgba(244, 239, 230, 0.9);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 6px;
  height: 6px;
  background: var(--brass);
}

.brand:hover .brand-mark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-text strong {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-text span {
  color: var(--stone);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}

.nav > a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

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

.nav > a:hover {
  color: var(--brass);
}

.nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.nav-toggle .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.btn .icon {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-small {
  min-height: 2.7rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.62rem;
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

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

.btn-brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}

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

.btn-outline-light {
  background: transparent;
  border-color: rgba(244, 239, 230, 0.32);
  color: var(--paper);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.text-link .icon {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.3s var(--ease);
}

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

.text-link:hover .icon {
  transform: translateX(3px);
}

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

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(8rem, 16vh, 11rem) 0 4.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 26, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 26, 38, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 42%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 65% 42%, #000 0%, transparent 78%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 138, 86, 0.19) 0%, rgba(176, 138, 86, 0.05) 42%, transparent 70%);
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: clamp(1.4rem, 2.5vh, 2.2rem);
  color: var(--stone);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  background: var(--brass);
}

.hero h1 {
  margin: 0 0 clamp(1.4rem, 3vh, 2.2rem);
  font-family: var(--serif);
  font-size: clamp(4rem, 9.3vw, 8.7rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--brass);
  font-style: italic;
  font-weight: 300;
}

.hero-lead {
  max-width: 33rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vh, 3.8rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--stone);
  font-size: 0.7rem;
  line-height: 1.45;
}

.fact-num {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 35rem;
  margin-left: auto;
  aspect-ratio: 1;
}

.hero-art {
  width: 100%;
  height: auto;
  overflow: visible;
}

.art-ring {
  fill: none;
  stroke: rgba(14, 26, 38, 0.18);
  stroke-width: 1;
}

.art-ring-outer {
  stroke: rgba(14, 26, 38, 0.14);
}

.art-ring-dashed {
  stroke-dasharray: 2 7;
  stroke: rgba(14, 26, 38, 0.22);
}

.art-ring-inner {
  stroke: rgba(14, 26, 38, 0.1);
}

.art-axis {
  stroke: rgba(176, 138, 86, 0.7);
  stroke-width: 1;
}

.art-axis-cap {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.art-arc {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.art-arc-dim {
  stroke: rgba(176, 138, 86, 0.3);
  stroke-width: 1;
}

.art-dot {
  fill: var(--ink);
  opacity: 0.55;
}

.art-dot-brass {
  fill: var(--brass);
  opacity: 1;
}

.art-dot-dim {
  opacity: 0.22;
}

.art-ring-text {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: ring-rotate 70s linear infinite;
}

.art-ring-label {
  fill: var(--stone);
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 3.2px;
}

.art-monogram {
  fill: var(--ink);
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 300;
  letter-spacing: -5px;
}

.art-monogram-sub {
  fill: var(--brass);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 3px;
}

.art-note {
  fill: var(--stone);
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 2.4px;
}

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

.hero-card {
  position: absolute;
  bottom: 4%;
  left: -5%;
  width: 13.5rem;
  padding: 1.35rem 1.45rem 1.25rem;
  background: var(--ink);
  border: 1px solid rgba(244, 239, 230, 0.08);
  color: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(10, 19, 29, 0.65);
}

.hero-card-label {
  display: block;
  color: var(--brass-light);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-card p {
  margin: 0.65rem 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-card-meta {
  display: block;
  color: rgba(244, 239, 230, 0.5);
  font-size: 0.65rem;
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--stone);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 1.8rem;
  background: var(--line-strong);
  overflow: hidden;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 60%;
  background: var(--brass);
  animation: scroll-line 2.2s var(--ease) infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }
  70%,
  100% {
    transform: translateY(330%);
  }
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  overflow: hidden;
  padding: 0.95rem 0;
  background: var(--ink);
  border-block: 1px solid rgba(244, 239, 230, 0.08);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.ticker span {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker i {
  color: var(--brass);
  font-size: 0.5rem;
  font-style: normal;
}

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

/* ==========================================================================
   Generic section
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  color: var(--stone);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--brass);
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-head h2 em {
  color: var(--brass);
  font-style: italic;
  font-weight: 300;
}

.section-top {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.section-intro {
  max-width: 31rem;
  margin-left: auto;
  color: var(--stone);
  font-size: 0.98rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.78fr;
  align-items: start;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

.about-content {
  padding-top: 0.4rem;
}

.about-content p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-content p + p {
  margin-top: 1.05rem;
}

.about-content .lead {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.65;
}

.about-sign {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 2.3rem;
}

.signature {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 2.15rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sign-role {
  color: var(--stone);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-card {
  padding: 1.7rem 1.6rem 1.5rem;
  background: var(--paper-2);
  border-top: 2px solid var(--brass);
}

.card-label {
  margin-bottom: 0.6rem;
  color: var(--stone);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-card ul {
  margin-bottom: 1.2rem;
}

.about-card li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.about-card li span {
  color: var(--stone);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-card li strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Areas
   ========================================================================== */

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

.section-areas .section-kicker {
  color: var(--brass-light);
}

.section-areas .section-kicker::before {
  background: var(--brass-light);
}

.section-areas .section-head h2 em {
  color: var(--brass-light);
}

.section-areas .section-intro {
  color: rgba(244, 239, 230, 0.6);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.area-card {
  display: flex;
  min-height: 21rem;
  flex-direction: column;
  padding: clamp(1.7rem, 3vw, 2.6rem);
  background: var(--ink);
  transition:
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.area-card:hover {
  background: #132435;
  box-shadow: inset 0 0 0 1px rgba(176, 138, 86, 0.28);
}

.area-num {
  margin-bottom: auto;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}

.area-card h3 {
  margin: 2.5rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.area-card p {
  max-width: 27rem;
  color: rgba(244, 239, 230, 0.58);
  font-size: 0.86rem;
  line-height: 1.7;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.area-tags li {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line-light);
  color: rgba(244, 239, 230, 0.52);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.areas-note {
  margin-top: 2.4rem;
  color: rgba(244, 239, 230, 0.45);
  font-size: 0.76rem;
  text-align: center;
}

.areas-note a {
  border-bottom: 1px solid currentColor;
  color: var(--brass-light);
  transition: color 0.25s var(--ease);
}

.areas-note a:hover {
  color: var(--paper);
}

/* ==========================================================================
   Method
   ========================================================================== */

.method-head {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.5rem);
}

.method-list li {
  position: relative;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.method-list li::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brass);
}

.method-num {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--brass);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.method-list h3 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.method-list p {
  color: var(--stone);
  font-size: 0.84rem;
  line-height: 1.7;
}

.method-quote {
  position: relative;
  max-width: 58rem;
  margin: clamp(4rem, 8vw, 6.5rem) auto 0;
  padding-top: 1.4rem;
  text-align: center;
}

.method-quote::before {
  content: "“";
  position: absolute;
  top: -3.2rem;
  left: 50%;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 9rem;
  font-style: italic;
  line-height: 1;
  opacity: 0.16;
  transform: translateX(-50%);
}

.method-quote p {
  position: relative;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: balance;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.section-contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 85% 10%, rgba(176, 138, 86, 0.16), transparent 65%),
    linear-gradient(135deg, var(--ink) 0%, #132435 100%);
  color: var(--paper);
}

.section-contact .section-kicker {
  color: var(--brass-light);
}

.section-contact .section-kicker::before {
  background: var(--brass-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: clamp(3rem, 6vw, 6rem);
}

.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-wrap: balance;
}

.contact-copy h2 em {
  color: var(--brass-light);
  font-style: italic;
  font-weight: 300;
}

.contact-lead {
  max-width: 29rem;
  margin-top: 1.6rem;
  color: rgba(244, 239, 230, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.contact-note {
  margin-top: 1.15rem;
  color: rgba(244, 239, 230, 0.36);
  font-size: 0.68rem;
  line-height: 1.6;
}

.contact-cards {
  padding-top: 3.6rem;
  border-top: 1px solid var(--line-light);
}

.contact-card {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brass-light);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-label .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.contact-card p {
  margin-top: 0.6rem;
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-card .text-link {
  margin-top: 0.6rem;
  color: var(--paper);
  font-size: 0.58rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 2.8rem 0 1.8rem;
  background: var(--ink-deep);
  border-top: 1px solid var(--line-light);
  color: rgba(244, 239, 230, 0.4);
  font-size: 0.7rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line-light);
}

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

.brand-footer .brand-mark {
  border-color: rgba(244, 239, 230, 0.25);
}

.brand-footer .brand-text span {
  color: rgba(244, 239, 230, 0.42);
}

.brand-footer:hover .brand-mark {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(244, 239, 230, 0.52);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--brass-light);
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(244, 239, 230, 0.5);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.footer-top-link .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.footer-top-link:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-top: 1.4rem;
  font-size: 0.62rem;
  line-height: 1.6;
}

.footer-bottom a {
  transition: color 0.25s var(--ease);
}

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

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

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

.areas-grid [data-reveal]:nth-child(2),
.method-list [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.areas-grid [data-reveal]:nth-child(3),
.method-list [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.areas-grid [data-reveal]:nth-child(4),
.method-list [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}

/* ==========================================================================
   Privacy page
   ========================================================================== */

.page-main {
  padding: clamp(8rem, 15vh, 10rem) 0 clamp(4rem, 8vw, 7rem);
}

.prose {
  max-width: 46rem;
}

.prose h1 {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.prose h1 em {
  color: var(--brass);
  font-style: italic;
  font-weight: 300;
}

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose p,
.prose li {
  color: var(--stone);
  font-size: 0.94rem;
  line-height: 1.75;
}

.prose p + p {
  margin-top: 0.8rem;
}

.prose ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.prose a:hover {
  color: var(--brass);
}

.prose .prose-meta {
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .about-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr auto;
    align-items: center;
    gap: 1.5rem;
  }

  .about-card .card-label {
    margin: 0;
  }

  .about-card ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
  }

  .about-card li {
    padding: 0;
    border-bottom: 0;
  }

  .about-card .text-link {
    margin: 0;
  }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--paper);
    visibility: hidden;
    transform: translateY(-100%);
    transition:
      transform 0.55s var(--ease),
      visibility 0s linear 0.55s;
  }

  body.nav-open .nav {
    visibility: visible;
    transition:
      transform 0.55s var(--ease),
      visibility 0s linear 0s;
  }

  .nav > a {
    padding: 0.4rem 0;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .nav > a::after {
    display: none;
  }

  .nav > a:hover {
    color: var(--brass);
  }

  .nav > a.nav-cta {
    display: inline-flex;
    margin-top: 1.6rem;
    padding: 0.9rem 1.3rem;
    border: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav > a.nav-cta:hover {
    background: var(--ink);
    color: var(--paper);
  }

  .nav-toggle {
    display: grid;
    position: relative;
    z-index: 4;
  }

  .header-cta {
    display: none;
  }

  body.nav-open .nav {
    transform: translateY(0);
  }

  body.nav-open .site-header {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(7.5rem, 15vh, 9rem);
  }

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

  .hero h1 {
    font-size: clamp(4rem, 15vw, 7.5rem);
  }

  .hero-visual {
    max-width: 30rem;
    margin: 1rem auto 0;
  }

  .hero-card {
    bottom: 2%;
    left: auto;
    right: 0;
  }

  .scroll-cue {
    display: none;
  }

  .section-top {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .section-intro {
    margin-left: 0;
  }

  .method-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem 1.8rem;
  }

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

  .contact-cards {
    padding-top: 0;
    border-top: 0;
  }

  .contact-card:first-child {
    border-top: 1px solid var(--line-light);
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-nav {
    order: 3;
    width: 100%;
    padding-top: 0.5rem;
  }
}

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-column: auto;
    display: block;
  }

  .about-card .card-label {
    margin-bottom: 0.6rem;
  }

  .about-card ul {
    display: block;
    margin-bottom: 1.2rem;
  }

  .about-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

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

  .area-card {
    min-height: 0;
  }

  .area-card h3 {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .page .brand-text span {
    display: none;
  }

  .page .header-inner .btn {
    min-height: 2.4rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.55rem;
  }

  .site-header {
    padding: 0.7rem 0;
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 0.95rem;
  }

  .brand-text strong {
    font-size: 0.78rem;
  }

  .brand-text span {
    font-size: 0.52rem;
  }

  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 17vw, 5.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.4rem;
  }

  .hero-facts li {
    flex-direction: row;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-visual {
    max-width: 23rem;
  }

  .hero-card {
    width: 11.5rem;
    padding: 1.1rem 1.2rem;
  }

  .hero-card p {
    font-size: 1.3rem;
  }

  .hero-card-meta {
    font-size: 0.6rem;
  }

  .ticker {
    padding: 0.8rem 0;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-head h2 {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .method-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .method-quote {
    margin-top: 3.5rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .contact-copy h2 {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@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;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker-track,
  .art-ring-text {
    animation: none;
  }
}
