/* ================================================================
   style.css — asger.me 2026 · Little Amps-inspired editorial layout
   ================================================================ */

/* ----------------------------------------------------------------
   01. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Core palette */
  --bg:         #FBFBF9;
  --fg:         #000000;
  --coral:      #FF8577;
  --coral-light:#FFD4CF;
  --tomato:     #FF7051;
  --green:      #11A365;
  --primary:    #EAAA08;

  /* Neutrals */
  --white:      #FFFFFF;
  --gray-100:   #F4F4F0;
  --gray-200:   #E7E5E4;
  --gray-300:   #D6D3D1;
  --gray-400:   #A8A29E;
  --gray-500:   #78716C;
  --black:      #000000;

  /* Placeholder image tones */
  --ph-warm:    #D4C5B0;
  --ph-mid:     #C4B8A4;
  --ph-cool:    #B8AFA3;
  --ph-dark:    #8A7E72;

  /* Footer / dark surfaces */
  --footer-bg:  #111111;
  --footer-fg:  #F4F4F0;

  /* Typography */
  --font-sans:   'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
  --font-mono:   'Space Mono', 'Courier New', monospace;

  /* Fluid type scale */
  --text-display: clamp(3rem, 5vw + 1rem, 5.5rem);
  --text-h1:      clamp(2.25rem, 3.5vw + 0.75rem, 4rem);
  --text-h2:      clamp(1.75rem, 2.5vw + 0.5rem, 3rem);
  --text-h3:      clamp(1.375rem, 1.5vw + 0.5rem, 2rem);
  --text-h4:      clamp(1.125rem, 0.75vw + 0.75rem, 1.5rem);
  --text-intro:   clamp(1.25rem, 1.5vw + 0.75rem, 1.75rem);
  --text-body:    clamp(1.0625rem, 0.5vw + 0.875rem, 1.25rem);
  --text-sm:      clamp(0.9375rem, 0.25vw + 0.875rem, 1rem);
  --text-xs:      0.875rem;

  /* Section spacing */
  --space-xs:   clamp(2.5rem, 3vw + 1.5rem, 4rem);
  --space-sm:   clamp(4rem, 6vw + 2rem, 7rem);
  --space-base: clamp(6rem, 10vw + 3rem, 12rem);
  --space-lg:   clamp(8rem, 12vw + 4rem, 16rem);

  /* Layout */
  --container:  1200px;
  --reading:    680px;
  --pad:        clamp(1.25rem, 5vw, 4rem);

  /* Radius */
  --radius-sm:  0.375rem;
  --radius:     0.75rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2rem;
  --radius-pill: 999px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --dur:        200ms;
}

/* ----------------------------------------------------------------
   02. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ----------------------------------------------------------------
   03. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { line-height: 1.1; letter-spacing: -0.02em; }

.serif { font-family: var(--font-serif); }
.sans  { font-family: var(--font-sans); }

.display  { font-size: var(--text-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
.text-h1  { font-size: var(--text-h1); font-weight: 700; }
.text-h2  { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.02em; }
.text-h3  { font-size: var(--text-h3); font-weight: 600; }
.text-h4  { font-size: var(--text-h4); font-weight: 600; }
.text-intro { font-size: var(--text-intro); line-height: 1.55; }
.text-sm  { font-size: var(--text-sm); }
.text-xs  { font-size: var(--text-xs); }
.text-dim { color: var(--gray-500); }
.text-coral { color: var(--coral); }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   04. LAYOUT
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.reading-col { max-width: var(--reading); }

section { padding-block: var(--space-base); }

/* Full-width divider bars */
.divider {
  width: 100%;
  height: 6px;
  background: var(--black);
}
.divider--coral { background: var(--coral); }
.divider--thin { height: 2px; background: var(--gray-200); }

/* ----------------------------------------------------------------
   05. NAVIGATION (base - overridden by inline brutalist styles)
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
  padding: 5px 18px 5px 5px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
.nav__logo:hover {
  box-shadow: 4px 4px 0 var(--black);
  transform: translate(-2px, -2px);
}

/* Logo avatar */
.nav__logo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--black);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--primary);
}
.nav__logo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav__logo-avatar::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 11px; height: 11px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* Logo text */
.nav__logo-text {
  display: flex;
  flex-direction: column;
}
.nav__logo-name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
}
.nav__logo-tagline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gray-500);
}

/* Footer light variant */
.nav__logo--light {
  border-color: rgba(255,255,255,0.2);
  background: transparent;
}
.nav__logo--light:hover {
  box-shadow: 4px 4px 0 rgba(255,255,255,0.15);
}
.nav__logo--light .nav__logo-name { color: var(--white); }
.nav__logo--light .nav__logo-tagline { color: rgba(255,255,255,0.4); }
.nav__logo--light .nav__logo-avatar { border-color: rgba(255,255,255,0.3); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__links a {
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--fg);
  background: var(--gray-100);
}

.nav__cta-wrap { margin-left: 1.25rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 1rem;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   06. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  border-radius: 0;
  border: 3px solid var(--black);
  transition: all 0.15s;
  white-space: nowrap;
  cursor: pointer;
  min-height: 48px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--coral);
}
.btn--primary:hover {
  box-shadow: 6px 6px 0 var(--coral);
  transform: translate(-2px, -2px);
}

.btn--secondary {
  background: var(--white);
  color: var(--fg);
  border-color: var(--gray-300);
}
.btn--secondary:hover {
  border-color: var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transform: translate(-2px, -2px);
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn--coral:hover {
  background: var(--tomato);
  border-color: var(--tomato);
  box-shadow: 4px 4px 0 var(--black);
  transform: translate(-2px, -2px);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: transparent;
  padding-inline: 0;
  min-height: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
.btn--ghost:hover { color: var(--coral); transform: none; box-shadow: none; }

.btn--sm { padding: 0.625rem 1.25rem; font-size: 12px; min-height: 40px; }

/* ----------------------------------------------------------------
   07. AVATAR
   ---------------------------------------------------------------- */
.avatar {
  --size: 80px;
  position: relative;
  display: inline-block;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--fg);
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  mix-blend-mode: multiply;
}

.avatar::after {
  content: '';
  position: absolute;
  bottom: 5%; right: 5%;
  width: 20%; height: 20%;
  min-width: 10px; min-height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--bg);
  z-index: 2;
}

.avatar--hero { --size: 200px; }
.avatar--lg   { --size: 80px; }
.avatar--md   { --size: 56px; }
.avatar--sm   { --size: 36px; }

/* ----------------------------------------------------------------
   08. PLACEHOLDER IMAGES
   ---------------------------------------------------------------- */
.ph-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--ph-warm);
  color: var(--ph-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 2rem;
}
.ph-image--cool { background: var(--ph-cool); }
.ph-image--mid  { background: var(--ph-mid); }
.ph-image--dark { background: var(--ph-dark); color: var(--ph-warm); }
.ph-image--coral { background: var(--coral-light); color: var(--tomato); }

/* ----------------------------------------------------------------
   09. HERO (base - main styles in inline <style>)
   ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
   10. INTRO STATEMENT
   ---------------------------------------------------------------- */
.s-intro {
  padding-block: var(--space-sm);
}

.intro__text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 900px;
}

.intro__text em {
  color: var(--coral);
  font-style: italic;
}

/* ----------------------------------------------------------------
   11. PATTERN / PROBLEMS (Bento)
   ---------------------------------------------------------------- */
.s-pattern {
  padding-block: var(--space-base);
  background: var(--bg);
}

.pattern__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.pattern__image {
  aspect-ratio: 3/4;
  position: sticky;
  top: 100px;
}

.pattern__content {
  padding-top: 1rem;
}

.pattern__list {
  margin-top: 2rem;
}

.pattern__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pattern__item:first-child {
  border-top: 1px solid var(--gray-200);
}

.pattern__num {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--coral);
}

.pattern__text {
  font-size: var(--text-body);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   12. METHOD
   ---------------------------------------------------------------- */
.s-method {
  background: var(--gray-100);
  padding-block: var(--space-base);
}

.method__header {
  max-width: var(--reading);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.method__headline {
  font-family: var(--font-serif);
}

.method__header p {
  margin-top: 1rem;
  color: var(--gray-500);
}

.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.method__step {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}

.method__step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.step__num {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 1rem;
}

.step__name {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   13. TESTIMONIAL
   ---------------------------------------------------------------- */
.testimonial {
  padding: 2rem 2.25rem;
  border-left: 6px solid var(--coral);
  background: var(--white);
  border-radius: 0;
  max-width: 640px;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: var(--text-intro);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial__attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__name {
  font-size: var(--text-sm);
  font-weight: 700;
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 0.125rem;
}

.method__testimonial {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ----------------------------------------------------------------
   14. OFFERINGS (Bento)
   ---------------------------------------------------------------- */
.s-offerings {
  padding-block: var(--space-base);
  background: var(--bg);
}

.offerings__header {
  max-width: var(--reading);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.offerings__header .text-h2 { font-family: var(--font-serif); }

.offerings__header p {
  margin-top: 1rem;
  color: var(--gray-500);
}

.offerings__bento {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.25rem;
}

.card-offering {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-offering:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.card-offering--featured {
  border: 3px solid var(--coral);
  box-shadow: 6px 6px 0 var(--coral);
  position: relative;
  overflow: hidden;
}

.card-offering--featured:hover {
  box-shadow: 8px 8px 0 var(--coral);
}

.card-offering--featured::before {
  content: 'Flagship';
  position: absolute;
  top: 1.25rem;
  right: -2rem;
  background: var(--coral);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.card__label--accent { color: var(--coral); }

.card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card__tagline {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.card__features li::before {
  content: '→';
  color: var(--coral);
  font-weight: 600;
  flex-shrink: 0;
}

.card__price {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card__price-note {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

.offerings__testimonial {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ----------------------------------------------------------------
   15. EDGE (Dark section)
   ---------------------------------------------------------------- */
.s-edge {
  background: var(--fg);
  color: var(--white);
  padding-block: var(--space-base);
}

.s-edge .section-label { color: var(--coral); }

.edge__header {
  max-width: var(--reading);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.edge__headline {
  font-family: var(--font-serif);
  color: var(--white);
}

.edge__sub {
  margin-top: 1rem;
  color: rgba(255,255,255,0.5);
}

.edge__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.edge__item {
  padding: 2rem 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 0;
  transition: all 0.15s;
}

.edge__item:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--coral);
  box-shadow: 4px 4px 0 var(--coral);
  transform: translate(-2px, -2px);
}

.edge__item-title {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.edge__item-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.s-edge .testimonial {
  background: rgba(255,255,255,0.05);
  border-color: var(--coral);
  box-shadow: none;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.s-edge .testimonial__quote { color: rgba(255,255,255,0.85); }
.s-edge .testimonial__name  { color: var(--white); }
.s-edge .testimonial__role  { color: rgba(255,255,255,0.4); }

/* ----------------------------------------------------------------
   16. PROOF
   ---------------------------------------------------------------- */
.s-proof {
  padding-block: var(--space-base);
  background: var(--bg);
}

.proof__header { margin-bottom: var(--space-xs); }
.proof__header .text-h2 { font-family: var(--font-serif); }

.logo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 3rem;
  padding: 2rem 2.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xs);
}

.logo-bar__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  flex-shrink: 0;
}

.logo-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 3rem;
}

.logo-bar__logos img {
  height: 22px;
  width: auto;
  opacity: 0.35;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.logo-bar__logos img:hover {
  opacity: 0.6;
  filter: grayscale(0.3);
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.case {
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--black);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.case:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.case__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.case__title {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: 1rem;
}

.case__body {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}

/* ----------------------------------------------------------------
   17. FIELD NOTES (Horizontal scroll)
   ---------------------------------------------------------------- */
.s-field-notes {
  padding-block: var(--space-base);
  background: var(--gray-100);
}

.field-notes__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.field-notes__header .text-h2 { font-family: var(--font-serif); }

.field-notes__scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

.field-notes__scroll::-webkit-scrollbar { height: 6px; }
.field-notes__scroll::-webkit-scrollbar-track { background: transparent; }
.field-notes__scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

.fn-card {
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--black);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fn-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.fn-card__image {
  aspect-ratio: 16/10;
}

.fn-card__body {
  padding: 1.5rem;
}

.fn-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.fn-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.fn-card__excerpt {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fn-card__date {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

/* ----------------------------------------------------------------
   18. FINAL CTA
   ---------------------------------------------------------------- */
.s-final-cta {
  background: var(--coral);
  text-align: center;
  padding-block: var(--space-lg);
  border-top: 6px solid var(--black);
  border-bottom: 6px solid var(--black);
}

.final-cta__inner {
  max-width: 680px;
  margin-inline: auto;
}

.final-cta__headline {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2.25rem;
}

.final-cta__sub {
  font-size: var(--text-sm);
  opacity: 0.6;
  margin-top: 1.5rem;
  font-weight: 500;
}

/* ----------------------------------------------------------------
   19. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding-top: var(--space-sm);
  padding-bottom: 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.25fr 1fr 1fr 1fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-logo {
  margin-bottom: 1rem;
}

.footer__brand-logo img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.footer__contact {
  font-size: var(--text-xs);
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
}

.footer__contact a {
  color: rgba(255,255,255,0.6);
  transition: color var(--dur) var(--ease);
}
.footer__contact a:hover { color: var(--white); }

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--dur) var(--ease);
}
.footer__col ul li a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  transition: color var(--dur) var(--ease);
}
.footer__social a:hover { color: var(--white); }

/* ----------------------------------------------------------------
   20. SCROLL REVEAL
   ---------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.06s; }
.fade-up:nth-child(3) { transition-delay: 0.12s; }
.fade-up:nth-child(4) { transition-delay: 0.18s; }
.fade-up:nth-child(5) { transition-delay: 0.24s; }
.fade-up:nth-child(6) { transition-delay: 0.30s; }

/* ----------------------------------------------------------------
   21. RESPONSIVE
   ---------------------------------------------------------------- */

/* Tablet ≤ 960px */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__image {
    aspect-ratio: 16/9;
    max-height: 400px;
  }

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

  .pattern__image {
    aspect-ratio: 16/9;
    position: static;
    margin-bottom: 1rem;
  }

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

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

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

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

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem var(--pad) 1.25rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 100;
  }
  .nav__links.is-open { display: flex; }
  .nav__cta-wrap { display: none; }
  .nav__toggle { display: flex; }

  .hero__inner { gap: 1.5rem; }
  .hero__image { aspect-ratio: 1/1; max-height: 360px; }

  .avatar--hero { --size: 140px; }

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

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

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

  .logo-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

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

  .footer__brand { grid-column: 1 / -1; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .final-cta__headline {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .field-notes__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

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