/*
Theme Name: Thread Consulting
Theme URI: https://threadco.ca
Author: Thread Consulting
Description: Custom theme for Thread Consulting — strategic marketing & communications for wealth management.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: threadco
*/

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    /* Brand standard palette */
    --charcoal: #1a1917;
    --ember: #e3652d; --ember-deep: #d43e26; --ember-light: #fae8df;
    --slate: #7a90a8; --slate-pale: #e5eaf2;
    --warm-white: #faf9f6; --stone: #e8e4dd;
    --text-dark: #1a1917; --text-mid: #6b6760; --text-light: #9c9890;
    /* legacy aliases retained for safety */
    --gold: #e3652d; --gold-light: #fae8df; --sage: #7a90a8; --sage-pale: #e5eaf2; --sage-light: #e5eaf2;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
  }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); background: var(--warm-white); color: var(--text-dark); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.95rem 2.25rem; background: rgba(250,249,246,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(122,144,168,0.25); transition: box-shadow 0.3s; }
  nav.scrolled { box-shadow: 0 2px 24px rgba(42,41,38,0.07); }
  .nav-logo { text-decoration: none; display: flex; align-items: center; }
  .nav-logo img { height: 25px; width: auto; display: block; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { font-size: 0.8rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
  .nav-links a:hover, .nav-links a.active { color: var(--text-dark); }
  .nav-links a.active { border-bottom: 1px solid var(--ember); padding-bottom: 1px; }
  .nav-cta { font-size: 0.8rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dark); border: 1px solid var(--ember); padding: 0.5rem 1.25rem; text-decoration: none; transition: background 0.2s, color 0.2s; white-space: nowrap; }
  .nav-cta:hover { background: var(--ember); color: white; }
  .nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; margin-right: -7px; background: none; border: none; }
  .nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--text-dark); transition: transform 0.3s, opacity 0.3s; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { display: none; position: fixed; top: 80px; left: 0; right: 0; background: rgba(250,249,246,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--stone); z-index: 99; padding: 2rem 3rem; flex-direction: column; gap: 1.5rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; }
  .mobile-menu .mob-cta { color: var(--text-dark); border: 1px solid var(--ember); padding: 0.65rem 1.25rem; text-align: center; }

  section { padding: 4.5rem 0; }
  .container { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
  .section-eyebrow { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
  .section-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--text-dark); line-height: 1.2; }

  /* HERO */
  .hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--warm-white); padding-top: 6.5rem; }
  .hero .container { width: 100%; }
  .hero-content { position: relative; z-index: 3; max-width: 620px; }
  .hero-motif { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
  .hero-motif > div { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }

  /* DIRECTION — QUIET: two faint thread loops (the two passes of one thread) sweeping right */
  .motif-quiet svg { position: absolute; top: 50%; right: -7%; width: 52%; height: auto; transform: translateY(-50%); display: block; }
  .motif-quiet .loop-a { stroke: var(--ember); opacity: 0.16; }
  .motif-quiet .loop-b { stroke: var(--ember); opacity: 0.09; }
  .motif-quiet .hairline { position: absolute; top: 0; bottom: 0; right: 14%; width: 1px; background: rgba(26,25,23,0.07); }

  /* DIRECTION — FRAMED: a Stone panel on the right carrying the loop as an emblem */
  .motif-framed .panel { position: absolute; top: 0; right: 0; width: 44%; height: 100%; background: var(--stone); border-left: 1px solid rgba(26,25,23,0.09); }
  .motif-framed .panel-rule { position: absolute; top: 0; bottom: 0; right: calc(44% - 1px); width: 1px; }
  .motif-framed .emblem { position: absolute; top: 50%; right: 22%; transform: translate(50%, -50%); width: 173px; }
  .motif-framed .emblem svg { width: 100%; height: auto; display: block; }
  .motif-framed .emblem .loop { stroke: var(--ember); }
  .motif-framed .emblem-label { display: block; margin-top: 1.5rem; text-align: center; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-light); }

  /* DIRECTION — EDITORIAL: content anchored by a left rule; one thread runs as a faint full-width baseline */
  .motif-editorial .baseline { position: absolute; left: -6%; right: -6%; bottom: 13%; }
  .motif-editorial .baseline svg { width: 100%; height: auto; display: block; }
  .motif-editorial .baseline path { stroke: var(--ember); fill: none; opacity: 0.13; }

  body[data-hero="quiet"] .motif-quiet { opacity: 1; }
  body[data-hero="framed"] .motif-framed { opacity: 1; }
  body[data-hero="editorial"] .motif-editorial { opacity: 1; }
  body[data-hero="framed"] .hero-content { max-width: 540px; }
  body[data-hero="editorial"] .hero-content { padding-left: 2.4rem; }
  body[data-hero="editorial"] .hero-content::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 6px; width: 2px; background: var(--ember); }
  .hero-eyebrow { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
  .hero h1 { font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 300; line-height: 1.1; color: var(--text-dark); margin-bottom: 1.75rem; letter-spacing: -0.01em; }
  .hero h1 em { font-style: italic; color: var(--text-mid); }
  .hero-sub { font-size: 1.05rem; font-weight: 300; color: var(--text-mid); max-width: 480px; line-height: 1.8; margin-bottom: 2.75rem; }
  .hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
  .btn-primary { background: var(--ember); color: #fff; padding: 0.9rem 2rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background 0.2s; }
  .btn-primary:hover { background: var(--ember-deep); }
  .btn-secondary { font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em; color: var(--text-mid); text-decoration: none; border-bottom: 1px solid var(--stone); padding-bottom: 2px; }
  .btn-secondary:hover { color: var(--text-dark); border-color: var(--text-mid); }

  /* STRIP */
  .about-strip { background: var(--stone); padding: 4.95rem 0; border-top: 1px solid rgba(26,25,23,0.07); border-bottom: 1px solid rgba(26,25,23,0.07); position: relative; }
  .about-strip .container { position: relative; z-index: 1; }
  .about-strip p { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 300; line-height: 1.6; color: var(--text-dark); max-width: 820px; }
  .about-strip p em { font-style: italic; color: var(--text-mid); }
  .about-strip-declaration { font-family: var(--serif); font-size: clamp(2.55rem, 5.4vw, 4.1rem); font-weight: 400; font-style: normal; line-height: 1.3; letter-spacing: -0.01em; color: var(--text-dark); max-width: 960px; margin: 0 auto; text-align: center; }
  .about-strip-declaration em { font-style: italic; color: var(--ember); font-weight: 400; }

  /* METRICS — redesigned editorial */
  .metrics-section { background: var(--warm-white); }
  .metrics-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--text-dark); margin-bottom: 3.5rem; line-height: 1.2; }
  .metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); }
  .metric-card { background: var(--warm-white); padding: 3rem 2rem 2.5rem; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); transition: background 0.25s; position: relative; }
  .metric-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--ember); transition: width 0.4s ease; }
  .metric-card:hover { background: var(--stone); }
  .metric-card:hover::before { width: 100%; }
  .metric-num { font-family: var(--serif); font-size: clamp(2.75rem, 4vw, 4.25rem); font-weight: 300; color: var(--text-dark); line-height: 1; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
  .metric-num span { font-size: 2rem; color: var(--ember); }
  .metric-divider { width: 28px; height: 1px; background: var(--ember); margin-bottom: 1rem; }
  .metric-desc { font-size: 0.85rem; font-weight: 300; color: var(--text-mid); line-height: 1.7; }

  /* SERVICES — accordion */
  .services-section { background: var(--stone); }
  .services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
  .services-lead { font-size: 0.98rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; align-self: end; padding-bottom: 0.25rem; }
  .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(26,25,23,0.08); }
  .service-card { background: var(--warm-white); position: relative; overflow: hidden; cursor: pointer; }
  .service-card-header { padding: 2.25rem 2.5rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; transition: background 0.25s; }
  .service-card.open .service-card-header, .service-card-header:hover { background: #f7f6f2; }
  .service-rule { width: 28px; height: 1px; background: var(--ember); margin-bottom: 0.85rem; }
  .service-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 300; color: var(--text-dark); line-height: 1.3; }
  .service-toggle { width: 28px; height: 28px; flex-shrink: 0; margin-top: 4px; border: 1px solid var(--stone); display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; }
  .service-card.open .service-toggle { background: var(--ember); border-color: var(--ember); }
  .service-toggle svg { transition: transform 0.3s; }
  .service-card.open .service-toggle svg { transform: rotate(45deg); }
  .service-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .service-card.open .service-body { max-height: 340px; }
  .service-body-inner { padding: 0 2.5rem 2.25rem; }
  .service-desc { font-size: 0.9rem; font-weight: 300; color: var(--text-mid); line-height: 1.8; }

  /* WHO */
  .who-section { background: var(--warm-white); }
  .who-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: center; }
  .who-left .section-title { margin-bottom: 1.5rem; }
  .who-left p { font-size: 0.98rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 1.25rem; }
  .rule-gold { width: 40px; height: 1px; background: var(--ember); margin: 1.5rem 0 2rem; }
  .who-right { background: var(--stone); padding: 3rem; position: relative; }
  .who-right::before { content: '\201C'; font-family: var(--serif); font-size: 8rem; line-height: 1; color: rgba(227,101,45,0.25); position: absolute; top: 1rem; left: 2rem; }
  .who-quote { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 400; font-style: normal; color: var(--text-dark); line-height: 1.6; position: relative; z-index: 1; margin-bottom: 1.5rem; }
  .who-attr { font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); }
  .who-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
  .tag { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); border: 1px solid var(--stone); padding: 0.35rem 0.85rem; background: white; }

  /* ABOUT */
  .about-section { background: var(--stone); overflow: hidden; }
  .about-inner { display: grid; grid-template-columns: 1fr 1.04fr; gap: 4.5rem; align-items: center; }
  .about-left h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--text-dark); margin-bottom: 0.25rem; line-height: 1.2; }
  .about-left h2 em { font-style: italic; color: var(--text-mid); }
  .about-name-rule { width: 48px; height: 1px; background: var(--ember); margin: 1.5rem 0 2rem; }
  .about-left p { font-size: 0.95rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 1.25rem; }
  .about-signature-rule { width: 28px; height: 1px; background: var(--ember); margin: 1.75rem 0 1.25rem; }
  .about-signature { font-family: var(--sans); font-size: 0.95rem; font-weight: 400; color: var(--text-dark); line-height: 1.85; max-width: 420px; }
  .about-signature em { font-style: normal; color: var(--ember); font-weight: 500; }
  .about-salutation { font-family: var(--sans); font-weight: 400; font-size: 0.95rem; color: var(--text-dark); line-height: 1.85; margin-bottom: 1.25rem; }
  .about-script-sig { display: block; width: clamp(175px, 21.3vw, 208px); height: auto; margin: 1.1rem 0 0 auto; transform: rotate(-4deg); transform-origin: center; opacity: 0.78; }
  .about-right { position: relative; }
  .about-portrait { position: relative; width: 100%; max-width: 460px; margin-left: auto; }
  .portrait-frame { width: 100%; aspect-ratio: 4/5; position: relative; overflow: hidden; border: 1px solid rgba(26,25,23,0.1); background: var(--stone); }
  .photo-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; position: relative; z-index: 2; }
  .portrait-ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; background-color: var(--stone); background-image: repeating-linear-gradient(135deg, rgba(122,144,168,0.10) 0 1.5px, transparent 1.5px 13px); }
  .portrait-ph-initials { font-family: var(--serif); font-size: 3.5rem; font-weight: 300; color: var(--text-mid); letter-spacing: 0.04em; line-height: 1; }
  .portrait-ph-mono { font-family: monospace; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-light); text-align: center; line-height: 1.7; max-width: 200px; }
  .portrait-tab { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 3; display: flex; align-items: center; gap: 0.5rem; background: var(--warm-white); padding: 0.45rem 0.85rem; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid); }
  .portrait-tab svg { display: block; }
  .about-sig-card { position: relative; z-index: 4; margin-top: -3.25rem; margin-left: -2.5rem; max-width: 350px; background: var(--warm-white); border-top: 2px solid var(--ember); padding: 1.7rem 1.9rem 1.8rem; box-shadow: 0 22px 48px -30px rgba(26,25,23,0.5); display: flex; flex-direction: column; gap: 0.9rem; }
  .about-sig-card p { font-family: var(--serif); font-size: 1.08rem; font-weight: 400; font-style: italic; color: var(--text-dark); line-height: 1.55; margin: 0; }
  .about-sig-card .sig-attr { font-family: var(--sans); font-style: normal; font-size: 0.68rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin: 0; }

  /* THE THREAD — BLOG */
  .blog-section { background: var(--warm-white); }
  .blog-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
  .blog-lead { font-size: 0.98rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; }
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone); }
  .blog-card { background: var(--warm-white); padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; transition: background 0.25s; position: relative; overflow: hidden; }
  .blog-card::after { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--ember); transition: width 0.35s ease; }
  .blog-card:hover { background: #fcfbf8; }
  .blog-card:hover::after { width: 100%; }
  .blog-card.coming-soon { opacity: 0.5; cursor: default; }
  .blog-card.coming-soon:hover { background: var(--warm-white); }
  .blog-card.coming-soon::after { display: none; }
  .blog-tag { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ember); }
  .blog-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 300; color: var(--text-dark); line-height: 1.35; }
  .blog-excerpt { font-size: 0.87rem; font-weight: 300; color: var(--text-mid); line-height: 1.75; flex: 1; }
  .blog-meta { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--text-light); text-transform: uppercase; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--stone); display: flex; justify-content: space-between; align-items: center; }
  .blog-meta a { color: var(--text-mid); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.06em; border-bottom: 1px solid var(--stone); padding-bottom: 1px; transition: color 0.2s, border-color 0.2s; }
  .blog-meta a:hover { color: var(--text-dark); border-color: var(--text-mid); }
  .blog-placeholder-icon { width: 40px; height: 40px; border: 1px solid var(--stone); display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
  .blog-cta-row { margin-top: 3rem; text-align: center; }
  .blog-cta-note { font-size: 0.85rem; font-weight: 300; color: var(--text-light); letter-spacing: 0.06em; }
  @media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } .blog-intro { grid-template-columns: 1fr; gap: 1.5rem; } }
  .pull-quote-band { background: var(--text-dark); padding: 4rem 0; }
  .pull-quote-band blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 300; color: white; line-height: 1.55; max-width: 820px; position: relative; padding-left: 2rem; border-left: 2px solid var(--ember); }
  .pull-quote-band blockquote em { font-style: italic; color: white; }
  .pull-quote-attr { margin-top: 1.75rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); padding-left: 2rem; }

  /* CTA */
  .cta-section { background: var(--ember); padding: 10rem 0 7rem; text-align: center; position: relative; overflow: hidden; }
  .cta-bg-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); }
  .cta-bg-circle-2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); }
  .cta-eyebrow { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
  .cta-section h2 { font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 300; color: white; line-height: 1.15; margin-bottom: 1.5rem; position: relative; }
  .cta-section h2 em { font-style: italic; color: white; }
  .cta-section > .container > p { font-size: 0.98rem; font-weight: 300; color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto 2.75rem; line-height: 1.85; position: relative; }
  .cta-actions { display: flex; align-items: center; justify-content: center; gap: 2rem; position: relative; flex-wrap: wrap; }
  .btn-light { background: white; border: none; outline: none; cursor: pointer; color: var(--ember); padding: 0.9rem 2.25rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background 0.2s, color 0.2s; }
  .btn-light:hover { background: var(--warm-white); color: var(--ember-deep); }
  .btn-ghost { font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em; color: rgba(255,255,255,0.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 2px; }
  .btn-ghost:hover { color: white; border-color: white; }

  /* CONTACT FORM */
  .contact-form-wrap { max-width: 520px; margin: 0 auto; overflow: hidden; max-height: 0; transition: max-height 0.55s ease, margin-top 0.3s ease; }
  .contact-form-wrap.open { max-height: 700px; margin-top: 3rem; }
  .contact-form { position: relative; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .contact-form input, .contact-form textarea, .contact-form select { width: 100%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 0.85rem 1rem; font-family: var(--sans); font-size: 0.88rem; font-weight: 300; outline: none; transition: border-color 0.2s; -webkit-appearance: none; appearance: none; }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
  .contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(255,255,255,0.7); }
  .contact-form textarea { resize: vertical; min-height: 110px; margin-bottom: 1rem; }
  .contact-form select { color: rgba(255,255,255,0.7); margin-bottom: 1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
  .contact-form select option { background: var(--ember-deep); color: white; }
  .contact-form .btn-submit { width: 100%; text-align: center; cursor: pointer; font-family: var(--sans); display: block; border: none; background: white; color: var(--ember); padding: 0.9rem 2.25rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
  .contact-form .btn-submit:hover { background: var(--warm-white); color: var(--ember-deep); }
  .form-note { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 0.85rem; letter-spacing: 0.06em; }
  .form-success { display: none; text-align: center; padding: 2rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.8; }
  .form-success svg { margin-bottom: 1rem; }
  .btn-light.active { background: var(--warm-white); color: var(--ember-deep); }

  /* CTA direct contact */
  .cta-direct-contact { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; font-size: 0.88rem; letter-spacing: 0.04em; position: relative; }
  .cta-contact-link { color: rgba(255,255,255,0.75); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
  .cta-contact-link:hover { color: white; border-color: white; }
  .cta-contact-sep { color: rgba(255,255,255,0.3); }

  /* FOOTER */
  footer { background: #141312; padding: 3rem 0; }
  .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
  .footer-logo { text-decoration: none; display: flex; align-items: center; opacity: 0.78; transition: opacity 0.2s; }
  .footer-logo:hover { opacity: 1; }
  .footer-logo img { height: 22px; width: auto; display: block; }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: rgba(255,255,255,0.7); }
  .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
  .footer-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: center; align-items: center; gap: 0.85rem; }
  .footer-legal a { font-size: 0.74rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
  .footer-legal a:hover { color: rgba(255,255,255,0.7); }
  .footer-legal span { font-size: 0.74rem; color: rgba(255,255,255,0.15); }

  /* REVEAL ANIMATIONS */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; } .reveal-delay-3 { transition-delay: 0.3s; } .reveal-delay-4 { transition-delay: 0.4s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { opacity: 0; animation: fadeUp 0.8s ease forwards; }
  .delay-1 { animation-delay: 0.15s; } .delay-2 { animation-delay: 0.3s; } .delay-3 { animation-delay: 0.45s; }
  body.no-motion .reveal, body.no-motion .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  body[data-emphasis="ember"] .hero h1 em { color: var(--ember); }
  /* Intro strip — Ember variant (brand: white text on Ember) */
  body[data-strip="ember"] .about-strip { background: var(--ember); border-top-color: rgba(255,255,255,0.22); border-bottom-color: rgba(255,255,255,0.22); }
  body[data-strip="ember"] .about-strip p { color: #fff; }
  body[data-strip="ember"] .about-strip p em { color: rgba(255,255,255,0.82); }
  body[data-strip="ember"] .about-strip-declaration { color: #fff; border-top-color: rgba(255,255,255,0.38); }
  body[data-strip="ember"] .about-strip-declaration em { color: #fff; font-style: italic; }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    nav { padding: 1.1rem 1.5rem; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .container { padding: 0 1.5rem; }
    section { padding: 4rem 0; }
    .services-intro { grid-template-columns: 1fr; gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .who-inner { grid-template-columns: 1fr; gap: 3rem; }
    .about-inner { grid-template-columns: 1fr; gap: 3rem; }
    .about-portrait { max-width: 100%; margin-left: 0; }
    .about-sig-card { margin-left: 1.25rem; max-width: calc(100% - 1.25rem); }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .motif-framed .panel, .motif-framed .panel-rule { display: none; }
    .motif-framed .emblem { right: 7%; width: 110px; opacity: 0.55; }
    .motif-framed .emblem-label { display: none; }
    .motif-quiet svg { right: -34%; width: 115%; }
    body[data-hero="framed"] .hero-content { max-width: 100%; }
    .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-links { flex-wrap: wrap; gap: 0.85rem 1.25rem; }
    .pull-quote-band blockquote { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  }
  /* hero subtle organic/geometric shapes — right third */
  .hero-shapes { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; overflow: hidden; pointer-events: none; }
  .hero-shapes .sh-blob { position: absolute; top: 12%; right: -28%; width: 122%; height: 76%; border-radius: 52% 48% 47% 53% / 56% 44% 56% 44%; background: radial-gradient(closest-side at 42% 42%, rgba(122,144,168,0.20), rgba(122,144,168,0)); }
  .hero-shapes .sh-ring { position: absolute; border-radius: 50%; }
  .hero-shapes .sh-ring-1 { width: 30vw; height: 30vw; max-width: 520px; max-height: 520px; top: 3%; right: -18%; border: 1px solid rgba(122,144,168,0.22); }
  .hero-shapes .sh-ring-2 { width: 18vw; height: 18vw; max-width: 320px; max-height: 320px; top: 34%; right: 7%; border: 1px solid rgba(227,101,45,0.20); }
  .hero-shapes .sh-ring-3 { width: 22vw; height: 22vw; max-width: 380px; max-height: 380px; top: 1%; right: 18%; border: 1px solid rgba(227,101,45,0.19); }
  .hero-shapes .sh-ring-4 { width: 13vw; height: 13vw; max-width: 220px; max-height: 220px; top: 60%; right: -4%; border: 1px solid rgba(122,144,168,0.22); }
  .hero-shapes .sh-ring-5 { width: 27vw; height: 27vw; max-width: 460px; max-height: 460px; top: 44%; right: 26%; border: 1px solid rgba(122,144,168,0.18); }
  .hero-shapes .sh-ring-6 { width: 9vw; height: 9vw; max-width: 150px; max-height: 150px; top: 41%; right: 41%; border: 1px solid rgba(227,101,45,0.22); }

  /* who — thread bullets */
  .who-bullets { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
  .who-bullets li { position: relative; padding-left: 2.4rem; font-size: 0.95rem; font-weight: 300; color: var(--text-mid); line-height: 1.8; }
  .who-bullets li svg { position: absolute; left: 0; top: 0.55rem; width: 28px; height: 13px; }

  @media (max-width: 768px) { .hero-shapes { width: 70%; opacity: 0.7; } }


  /* v4 additions */
  .who-right.statement::before { content: none; }
  .who-statement-label { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-light); display: block; margin-bottom: 1.25rem; }
  .who-statement { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 400; font-style: normal; color: var(--text-dark); line-height: 1.55; }
  .who-statement em { font-style: italic; color: var(--ember); }

  .howwework-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: start; }
  .howwework-body { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1.6rem; }
  .howwework-body p { font-size: 0.98rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; }

  .fractional-inner { max-width: 820px; }
  .fractional-rule { width: 48px; height: 1px; background: var(--ember); margin: 1.5rem 0 2rem; }
  .fractional-lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; color: var(--text-dark); line-height: 1.5; margin-bottom: 1.5rem; max-width: 760px; }
  .fractional-body { font-size: 0.98rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; max-width: 640px; }

  .pq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .pq-item { margin: 0; }
  .pq-item blockquote { font-size: clamp(1.02rem, 1.45vw, 1.3rem); padding-left: 1.5rem; line-height: 1.6; }
  .pull-quote-band .pq-item .pull-quote-attr { margin-top: 1.25rem; padding-left: 1.5rem; }

  @media (max-width: 768px) {
    .howwework-inner { grid-template-columns: 1fr; gap: 1.75rem; }
    .pq-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  }


  /* v5 additions */
  .kdot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); display: inline-block; flex-shrink: 0; }
  .kdot.light { background: rgba(255,255,255,0.85); }
  .hero-eyebrow .kdot { width: 10px; height: 10px; }
  .portrait-tab .kdot { width: 7px; height: 7px; }
  .fractional-tag .kdot { width: 7px; height: 7px; }

  /* WHO — three boxes */
  .who-head { max-width: 640px; margin-bottom: 3rem; }
  .who-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(26,25,23,0.08); border: 1px solid rgba(26,25,23,0.08); margin-bottom: 3.5rem; }
  .who-box { background: var(--warm-white); padding: 2.5rem 2rem 2.75rem; display: flex; flex-direction: column; transition: background 0.25s; }
  .who-box:hover { background: #fcfbf8; }
  .who-box-index { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--ember); line-height: 1; }
  .who-box-rule { width: 26px; height: 1px; background: var(--ember); margin: 1rem 0 1.35rem; }
  .who-box-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--text-dark); line-height: 1.3; margin-bottom: 0.9rem; }
  .who-box-desc { font-size: 0.9rem; font-weight: 300; color: var(--text-mid); line-height: 1.75; }
  .who-foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
  .who-foot .who-statement { font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 400; font-style: normal; color: var(--text-dark); line-height: 1.5; }
  .who-foot .who-statement em { font-style: italic; color: var(--ember); }
  .who-closing { font-size: 0.98rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 1.75rem; }
  .who-foot .who-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

  /* FRACTIONAL media */
  .fractional-inner { max-width: none; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
  .fractional-media { position: relative; }
  .fractional-frame { position: relative; width: 100%; aspect-ratio: 4/3; border: 1px solid rgba(26,25,23,0.1); overflow: hidden; background: var(--warm-white); }
  .fractional-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-color: #efece6; background-image: repeating-linear-gradient(135deg, rgba(122,144,168,0.10) 0 1.5px, transparent 1.5px 13px); }
  .fractional-ph-mono { font-family: monospace; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-light); text-align: center; line-height: 1.85; }
  .fractional-tag { position: absolute; top: 1rem; left: 1rem; display: flex; align-items: center; gap: 0.5rem; background: var(--warm-white); padding: 0.45rem 0.85rem; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid); }

  /* SECTION DIVIDER */
  .section-divider { background: var(--warm-white); }
  .section-divider .container { padding-top: 0; padding-bottom: 0; }
  .section-divider-line { display: block; width: 100%; height: 2px; background: var(--ember); }

  @media (max-width: 768px) {
    .who-boxes { grid-template-columns: 1fr; }
    .who-foot { grid-template-columns: 1fr; gap: 2rem; }
    .fractional-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  }

  /* TESTIMONIAL SLIDER */
  .tslider { overflow: hidden; }
  .tslider-track { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
  .tslide { flex: 0 0 100%; min-width: 100%; padding: 0 0.5rem; align-self: center; }
  .tslide blockquote { max-width: 880px; margin: 0 auto; }
  .tslide .pull-quote-attr { max-width: 880px; margin-left: auto; margin-right: auto; padding-left: 0; text-align: right; }
  .tslider-controls { display: flex; align-items: center; justify-content: center; gap: 1.75rem; margin-top: 3rem; }
  .tslider-btn { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.28); background: transparent; color: rgba(255,255,255,0.85); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s, color 0.2s; }
  .tslider-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; }
  .tslider-dots { display: flex; gap: 0.65rem; }
  .tslider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; padding: 0; transition: background 0.25s, transform 0.25s; }
  .tslider-dot.active { background: var(--ember); transform: scale(1.35); }


/* ===== B/C/D: full-bleed photos + warm placeholder images (TEMP stand-ins; remove sepia filter when real photos go in) ===== */
:root { --bleed-right: calc((100vw - min(100vw, 1100px)) / 2 + 3rem); }

.photo-fractional { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 2; }
@media (min-width: 769px) {
  .about-portrait { display: flex; flex-direction: column; flex: 1; max-width: none; margin-left: 0; }
  .about-inner { align-items: stretch; }
  .about-right { display: flex; }
  .portrait-frame { flex: 1 1 auto; aspect-ratio: auto; height: auto; margin-top: -4.5rem; width: calc(100% + var(--bleed-right)); margin-right: calc(-1 * var(--bleed-right)); }
  .photo-portrait { object-position: center 20%; }
  .about-sig-card { margin-top: -3rem; }
  .fractional-inner { align-items: stretch; }
  .fractional-media { display: flex; }
  .fractional-frame { aspect-ratio: auto; height: calc(100% + 9rem); margin-top: -4.5rem; margin-bottom: -4.5rem; width: calc(100% + var(--bleed-right)); margin-right: calc(-1 * var(--bleed-right)); }
}

@media (max-width: 768px) { .ai-grid { grid-template-columns: 1fr; gap: 1.75rem; } .ai-grid > div:nth-child(2) { padding-top: 0 !important; } }


/* ===== legal page styles ===== */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --ember: #e3652d; --ember-deep: #d43e26;
    --warm-white: #faf9f6; --stone: #e8e4dd;
    --text-dark: #1a1917; --text-mid: #6b6760; --text-light: #9c9890;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
  }
  body { font-family: var(--sans); background: var(--warm-white); color: var(--text-dark); font-size: 16px; line-height: 1.75; }

  .legal-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 3rem; background: rgba(250,249,246,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--stone); }
  .legal-nav a.brand { display: flex; align-items: center; text-decoration: none; }
  .legal-nav a.brand svg { height: 23px; width: auto; display: block; }
  .legal-back { font-size: 0.76rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; border-bottom: 1px solid var(--stone); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
  .legal-back:hover { color: var(--text-dark); border-color: var(--text-mid); }

  .legal-wrap { max-width: 760px; margin: 0 auto; padding: 5rem 2rem 7rem; }
  .legal-eyebrow { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.7rem; }
  .legal-eyebrow svg { display: block; }
  h1.legal-title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 1rem; }
  h1.legal-title em { font-style: italic; color: var(--ember); }
  .legal-meta { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2.5rem; }

  .legal-note { background: var(--stone); border-top: 2px solid var(--ember); padding: 1.4rem 1.6rem; margin-bottom: 3.5rem; }
  .legal-note p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.7; }
  .legal-note strong { color: var(--text-dark); font-weight: 500; }

  section.legal-section { margin-bottom: 3.5rem; scroll-margin-top: 6rem; }
  section.legal-section > h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.2; margin-bottom: 0.4rem; }
  .legal-rule { width: 40px; height: 1px; background: var(--ember); margin: 1rem 0 2rem; }
  section.legal-section h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dark); margin: 2rem 0 0.6rem; }
  section.legal-section p { font-size: 0.95rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; }
  section.legal-section p a { color: var(--ember); text-decoration: none; border-bottom: 1px solid rgba(227,101,45,0.35); }
  section.legal-section ul { list-style: none; margin: 0.5rem 0 1.25rem; }
  section.legal-section ul li { font-size: 0.95rem; font-weight: 300; color: var(--text-mid); line-height: 1.8; padding-left: 1.3rem; position: relative; margin-bottom: 0.4rem; }
  section.legal-section ul li::before { content: '\2014'; position: absolute; left: 0; color: var(--ember); }

  .legal-divider { height: 1px; background: var(--stone); margin: 4rem 0; }

  .legal-footer { border-top: 1px solid var(--stone); padding: 2.5rem 0 0; margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .legal-footer p { font-size: 0.74rem; color: var(--text-light); letter-spacing: 0.06em; }
  .legal-footer a { font-size: 0.74rem; color: var(--text-mid); letter-spacing: 0.08em; text-decoration: none; border-bottom: 1px solid var(--stone); padding-bottom: 1px; }
  .legal-footer a:hover { color: var(--text-dark); }

  @media (max-width: 600px) {
    .legal-nav { padding: 1.1rem 1.5rem; }
    .legal-wrap { padding: 3rem 1.5rem 5rem; }
  }


/* ===== Theme additions: blog, single post, pages, legal ===== */
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
main.blog-main, main.post-main, main.page-main { padding: 9rem 0 6rem; min-height: 60vh; }
main.blog-main .container { max-width: 900px; }
.blog-list { margin-top: 3rem; }
.blog-item { border-top: 1px solid var(--stone); padding: 2.25rem 0; }
.blog-item-link { text-decoration: none; color: inherit; display: block; transition: opacity 0.2s; }
.blog-item-link:hover { opacity: 0.7; }
.blog-item-meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.6rem; }
.blog-item-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin-bottom: 0.6rem; }
.blog-item-excerpt { color: var(--text-mid); font-weight: 300; }
.blog-item-more { display: inline-block; margin-top: 0.9rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); }
.post-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0.6rem 0 0.5rem; }
.post-meta { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2rem; }
.post-thumb { margin: 0 0 2.5rem; }
.post-thumb img { width: 100%; height: auto; display: block; }
.post-content p { font-size: 1.02rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); margin-bottom: 1.3rem; }
.post-content h2, .post-content h3 { font-family: var(--serif); font-weight: 300; margin: 2rem 0 0.8rem; line-height: 1.25; }
.post-content h2 { font-size: 1.9rem; } .post-content h3 { font-size: 1.45rem; }
.post-content a { color: var(--ember); }
.post-content img { max-width: 100%; height: auto; }
.post-content ul, .post-content ol { margin: 0 0 1.3rem 1.3rem; color: var(--text-mid); font-weight: 300; }
.post-back { margin-top: 3rem; } .post-back a { color: var(--ember); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.05em; }
.page-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 1.5rem; }
.page-content p { color: var(--text-mid); font-weight: 300; line-height: 1.85; margin-bottom: 1.2rem; }
.pagination, .nav-links.pagination { margin-top: 3rem; } .pagination .page-numbers { padding: 0.4rem 0.7rem; color: var(--text-mid); text-decoration: none; } .pagination .current { color: var(--ember); }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
#testimonials { scroll-margin-top: 90px; }
a.blog-card { display: block; text-decoration: none; color: inherit; }
.nav-more { position: relative; display: flex; align-items: center; }
.nav-more-toggle { font-family: var(--sans); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); background: none; border: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; transition: color 0.2s; }
.nav-more:hover .nav-more-toggle, .nav-more:focus-within .nav-more-toggle { color: var(--text-dark); }
.nav-more-caret { font-size: 0.7rem; line-height: 1; }
.nav-more-menu { position: absolute; top: calc(100% + 0.9rem); right: 0; list-style: none; margin: 0; padding: 0.5rem 0; min-width: 175px; background: var(--warm-white); border: 1px solid var(--stone); box-shadow: 0 14px 36px -16px rgba(26,25,23,0.3); display: none; flex-direction: column; z-index: 200; }
.nav-more:hover .nav-more-menu, .nav-more:focus-within .nav-more-menu { display: flex; }
.nav-more-menu a { display: block; padding: 0.55rem 1.2rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; white-space: nowrap; border-bottom: none; transition: color 0.2s, background 0.2s; }
.nav-more-menu a:hover { color: var(--text-dark); background: var(--stone); }
.blog-readmore { color: var(--ember); letter-spacing: 0.06em; font-weight: 500; white-space: nowrap; }
.blog-meta a { border-bottom: none; text-decoration: none; }
