/* ============================================================
   VERTIX SOLUTIONS — Main Stylesheet
   vertix-solutions.com
   ============================================================ */

/* ============================================================
   FONT DECLARATIONS

   Fraunces (display) and Inter (body) are self-hosted.
   Download WOFF2 files and place in /assets/fonts/:
     - Fraunces.woff2          (variable, upright)
     - Fraunces-Italic.woff2   (variable, italic)
     - Inter.woff2             (variable)

   See README.md for download and subsetting instructions.
   The fallback stacks below work until fonts are added.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   DESIGN TOKENS — Custom Properties
   ============================================================ */

:root {
  /* Colors — Primary */
  --color-forest:       #2C5F2E;
  --color-forest-dark:  #1E4220;
  --color-forest-light: #3D7A3F;

  /* Colors — Accent */
  --color-terracotta:      #D4956A;
  --color-terracotta-deep: #C85A3A;

  /* Colors — Neutrals */
  --color-cream:      #F5F3F0;
  --color-cream-warm: #EDE8E0;
  --color-ink:        #1F1F1D;
  --color-ink-soft:   #4A4A47;
  --color-line:       #D6D2CA;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;
  --text-6xl:  5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;
  --space-11: 12rem;

  /* Layout */
  --max-width:       1200px;
  --max-width-prose: 720px;
  --gutter:          var(--space-5);

  /* Transitions */
  --transition-link:   180ms ease;
  --transition-reveal: 600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Paper grain texture (SVG feTurbulence, tiled) */
  --grain-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ============================================================
   BASE RESET
   ============================================================ */

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

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

body {
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
}


/* ============================================================
   SKIP LINK
   ============================================================ */

.skip-link {
  position: absolute;
  top: -120%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-5);
  background: var(--color-forest);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}


/* ============================================================
   GRAIN OVERLAY — Subtle paper texture
   Applied as a sibling element inside sections: aria-hidden="true"
   ============================================================ */

.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--grain-bg);
  background-size: 300px 300px;
  background-repeat: repeat;
  opacity: 0.035;
  z-index: 0;
  mix-blend-mode: multiply;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 680px;
}

.container--prose {
  max-width: var(--max-width-prose);
}

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

.section > * {
  position: relative;
  z-index: 1;
}


/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta-deep);
  margin-bottom: var(--space-4);
}

/* Line break that only shows on desktop */
.lg-break {
  display: none;
}


/* ============================================================
   GLOBAL FOCUS STATES
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
  padding-block: var(--space-5);
  position: relative;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  letter-spacing: -0.01em;
  transition: color var(--transition-link);
}

.site-header__wordmark:hover {
  color: var(--color-forest-dark);
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.site-nav__link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--transition-link);
  position: relative;
  padding-bottom: 3px;
}

.site-nav__link:hover {
  color: var(--color-forest);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-forest);
}

.site-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-terracotta);
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-ink);
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.nav-overlay__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
}

.nav-overlay__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: -8px;
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  flex: 1;
}

.nav-overlay__link {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  letter-spacing: -0.01em;
  transition: color var(--transition-link);
  line-height: 1.1;
}

.nav-overlay__link:hover {
  color: var(--color-terracotta-deep);
}

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


/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: var(--space-8);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.site-footer__wordmark {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  margin-bottom: var(--space-2);
  transition: color var(--transition-link);
}

.site-footer__wordmark:hover {
  color: var(--color-forest-dark);
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.site-footer__right {}

.site-footer__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  margin-bottom: var(--space-2);
  transition: color var(--transition-link);
}

.site-footer__email:hover {
  color: var(--color-terracotta-deep);
}

.site-footer__legal {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
  line-height: 1.6;
}


/* ============================================================
   EMAIL LINK — Large display style
   ============================================================ */

.email-link {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  letter-spacing: -0.01em;
  transition: color var(--transition-link);
}

.email-link:hover {
  color: var(--color-terracotta-deep);
}

.email-link__arrow {
  display: inline-block;
  transition: transform var(--transition-link);
  font-style: normal;
}

.email-link:hover .email-link__arrow {
  transform: translateX(5px);
}

.email-link--on-dark {
  color: var(--color-terracotta);
}

.email-link--on-dark:hover {
  color: var(--color-cream);
}


/* ============================================================
   RETURN LINK — 404 page
   ============================================================ */

.return-link {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--color-forest);
  text-decoration: none;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  transition: color var(--transition-link);
}

.return-link:hover {
  color: var(--color-terracotta-deep);
}

.return-link__arrow {
  display: inline-block;
  transition: transform var(--transition-link);
  font-style: normal;
}

.return-link:hover .return-link__arrow {
  transform: translateX(5px);
}


/* ============================================================
   RULE LIST — Statements separated by horizontal rules
   ============================================================ */

.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rule-list__item {
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-line);
}

.rule-list__item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.rule-list__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  color: var(--color-forest);
  margin-bottom: var(--space-3);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  line-height: 1.2;
}

.rule-list__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  line-height: 1.6;
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

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

/* Stagger delay helpers */
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }


/* ============================================================
   HOMEPAGE — HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--space-9);
  background: var(--color-cream);
}

.hero__inner {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 720px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-4xl);
  color: var(--color-forest);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  margin-bottom: var(--space-5);
}

.hero__headline em {
  font-style: italic;
  color: var(--color-terracotta-deep);
}

.hero__headline .break-line {
  display: block;
}

.hero__subhead {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  color: var(--color-ink-soft);
  line-height: 1.5;
  max-width: 580px;
}

/* Topographic SVG layer */
.hero__topo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__topo svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ============================================================
   HOMEPAGE — BELIEF SECTION
   ============================================================ */

.belief {
  background: var(--color-cream-warm);
  position: relative;
}

.belief .container {
  max-width: var(--max-width-prose);
}

.belief__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-3xl);
  color: var(--color-forest);
  margin-bottom: var(--space-7);
  font-optical-sizing: auto;
  line-height: 1.1;
}

.belief__body p {
  font-size: var(--text-lg);
  color: var(--color-ink);
  line-height: 1.7;
}

.belief__body p + p {
  margin-top: var(--space-5);
}


/* ============================================================
   HOMEPAGE — WHAT WE DO SECTION
   ============================================================ */

.what-we-do {
  background: var(--color-cream);
}

.what-we-do__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-9);
}

.what-we-do__intro-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-forest);
  margin-bottom: var(--space-5);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  line-height: 1.1;
}

.what-we-do__intro-text {
  font-size: var(--text-lg);
  color: var(--color-ink-soft);
  line-height: 1.6;
}


/* ============================================================
   HOMEPAGE — CLOSING SECTION
   ============================================================ */

.closing {
  background: var(--color-forest);
  text-align: center;
  padding-block: var(--space-11);
  position: relative;
}

.closing .container {
  max-width: var(--max-width-prose);
  position: relative;
  z-index: 2;
}

.closing__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-3xl);
  color: var(--color-cream);
  margin-bottom: var(--space-6);
  font-optical-sizing: auto;
  line-height: 1.1;
}

.closing__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-cream);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: var(--space-7);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}


/* ============================================================
   ABOUT PAGE — HERO
   ============================================================ */

.about-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  background: var(--color-cream);
}

.about-hero__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.about-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-4xl);
  color: var(--color-forest);
  margin-bottom: var(--space-6);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  max-width: 720px;
  line-height: 1.05;
}

.about-hero__intro {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  color: var(--color-ink-soft);
  line-height: 1.5;
  max-width: 620px;
}

/* Blob SVG — positioned in upper right */
.about-hero__blob {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  max-width: 560px;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}


/* ============================================================
   ABOUT PAGE — STORY
   ============================================================ */

.about-story {
  background: var(--color-cream);
}

.about-story .container {
  max-width: 680px;
}

.about-story__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-3xl);
  color: var(--color-forest);
  margin-bottom: var(--space-7);
  font-optical-sizing: auto;
  line-height: 1.1;
}

.about-story__body p {
  font-size: var(--text-lg);
  color: var(--color-ink);
  line-height: 1.7;
}

.about-story__body p + p {
  margin-top: var(--space-5);
}


/* ============================================================
   ABOUT PAGE — VALUES
   ============================================================ */

.about-values {
  background: var(--color-cream-warm);
}

.about-values .container {
  max-width: 800px;
}

.about-values__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-3xl);
  color: var(--color-forest);
  margin-bottom: var(--space-7);
  font-optical-sizing: auto;
  line-height: 1.1;
}


/* ============================================================
   ABOUT PAGE — FOUNDER
   ============================================================ */

.about-founder {
  background: var(--color-cream);
}

.about-founder .container {
  max-width: 680px;
}

.about-founder__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  color: var(--color-forest);
  margin-bottom: var(--space-5);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  line-height: 1.2;
}

.about-founder__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-ink-soft);
  line-height: 1.7;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-11);
}

.contact-page .container {
  max-width: 680px;
}

.contact-page__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  color: var(--color-forest);
  margin-bottom: var(--space-6);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  max-width: 640px;
  line-height: 1.1;
}

.contact-page__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-ink-soft);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--space-7);
}

.contact-page__note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
  margin-top: var(--space-4);
}


/* ============================================================
   404 PAGE
   ============================================================ */

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-11);
}

.not-found .container {
  max-width: 600px;
}

.not-found__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-4xl);
  color: var(--color-forest);
  margin-bottom: var(--space-5);
  font-optical-sizing: auto;
  line-height: 1.05;
}

.not-found__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-7);
}


/* ============================================================
   RESPONSIVE — Tablet and up (768px+)
   ============================================================ */

@media (min-width: 768px) {
  :root {
    --gutter: var(--space-7);
  }

  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  /* Hero */
  .hero__headline {
    font-size: var(--text-5xl);
  }

  .hero__inner {
    padding-left: calc(var(--gutter) + var(--space-7));
  }

  /* Homepage sections */
  .belief__heading {
    font-size: var(--text-4xl);
  }

  .what-we-do__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
  }

  .what-we-do__intro-heading {
    font-size: var(--text-4xl);
  }

  .closing__heading {
    font-size: var(--text-4xl);
  }

  /* About page */
  .about-hero__title {
    font-size: var(--text-5xl);
  }

  /* Contact */
  .contact-page__heading {
    font-size: var(--text-4xl);
  }

  /* Email link */
  .email-link {
    font-size: var(--text-3xl);
  }

  /* Footer */
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .site-footer__right {
    text-align: right;
    flex-shrink: 0;
  }
}


/* ============================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================ */

@media (min-width: 1024px) {
  :root {
    --gutter: var(--space-8);
  }

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

  body {
    font-size: var(--text-lg);
  }
}


/* ============================================================
   RESPONSIVE — Mobile only (below 768px)
   ============================================================ */

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: var(--space-8);
  }

  .closing {
    text-align: left;
    padding-block: var(--space-9);
  }

  .closing__body {
    margin-inline: 0;
  }

  .about-hero__blob {
    opacity: 0.6;
    width: 70%;
    top: 0;
    right: -15%;
  }
}


/* ============================================================
   INLINE BODY LINK — for links within prose paragraphs
   ============================================================ */

.inline-link {
  color: var(--color-forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-link), text-decoration-thickness var(--transition-link);
}

.inline-link:hover {
  color: var(--color-terracotta-deep);
  text-decoration-thickness: 2px;
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

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

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

  .reveal--delay-1,
  .reveal--delay-2,
  .reveal--delay-3 {
    transition-delay: 0ms;
  }

  .email-link__arrow,
  .return-link__arrow {
    transition: none;
  }

  .nav-overlay {
    transition: none;
  }
}
