/* FLAW editorial composition — custom component layer, independent from legacy UX blocks. */
body.flaw-legal-site .header-wrapper { display: none !important; }
.flaw-site-header { position: relative; z-index: 100; background: #F7F4F0; border-bottom: 1px solid rgba(32,29,27,.14); }
.flaw-site-header__inner { width: min(calc(100% - 3rem), 1280px); min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.flaw-site-header__brand { display: inline-flex; align-items: center; }
.flaw-site-header__brand img { display: block; width: 170px; height: auto; }
.flaw-site-nav__list { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.flaw-site-nav__list > li { position: relative; }
.flaw-site-nav__list > li > a { color: #222222; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.flaw-site-nav__list > li > a:hover { color: #940C27; }
.flaw-site-header__tools { display: flex; align-items: center; gap: 1rem; }
.flaw-site-header__languages { display: flex; gap: .55rem; }
.flaw-site-header__languages a { color: #4A4A4A; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.flaw-site-header__languages a[aria-current="true"] { color: #940C27; }
.flaw-site-header__cta { display: inline-flex; align-items: center; min-height: 2.7rem; padding: .6rem 1rem; background: #940C27; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flaw-site-header__cta:hover { background: #6C081B; color: #fff; }
.flaw-site-header__toggle { display: none; border: 0; background: transparent; }

.flaw-editorial-home { background: #F7F4F0; color: #222222; }
.flaw-editorial-wrap { width: min(calc(100% - 3rem), 1280px); margin-inline: auto; }
.flaw-editorial-hero { position: relative; isolation: isolate; min-height: min(780px, calc(100vh - 82px)); display: flex; align-items: stretch; overflow: hidden; background: #222222; color: #fff; }
.flaw-editorial-hero__wash { position: absolute; inset: 0 0 0 60%; z-index: -1; background: #940C27; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.flaw-editorial-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .65fr); gap: 5rem; align-items: end; padding: clamp(5rem, 9vw, 9rem) 0 clamp(3rem, 6vw, 6rem); }
.flaw-editorial-hero__copy { max-width: 800px; }
.flaw-editorial-kicker { margin: 0 0 1.25rem; color: #D9D6D1; font-size: .7rem; font-weight: 700; letter-spacing: .22em; line-height: 1.4; text-transform: uppercase; }
.flaw-editorial-hero h1 { max-width: 10ch; margin: 0; color: #fff; font-size: clamp(3.5rem, 8vw, 8.4rem); font-weight: 400; letter-spacing: -.065em; line-height: .88; }
.flaw-editorial-hero__lead { max-width: 52ch; margin: 2.2rem 0 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.75; }
.flaw-editorial-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.flaw-editorial-button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .85rem 1.2rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-align: center; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.flaw-editorial-button:hover { transform: translateY(-2px); }
.flaw-editorial-button--solid { background: #F7F4F0; color: #222222; }
.flaw-editorial-button--solid:hover { background: #fff; color: #222222; }
.flaw-editorial-button--line { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.flaw-editorial-button--line:hover { border-color: #fff; color: #fff; }
.flaw-editorial-hero__statement { align-self: end; max-width: 20rem; border-left: 1px solid rgba(255,255,255,.35); padding: 0 0 0 1.6rem; }
.flaw-editorial-hero__statement > span { display: block; margin-bottom: 4rem; color: rgba(255,255,255,.18); font-size: 4rem; letter-spacing: -.08em; line-height: .8; }
.flaw-editorial-hero__statement p { margin: 0; color: rgba(255,255,255,.78); font-size: 1.4rem; line-height: 1.25; }
.flaw-editorial-intro { border-bottom: 1px solid rgba(32,29,27,.16); background: #D9D6D1; }
.flaw-editorial-intro__text { max-width: 17ch; margin: 0; padding: clamp(4rem, 8vw, 7rem) 0; color: #222222; font-size: clamp(2.2rem, 4.6vw, 5.5rem); letter-spacing: -.055em; line-height: .98; }
.flaw-editorial-section { padding: clamp(5rem, 9vw, 9rem) 0; border-bottom: 1px solid rgba(32,29,27,.16); }
.flaw-editorial-section--dark { background: #222222; color: #fff; }
.flaw-editorial-section__head { max-width: 880px; margin-bottom: 3.4rem; }
.flaw-editorial-section h2, .flaw-editorial-final h2 { max-width: 14ch; margin: 0; color: inherit; font-size: clamp(2.8rem, 5.6vw, 6.6rem); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.flaw-editorial-practice-list { border-top: 1px solid rgba(32,29,27,.25); }
.flaw-editorial-practice { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 2rem; gap: 1.5rem; align-items: start; border-bottom: 1px solid rgba(32,29,27,.25); padding: 1.45rem 0; color: #222222; }
.flaw-editorial-practice:hover { padding-inline: 1rem; background: #940C27; color: #fff; }
.flaw-editorial-practice__number { color: #940C27; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.flaw-editorial-practice:hover .flaw-editorial-practice__number { color: #D9D6D1; }
.flaw-editorial-practice h3 { margin: 0 0 .4rem; color: inherit; font-size: clamp(1.7rem, 3vw, 3.4rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
.flaw-editorial-practice p { max-width: 48ch; margin: 0; color: #4A4A4A; font-size: .95rem; line-height: 1.7; }
.flaw-editorial-practice:hover p { color: rgba(255,255,255,.78); }
.flaw-editorial-practice__arrow { color: #940C27; font-size: 1.25rem; }
.flaw-editorial-practice:hover .flaw-editorial-practice__arrow { color: #fff; }
.flaw-editorial-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.flaw-editorial-industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.flaw-editorial-industry-grid span { border-top: 1px solid rgba(255,255,255,.3); padding-top: .9rem; color: rgba(255,255,255,.8); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.1; }
.flaw-editorial-journal-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1px; background: rgba(32,29,27,.2); }
.flaw-editorial-story { background: #F7F4F0; padding: clamp(1.3rem, 3vw, 2.6rem); }
.flaw-editorial-story--feature { grid-row: span 2; padding: clamp(1.5rem, 4vw, 4rem); }
.flaw-editorial-story__meta { color: #940C27; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flaw-editorial-story h3 { margin: 2.5rem 0 1rem; color: #222222; font-size: clamp(1.6rem, 3.5vw, 4rem); font-weight: 400; letter-spacing: -.05em; line-height: .96; }
.flaw-editorial-story p { color: #4A4A4A; line-height: 1.7; }
.flaw-editorial-story__link { color: #940C27; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flaw-editorial-final { background: #940C27; color: #fff; padding: clamp(5rem, 9vw, 9rem) 0; }
.flaw-editorial-final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.flaw-editorial-final p { max-width: 34ch; color: rgba(255,255,255,.78); font-size: 1.1rem; line-height: 1.7; }
.flaw-editorial-button--light { background: #F7F4F0; color: #222222; }
.flaw-editorial-button--light:hover { background: #fff; color: #940C27; }

@media (max-width: 1000px) {
  .flaw-site-header__inner { grid-template-columns: auto auto; justify-content: space-between; }
  .flaw-site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #F7F4F0; border-bottom: 1px solid rgba(32,29,27,.16); padding: 1rem 1.5rem 1.5rem; }
  .flaw-site-header.is-open .flaw-site-nav { display: block; }
  .flaw-site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .flaw-site-nav__list > li > a { display: block; border-bottom: 1px solid rgba(32,29,27,.12); padding: .9rem 0; }
  .flaw-site-header__tools { display: none; }
  .flaw-site-header__toggle { display: flex; width: 2.7rem; height: 2.7rem; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; cursor: pointer; }
  .flaw-site-header__toggle > span:not(.screen-reader-text) { display: block; width: 1.4rem; height: 1px; background: #222222; }
  .flaw-site-header.is-open .flaw-site-header__toggle > span:nth-last-child(1) { transform: translateY(-3px) rotate(-45deg); }
  .flaw-site-header.is-open .flaw-site-header__toggle > span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
  .flaw-editorial-hero__grid, .flaw-editorial-split, .flaw-editorial-final__grid { grid-template-columns: 1fr; gap: 3rem; }
  .flaw-editorial-hero__statement { max-width: 28rem; }
}
@media (max-width: 600px) {
  .flaw-site-header__inner, .flaw-editorial-wrap { width: calc(100% - 1.5rem); }
  .flaw-site-header__inner { min-height: 70px; }
  .flaw-site-header__brand img { width: 145px; }
  .flaw-editorial-hero { min-height: auto; }
  .flaw-editorial-hero__wash { inset: 48% 0 0; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
  .flaw-editorial-hero__grid { padding: 4rem 0 3.5rem; }
  .flaw-editorial-hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .flaw-editorial-hero__statement > span { margin-bottom: 2rem; }
  .flaw-editorial-intro__text { max-width: 13ch; font-size: clamp(2.3rem, 12vw, 4.2rem); }
  .flaw-editorial-practice { grid-template-columns: 2.2rem minmax(0, 1fr); gap: .7rem; }
  .flaw-editorial-practice__arrow { display: none; }
  .flaw-editorial-journal-grid { grid-template-columns: 1fr; }
  .flaw-editorial-story--feature { grid-row: auto; }
  .flaw-editorial-industry-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .flaw-editorial-home *, .flaw-site-header * { transition: none !important; }
}

/* Audience routes: one service standard across domestic and international clients. */
.flaw-editorial-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(32,29,27,.22); }
.flaw-editorial-audience { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 2rem; gap: 1rem; align-items: start; background: #D9D6D1; padding: 1.5rem; color: #222222; }
.flaw-editorial-audience:hover { background: #940C27; color: #fff; }
.flaw-editorial-audience h3 { margin: 0 0 .55rem; color: inherit; font-size: clamp(1.5rem, 2.5vw, 2.7rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
.flaw-editorial-audience p { margin: 0; color: #4A4A4A; font-size: .9rem; line-height: 1.65; }
.flaw-editorial-audience:hover p { color: rgba(255,255,255,.8); }
@media (max-width: 600px) { .flaw-editorial-audience-grid { grid-template-columns: 1fr; } .flaw-editorial-audience { grid-template-columns: 2.2rem minmax(0, 1fr); } .flaw-editorial-audience .flaw-editorial-practice__arrow { display: none; } }
/**
 * F02 (2026-10-04): Hero optimization for mobile CTA visibility.
 * 
 * Reduces hero height and H1 size on mobile so the primary CTA appears
 * above the fold at 390x844 and remains readable at 320px.
 */

@media (max-width: 600px) {
  /* Reduce hero H1 size further on small screens */
  .flaw-editorial-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    line-height: 1.05;
    max-width: 14ch;
  }
  
  /* Tighten hero padding to bring CTA up */
  .flaw-editorial-hero__grid {
    padding: 2.5rem 0 2rem;
    gap: 2rem;
  }
  
  /* Reduce lead paragraph spacing */
  .flaw-editorial-hero__lead {
    margin: 1.2rem 0 0;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Ensure CTA buttons are not obscured */
  .flaw-editorial-hero__actions {
    margin-top: 1.5rem;
  }
}

@media (max-width: 380px) {
  /* 320px: ensure readability without horizontal overflow */
  .flaw-editorial-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }
  .flaw-editorial-hero__grid {
    padding: 2rem 0 1.5rem;
  }
}

/* F14 (2026-10-04): Header search form */
.flaw-site-header__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
}
.flaw-site-header__search input[type="search"] {
  width: 160px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  font-size: 0.9rem;
  transition: width 0.2s;
}
.flaw-site-header__search input[type="search"]:focus {
  width: 220px;
  outline: 2px solid #940C27;
  outline-offset: 2px;
}
.flaw-site-header__search button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: inherit;
  display: flex;
  align-items: center;
}
.flaw-site-header__search button:hover {
  color: #940C27;
}
@media (max-width: 768px) {
  .flaw-site-header__search {
    display: none;
  }
}
