/* =========================================================
   LOCAL FONTS
   ========================================================= */

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

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

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

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

/* EB Garamond */
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/eb-garamond-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/eb-garamond-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/eb-garamond-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --max-w: 1200px;

  --navy: #0a1a2e;
  --slate: #1e293b;
  --gray: #64748b;

  /* Softer light-mode surfaces */
  --light: #eef1f3;
  --white: #ffffff;

  --gold: #cdb15d;
  --gold-light: #dbbc5e;

  --border: #d7dee7;
  --border-soft: rgba(203, 213, 225, 0.90);
  --surface: #f8f7f3;
  --surface-warm: #f4f0e6;

  --shadow-soft: 0 6px 16px rgba(0,0,0,0.06);
  --shadow-card: 0 12px 32px rgba(10,26,46,0.075);
  --shadow-hover: 0 24px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 18px 42px rgba(205,177,93,0.16);

  --hero-height: 600px;

  --card-min-width: 300px;
  --card-max-width: 360px;
  --card-height: 620px;
  --chip-width: 280px;

  /* Typography scale */
  --fs-xs: 0.88rem;
  --fs-sm: 0.90rem;
  --fs-sl: 0.95rem;
  --fs-base: 1rem;
  --fs-md: 1.08rem;
  --fs-lg: 1.2rem;
  --fs-xl: 1.45rem;
  --fs-2xl: 1.7rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.4rem;
  --fs-hero: 3rem;

  --lh-tight: 1.15;
  --lh-normal: 1.7;
  --lh-loose: 1.8;
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(205, 177, 93, 0.045),
      transparent 32rem
    ),
    linear-gradient(
      180deg,
      #f3f1eb 0%,
      #eef1f3 46%,
      #e8edf2 100%
    );
  color: var(--slate);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: rgba(205,177,93,0.32);
  color: var(--navy);
}

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

h1,
h2,
h3,
h4 {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  color: var(--navy);
}

h1 {
  font-size: var(--fs-hero);
  letter-spacing: -1px;
  line-height: 1.05;
}

h2 {
  font-size: var(--fs-3xl);
  text-align: center;
  margin: 4rem 0 2rem;
  position: relative;
}

h2::after {
  content: '';
  width: 72px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 22%,
    var(--gold-light) 78%,
    transparent 100%
  );
  display: block;
  margin: 1rem auto;
}

h3 {
  font-size: var(--fs-2xl);
  margin: 2.5rem 0 1rem;
  color: var(--navy);
}

h4 {
  font-size: var(--fs-lg);
  margin: 1.5rem 0 0.75rem;
  color: var(--gold);
}

strong {
  color: var(--navy);
  font-weight: 600;
}

em {
  font-style: italic;
  color: var(--gray);
}

p {
  margin-bottom: 1.25rem;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: top 0.15s ease-out;
}

.skip-link:focus {
  top: 10px;
}

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

.site-header,
header {
  background: var(--navy);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(4,13,24,0.18);
}

.header-grid,
header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.logo {
  grid-column: 1;
  justify-self: start;
  color: white;
  font-family: 'EB Garamond', serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav,
nav {
  grid-column: 2;
  justify-self: center;
}

.main-nav ul,
nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.main-nav a,
nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: var(--fs-base);
  font-weight: 500;
  position: relative;
}

.main-nav a::after,
nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: 0.3s ease;
}

.main-nav a:hover,
nav a:hover {
  color: var(--gold-light);
}

.main-nav a:hover::after,
.main-nav a.active::after,
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.lang-switch {
  grid-column: 3;
  justify-self: end;
}

.lang-switch a {
  color: #94a3b8;
  font-size: var(--fs-xs);
  text-decoration: none;
  font-weight: 500;
}

.lang-switch a:hover {
  color: var(--gold-light);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  background:
    radial-gradient(circle at 50% 18%, rgba(205,177,93,0.16), transparent 28rem),
    radial-gradient(circle at 88% 32%, rgba(255,255,255,0.055), transparent 22rem),
    linear-gradient(135deg, #071526 0%, #0a1a2e 45%, #1e293b 100%);
  color: #e2e8f0;
  min-height: var(--hero-height);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.12;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  pointer-events: none;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 70%;
  height: 42%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(205,177,93,0.11),
    transparent 68%
  );
  pointer-events: none;
  z-index: -1;
}

.hero * {
  color: inherit;
}

.hero > .container,
.hero .hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: var(--fs-hero);
  text-shadow: 0 10px 32px rgba(0,0,0,0.28);
}

.hero p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: var(--lh-loose);
  font-size: var(--fs-md);
}

.hero .sub em {
  color: #94a3b8;
}

.hero blockquote {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  margin: 2.25rem auto 2.5rem;
  padding: 0 1rem;
  max-width: 760px;
  line-height: 1.35;
  font-style: normal;
  letter-spacing: 0.01em;
  border: none;
  background: transparent;
  position: relative;
}

.hero blockquote::before,
.hero blockquote::after {
  content: none;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.cta,
.ctablog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  width: 250px;
  max-width: 100%;
  min-height: 48px;
  padding: 0.82rem 1.55rem;

  font-size: var(--fs-sl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  color: var(--navy);
  background: linear-gradient(
    135deg,
    var(--gold-light) 0%,
    var(--gold) 100%
  );
  border: 1px solid rgba(205,177,93,0.95);
  border-radius: 999px;

  box-shadow:
    0 10px 22px rgba(10,26,46,0.14),
    inset 0 1px 0 rgba(255,255,255,0.28);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.cta:hover,
.ctablog:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    #e2c66b 0%,
    var(--gold) 100%
  );
  border-color: var(--gold-light);
  box-shadow:
    0 16px 30px rgba(10,26,46,0.18),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

.cta:active,
.ctablog:active {
  transform: translateY(0);
  box-shadow:
    0 7px 16px rgba(10,26,46,0.14),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.cta:focus-visible,
.ctablog:focus-visible {
  outline: 3px solid rgba(205,177,93,0.38);
  outline-offset: 4px;
}

.cta.secondary,
.ctablog.secondary {
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(205,177,93,0.85);
  box-shadow: none;
}

.cta.secondary:hover,
.ctablog.secondary:hover {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(10,26,46,0.12);
}

.pillars .pillar .cta {
  width: 104px;
  min-height: 40px;
  padding: 0.62rem 1rem;
  font-size: var(--fs-xs);
}

.pillars .pillar .ctablog {
  width: 220px;
  min-height: 48px;
  padding: 0.82rem 1.55rem;
  font-size: var(--fs-sl);
}

/* =========================================================
   CHIPS
   ========================================================= */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1.5rem 0;
}

.chip {
  background: #e9edf1;
  color: var(--slate);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 500;
  width: var(--chip-width);
  max-width: var(--chip-width);
  min-width: var(--chip-width);
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(100,116,139,0.14);
  box-shadow: none;
  cursor: default;
}

/* =========================================================
   HOME PILLARS
   ========================================================= */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width), 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
  justify-content: center;
  align-items: stretch;
  padding: 0 1rem;
}

.pillar {
  background:
    linear-gradient(
      180deg,
      var(--surface) 0%,
      var(--surface) 68%,
      rgba(205,177,93,0.035) 100%
    );
  padding: 2.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  width: 100%;
  max-width: var(--card-max-width);
  min-width: var(--card-min-width);
  min-height: var(--card-height);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.75rem;
  right: 2.75rem;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 24%,
    var(--gold-light) 76%,
    transparent 100%
  );
  opacity: 0.72;
}

.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover), var(--shadow-gold);
  border-color: rgba(205,177,93,0.62);
}

.pillar h3 {
  font-size: var(--fs-xl);
  margin: 0 0 0.75rem;
  text-align: left;
  width: 100%;
}

.pillar .tagline {
  font-weight: 600;
  color: var(--gold);
  font-size: var(--fs-base);
  margin-bottom: 1.25rem;
  text-align: left;
  line-height: var(--lh-normal);
}

.pillar .tagline span {
  display: block;
}

.pillar .text-content {
  flex-grow: 1;
  width: 100%;
  line-height: 1.6;
  text-align: center;
}

.pillar .text-content p {
  margin: 0 0 0.75rem;
  font-size: var(--fs-sm);
}

.pillar .cta,
.pillar .ctablog {
  margin-top: auto;
  align-self: center;
}

.mobile-pillar-cta {
  display: none;
}

/* =========================================================
   PORTRAIT / FOUNDER IMAGE
   ========================================================= */

.portrait {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.portrait-large {
  width: 250px;
  height: 250px;
}

.about-portrait {
  margin: 0 auto 2.2rem;
}

/* =========================================================
   STATEMENT & START SECTION
   ========================================================= */

.founder-statement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
}

.founder-statement .statement {
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
}

.statement,
.about-flow blockquote,
.blog-post blockquote {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
  margin: 3rem auto;
  padding: 1.5rem 1.75rem;
  max-width: 760px;
  line-height: 1.45;
  font-style: normal;
  text-align: center;

  border: 1px solid rgba(205,177,93,0.28);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(248, 247, 243, 0.96) 0%,
    rgba(205,177,93,0.07) 100%
  );
  box-shadow: var(--shadow-soft);
}

.start-section {
  text-align: center;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--gray);
}

.start-section h2 {
  margin-top: 0;
}

.start-section p {
  margin: 0 auto 2.5rem;
  max-width: 640px;
  font-size: var(--fs-md);
  color: var(--slate);
}

/* =========================================================
   EXPERTISE SECTIONS
   ========================================================= */

.expertise-section {
  background:
    linear-gradient(
      180deg,
      var(--surface) 0%,
      var(--surface) 78%,
      rgba(205,177,93,0.028) 100%
    );
  padding: 3rem;
  margin: 3.5rem auto;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(205,177,93,0.72) 25%,
    rgba(219,188,94,0.84) 75%,
    transparent 100%
  );
  opacity: 0.72;
}

.expertise-section h3 {
  font-size: var(--fs-2xl);
  margin: 0 0 0.5rem;
  text-align: left;
}

.expertise-section .tagline {
  display: block;
  font-weight: 600;
  color: var(--gold);
  font-size: var(--fs-md);
  margin: 0 0 0.35rem;
  text-align: left;
  line-height: 1.25;
}

.expertise-section .tagline:last-of-type {
  margin-bottom: 1.25rem;
}

.expertise-section p {
  margin: 0 0 1.25rem;
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  text-align: justify;
  text-justify: inter-word;
/*  hyphens: auto;*/
}

.expertise-section h4 {
  margin: 2rem 0 1rem;
  font-size: var(--fs-xl);
}

.expertise-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.expertise-bullets li {
  margin-bottom: 1.75rem;
  padding-left: 1.75rem;
  position: relative;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.expertise-bullets li::before {
  content: "→";
  color: var(--gold);
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 0.1em;
}

.expertise-bullets strong {
  display: block;
  font-size: var(--fs-md);
  margin-bottom: 0.1rem;
  color: var(--navy);
  line-height: 1.2;
}

/* =========================================================
   EDITORIAL RHYTHM
   ========================================================= */

@media (min-width: 1001px) {
  .expertise-section:nth-of-type(odd) {
    transform: translateX(-14px);
  }

  .expertise-section:nth-of-type(even) {
    transform: translateX(14px);
  }

  .expertise-section.expertise-cta {
    transform: none;
  }

  .pillars .pillar:nth-child(2) {
    transform: translateY(14px);
  }

  .pillars .pillar:nth-child(2):hover {
    transform: translateY(6px);
  }
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-flow {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.about-flow h2 {
  font-size: var(--fs-3xl);
  margin: 3rem 0 1.2rem;
  text-align: center;
}

.about-flow h2:first-of-type {
  margin-top: 0;
}

.about-flow h3 {
  font-size: var(--fs-xl);
  margin: 0 auto 1rem;
  color: var(--gold);
  font-weight: 600;
  text-align: left;
}

.about-flow p {
  margin: 0 0 1.5rem;
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--slate);
  text-align: justify;
  text-justify: inter-word;
/*  hyphens: auto;*/
}

.about-flow ul {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0;
  list-style: none;
  padding-left: 0.5rem;
}

.about-flow ul li {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
  position: relative;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.about-flow ul li::before {
  content: "→";
  color: var(--gold);
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 0.1em;
}

/* =========================================================
   ENTRY PACKAGE CARDS
   ========================================================= */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
}

.price-tag {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--gold);
  margin: 1rem 0;
}

/* =========================================================
   BLOG
   ========================================================= */

#blog-index {
  padding: 3rem 0;
}

.blog-sub {
  text-align: center;
  max-width: 800px;
  margin: 1.5rem auto 2rem;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

.blog-post {
  max-width: 780px;
  margin: 3.5rem auto;
  background: var(--surface);
  border: 1px solid #e6eef6;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(6,18,34,0.06);
  padding: 2.25rem 2.5rem;
  line-height: 1.85;
  color: var(--slate);
  font-size: var(--fs-base);
}

.blog-post h1 {
  font-size: var(--fs-4xl);
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.08;
}

.blog-post h2 {
  font-size: var(--fs-xl);
  margin: 1.75rem 0 0.8rem;
}

.blog-post h2::after {
  margin: 0.75rem auto;
}

.blog-post h3 {
  font-size: var(--fs-lg);
  margin: 1.25rem 0 0.6rem;
}

.blog-post p {
  margin: 0 0 1.25rem;
  text-align: justify;
  text-justify: inter-word;
/*  hyphens: auto;*/
}

.blog-post .meta {
  color: var(--gray);
  font-size: var(--fs-xs);
  margin-bottom: 1.25rem;
}

.blog-post .lead {
  font-size: var(--fs-md);
  color: var(--slate);
  margin-bottom: 1.35rem;
  font-weight: 500;
}

.blog-post ul,
.blog-post ol {
  margin: 0 0 1.25rem 1.45rem;
  line-height: var(--lh-normal);
}

.blog-post li {
  margin-bottom: 0.35rem;
}

.blog-post pre {
  background: #0f1724;
  color: #e6eef6;
  padding: 1rem;
  border-radius: 8px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
  font-size: var(--fs-sm);
  margin-bottom: 1.25rem;
}

.blog-post img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
  border-radius: 6px;
}

.blog-post .byline {
  margin-top: 2rem;
  border-top: 1px dashed rgba(30,41,59,0.08);
  padding-top: 1rem;
  color: var(--gray);
  font-size: var(--fs-sm);
}

.blog-post .tags {
  margin-top: 0.75rem;
}

.blog-post .tags a {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: #f3f7fb;
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
  font-size: var(--fs-xs);
}

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

.contact-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.contact-card {
  min-width: 200px;
  max-width: 420px;
  flex: 0 0 auto;
}

#contact-form {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 760px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-package-selection {
  margin: 0.75rem 0 1.8rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.form-status {
  margin-top: 1rem;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-status:focus {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.form-status--sending,
.form-status--success,
.form-status--error {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  border-left-width: 3px;
  border-radius: 10px;
  color: var(--slate);
  background: var(--surface-warm);
}

.form-status--success {
  border-left-color: var(--gold);
  background: rgba(205,177,93,0.08);
}

.form-status--error {
  border-left-color: var(--gray);
}

.form-status__label,
.form-status__message {
  display: block;
}

.form-status__label {
  margin-bottom: 0.25rem;
  font-family: 'EB Garamond', serif;
  font-size: var(--fs-md);
  line-height: 1.25;
}

.form-status__message {
  color: var(--slate);
}

#contact-form [aria-invalid="true"] {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(205,177,93,0.16);
}

#contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-result-layout {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.contact-result-page {
  flex: 1 0 auto;
  width: 100%;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.contact-result-panel {
  max-width: 720px;
  margin-top: 0;
  text-align: center;
}

.contact-result-panel p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.contact-result-lead {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem) !important;
  font-weight: 600;
  line-height: 1.35 !important;
  color: var(--navy);
}

.contact-result-secondary {
  color: var(--gray);
}

.contact-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.contact-result-actions .cta {
  width: auto;
  min-width: 220px;
}

.contact-result-link {
  color: var(--navy);
  font-weight: 500;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.22em;
}

.contact-result-link:focus-visible {
  outline: 3px solid rgba(205,177,93,0.38);
  outline-offset: 4px;
}

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

footer {
  background: var(--navy);
  color: #c3cbd6;
  padding: 1.5rem 0;
  font-size: var(--fs-sm);
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  gap: 2rem;
}

.footer-company {
  justify-self: start;
}

.footer-insights {
  justify-self: end;
  text-align: right;
}

.footer-company,
.footer-insights {
  display: flex;
  flex-direction: column;
}

.footer-legal-links {
  justify-self: center;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--fs-xs);
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  color: #6b7280;
  border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-company h3 {
  color: var(--gold);
  font-size: var(--fs-base);
  margin: 0 0 0.25rem;
}

.footer-company .contact {
  margin: 0;
  line-height: 1.4;
  font-size: var(--fs-sm);
}

.footer-company a,
.footer-legal-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-company a:hover,
.footer-legal-links a:hover,
.footer-insights a:hover {
  color: var(--gold-light);
}

.footer-insights a {
  color: var(--gray);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

footer .footer-legal-links {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

footer .footer-legal-links a {
  display: inline-block;
}

footer .footer-legal-links .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 0;
  color: #cbd5e1;
}

footer .footer-legal-links .footer-social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

footer .footer-legal-links .footer-social-link:hover {
  color: var(--gold-light);
  opacity: 1;
}

footer .footer-legal-links .footer-social-link:focus-visible {
  color: var(--gold-light);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================================================
   PRE-FOOTER CTA
   ========================================================= */

.pre-footer-cta {
  background:
    radial-gradient(circle at 50% 10%, rgba(205,177,93,0.14), transparent 24rem),
    linear-gradient(135deg, #071526 0%, #0a1a2e 48%, #1e293b 100%);
  color: #e2e8f0;
  padding: 2.9rem 0;
  margin-top: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pre-footer-inner {
  max-width: 760px;
}

.pre-footer-cta h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  margin: 0 0 0.75rem;
}

.pre-footer-cta p {
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 1.5rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.pre-footer-cta .cta {
  margin-top: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  :root {
    --chip-width: 240px;
    --hero-height: 520px;
    --fs-hero: 2.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .header-grid,
  header .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .logo,
  .main-nav,
  nav,
  .lang-switch {
    grid-column: 1;
    justify-self: center;
  }

  .main-nav ul,
  nav ul {
    justify-content: center;
    margin: 0.5rem 0;
  }

  .hero {
    padding: 80px 1.5rem 60px;
  }

  .hero p {
    max-width: 100%;
  }

  .hero blockquote {
    font-size: clamp(1.45rem, 3vw, 1.75rem);
    margin: 2rem auto 2.25rem;
    padding: 0 1rem;
    line-height: 1.34;
  }

  .pillar {
    max-width: 100%;
    min-width: 280px;
    padding: 2rem;
    min-height: auto;
  }

  .founder-statement {
    gap: 1.5rem;
  }

  .expertise-section {
    padding: 2rem;
    margin: 2rem auto;
    transform: none;
  }

  .expertise-section::before {
    left: 2rem;
    right: 2rem;
  }
}

@media (max-width: 700px) {
  :root {
    --fs-xs: 0.84rem;
    --fs-sm: 0.9rem;
    --fs-base: 0.96rem;
    --fs-md: 1rem;
    --fs-lg: 1.12rem;
    --fs-xl: 1.3rem;
    --fs-2xl: 1.45rem;
    --fs-3xl: 1.8rem;
    --fs-4xl: 2rem;
    --fs-hero: 2.35rem;

    --hero-height: auto;
  }

  html {
    font-size: 16px;
  }

  h2 {
    margin: 3rem 0 1.75rem;
  }

  .hero {
    min-height: auto;
    padding: 68px 1.25rem 54px;
  }

  .hero h1 {
    margin-bottom: 1.25rem;
  }

  .hero p {
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .hero blockquote {
    font-size: 1.35rem;
    margin: 1.55rem auto 1.9rem;
    padding: 0 0.75rem;
    line-height: 1.32;
  }

  .pillars {
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 0;
  }

  .pillar {
    padding: 1.5rem 1.25rem;
    min-height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transform: none !important;
  }

  .pillar::before {
    left: 1.25rem;
    right: 1.25rem;
  }

  .pillar:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  }

  .pillar h3 {
    margin-bottom: 0.4rem;
  }

  .pillar .tagline {
    margin-bottom: 0.75rem;
    line-height: 1.35;
  }

  .pillar .text-content {
    display: block;
    text-align: left;
  }

  .pillar .text-content p {
    line-height: 1.55;
    text-align: left;
  }

  .pillar .chips,
  .pillar .cta {
    display: none;
  }

  .mobile-pillar-cta {
    display: block;
    text-align: center;
    margin: 2rem 0 3rem;
  }
  
  .cta,
  .ctablog,
  .pillars .pillar .ctablog {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    font-size: var(--fs-sl);
    white-space: normal;
    text-align: center;
  }

  .founder-statement {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin: 2.25rem auto;
  }

  .founder-statement .statement {
    text-align: center;
    max-width: 100%;
    margin: 0;
  }

  .portrait {
    width: 120px;
    height: 120px;
  }

  .portrait-large {
    width: 180px;
    height: 180px;
  }

  .about-portrait {
    margin-bottom: 2rem;
  }

  .statement,
  .about-flow blockquote,
  .blog-post blockquote {
    font-size: 1.08rem;
    padding: 1.15rem 1.2rem;
    margin: 2rem auto;
    line-height: 1.42;
    border-radius: 12px;
    box-shadow: 0 5px 14px rgba(10,26,46,0.055);
  }

  .start-section {
    padding: 2.5rem 0 1.5rem;
  }

  .expertise-section {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .expertise-section::before {
    left: 1.5rem;
    right: 1.5rem;
  }

  .expertise-section p,
  .about-flow p,
  .blog-post p {
    text-align: left;
  }

  .blog-post {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }

  .contact-row {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-card,
  #contact-form {
    max-width: 100%;
    min-width: 0;
  }

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

  .contact-result-actions .cta {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .footer-company,
  .footer-insights,
  .footer-legal-links {
    justify-self: center;
    text-align: center;
  }

  .footer-insights {
    order: 3;
  }
}

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

.reveal {
  opacity: 0;
  translate: 0 18px;
  filter: blur(2px);
  transition:
    opacity 0.72s ease,
    translate 0.72s ease,
    filter 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate, filter;
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

.pillars .pillar.reveal {
  transition-duration: 0.68s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition: none;
    transition-delay: 0ms;
    will-change: auto;
  }
}

/* =========================================================
   AUTOMATIC DARK MODE
   ========================================================= */

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --slate: #d6deea;
    --gray: #9aa8ba;
    --light: #0d1624;

    --border: #26364a;
    --border-soft: rgba(71, 85, 105, 0.58);

    --surface: #121e2d;
    --surface-warm: #172435;

    --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.22);
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.28);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.38);
    --shadow-gold: 0 18px 42px rgba(205, 177, 93, 0.10);
  }

  body {
    background:
      radial-gradient(
        circle at top left,
        rgba(205, 177, 93, 0.055),
        transparent 32rem
      ),
      linear-gradient(
        180deg,
        #0b1421 0%,
        #0d1624 48%,
        #101b2a 100%
      );
    color: var(--slate);
  }

  h1,
  h2,
  h3,
  strong,
  .pillar h3,
  .expertise-section h3,
  .about-flow h2,
  .blog-post h1,
  .blog-post h2,
  .blog-post h3,
  .expertise-bullets strong {
    color: #eef3f8;
  }

  h4,
  .pillar .tagline,
  .expertise-section .tagline,
  .price-tag {
    color: var(--gold-light);
  }

  em,
  .blog-post .meta,
  .blog-post .byline {
    color: var(--gray);
  }

  .pillar {
    background:
      linear-gradient(
        180deg,
        var(--surface) 0%,
        var(--surface) 68%,
        rgba(205, 177, 93, 0.045) 100%
      );
  }

  .expertise-section {
    background:
      linear-gradient(
        180deg,
        var(--surface) 0%,
        var(--surface) 78%,
        rgba(205, 177, 93, 0.04) 100%
      );
  }

  .statement,
  .about-flow blockquote,
  .blog-post blockquote {
    color: #eef3f8;
    background:
      linear-gradient(
        135deg,
        rgba(18, 30, 45, 0.98) 0%,
        rgba(205, 177, 93, 0.07) 100%
      );
    border-color: rgba(205, 177, 93, 0.24);
  }

  .start-section p,
  .about-flow p,
  .blog-post,
  .blog-post .lead {
    color: var(--slate);
  }

  .contact-result-lead,
  .contact-result-link {
    color: #eef3f8;
  }

  .blog-post {
    background: var(--surface);
    border-color: var(--border);
  }

  .chip {
    background: #172436;
    color: #d8e0ea;
    border-color: rgba(148, 163, 184, 0.18);
  }

  .blog-post .tags a {
    background: #172436;
    color: #d8e0ea;
  }

  .blog-post pre {
    background: #08111d;
    color: #e6eef6;
  }

  .start-section {
    border-top-color: #33445a;
  }

  .pre-footer-cta {
    background:
      radial-gradient(
        circle at 50% 0%,
        rgba(205, 177, 93, 0.34),
        transparent 21rem
      ),
      linear-gradient(
        135deg,
        #e1e6eb 0%,
        #d4dde6 48%,
        #c4d0dc 100%
      );
    color: var(--navy);
    border-top: 1px solid rgba(205, 177, 93, 0.38);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 -16px 38px rgba(0, 0, 0, 0.20);
  }

  .pre-footer-cta h3 {
    color: var(--navy);
  }

  .pre-footer-cta p {
    color: rgba(10, 26, 46, 0.76);
  }

  .pre-footer-cta .cta {
    color: var(--navy);
    box-shadow:
      0 12px 26px rgba(10, 26, 46, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  header,
  footer,
  .cta,
  .ctablog,
  .skip-link {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .blog-post,
  .expertise-section,
  .pillar {
    box-shadow: none;
    border: none;
  }
}

/* Version 4.1: semantic headings and graceful brand-image fallback */
.page-heading {
  font-size: var(--fs-3xl);
  text-align: center;
  margin: 4rem 0 2rem;
  position: relative;
  letter-spacing: normal;
  line-height: 1.2;
}

.page-heading::after,
.legal-section-title::after {
  content: '';
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 22%, var(--gold-light) 78%, transparent 100%);
  display: block;
  margin: 1rem auto;
}

.portrait-brand {
  object-fit: contain;
  padding: 18px;
  background: var(--navy);
}

.service-links {
  max-width: 900px;
  margin: 1rem auto 3rem;
  text-align: center;
}

.service-links h3 {
  margin-bottom: 0.8rem;
}

.service-links a {
  color: var(--navy);
  text-decoration-color: var(--gold);
  text-underline-offset: 0.2em;
}

@media screen and (max-width: 720px) {
  .blog-post > p[style*="margin:4.5rem"] a.cta {
    display: block !important;
    margin: 0.9rem auto !important;
  }
}
