/* Breakpoints: tablet 48em (768px), desktop 64em (1024px), wide 90em (1440px).
   Custom properties don't work in media queries, so repeat these values exactly. */
:root {
  /* Palette */
  --color-charcoal:   #1c1d20; /* text, dark sections, footer */
  --color-charcoal-2: #2a2729; /* secondary dark surface */
  --color-gray:       #666666; /* secondary text, input borders */
  --color-white:      #ffffff; /* page background */
  --color-paper:      #f7f4f2; /* alternating section background */
  --color-mist:       #e8e6e4; /* light gray band: home "Why Choose The Fox Firm" only (requested) */
  --color-stone:     #e9e3df; /* decorative borders and dividers only */
  --color-red:        #8e1c1c; /* links, primary buttons, accents */
  --color-red-dark:   #7a1c1c; /* hover and active */
  --color-maroon:     #4a1717; /* deep accent surface */
  --color-red-bright: #c23a2e; /* sparing accent, light backgrounds only */
  --color-ember:      #ee6431; /* small highlights, dark backgrounds only */
  --color-blush:      #f0b9ad; /* tagline and eyebrow text on dark */
  --color-rose:       #e6c6c1; /* muted text on dark */
  --color-gold:       #8a6530; /* logo gold: eyebrows and small accents, light backgrounds only */
  --color-gold-light: #e2b964; /* logo gold: headings, taglines, hover text, dark backgrounds only */

  /* Semantic */
  --text: var(--color-charcoal);       --text-muted: var(--color-gray);
  --text-on-dark: var(--color-white);  --bg: var(--color-white);
  --bg-alt: var(--color-paper);        --bg-dark: var(--color-charcoal);
  --link: var(--color-red);            --link-hover: var(--color-red-dark);
  --button-bg: var(--color-red);       --button-bg-hover: var(--color-maroon); /* link audit fix #11: was red-dark, only 1.16:1 from the resting red; maroon is 1.64:1 */
  --button-text: var(--color-white);   --border-color: var(--color-stone);
  --input-border: var(--color-gray);   --focus-ring: var(--color-charcoal);

  /* Effects */
  --gradient-band: linear-gradient(120deg, #1c1d20 0%, #2a2729 48%, #4a1717 82%, #7a1c1c 100%);
  --gradient-rule: linear-gradient(90deg, #8a6530, #e2b964 50%, #8a6530); /* echoes the logo's gold rules */
  --shadow-overlay: 0 4px 16px rgb(28 29 32 / 0.15);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, serif;
  --font-body: "Libre Franklin", "Libre Franklin Fallback", "Helvetica Neue", Arial, sans-serif;

  /* Spacing: 8px scale */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 1rem; --space-4: 1.5rem;
  --space-5: 2rem;    --space-6: 3rem;   --space-7: 4rem;

  /* Responsive: mobile values */
  --container-max: 100%; --gutter: 1rem; --section-space: 2.5rem; --grid-columns: 4;
  --font-size-base: 1rem; --font-size-h1: 2.25rem; --font-size-h2: 1.75rem; --font-size-h3: 1.375rem;
  --header-height: 4rem;
}
@media (min-width: 48em) { :root {
  --container-max: 45rem; --gutter: 1.5rem; --section-space: 4rem; --grid-columns: 8;
  --font-size-h1: 2.75rem; --font-size-h2: 2rem;
} }
@media (min-width: 64em) { :root {
  --container-max: 70rem; --gutter: 2rem; --section-space: 6rem; --grid-columns: 12;
  --font-size-base: 1.125rem; --font-size-h1: 3.5rem; --font-size-h2: 2.5rem; --font-size-h3: 1.625rem;
  --header-height: 5rem;
} }
@media (min-width: 90em) { :root { --container-max: 80rem; } }

/* Project tokens (mobile values; only --logo-height changes, at desktop) */
:root {
  --font-weight-regular: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700;
  --font-size-small: 0.875rem;
  --font-size-lead: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --line-height: 1.6;
  --line-height-tight: 1.2;
  --letter-spacing-heading: 0.01em; /* mixed-case headings */
  --letter-spacing-display: 0.08em; /* uppercase display text: hero statement, footer name */
  --letter-spacing-eyebrow: 0.12em; /* uppercase small labels */
  --font-size-eyebrow: 1rem; /* Cormorant capitals run small, so labels sit one step above body small text */
  --measure: 70ch;
  --post-search-max: 36rem; /* the blog's search box (2026-11-23): room for a long query, never the full container */
  /* Home section titles (requested, 2026-11-13): one lockup for every section under the hero. The title's
     capitals scale with the screen (26px on phones to 44px on wide screens); its lead word is set this much
     larger, in the italic. Under it, a short gold rule with a diamond; above it, a label between two hairlines. */
  --font-size-section-title: clamp(1.625rem, 1.2rem + 1.9vw, 2.75rem);
  --font-size-title-key: 1.6em;
  --title-rule-width: 9rem;
  --title-gem-size: 0.5rem;
  --title-label-line: var(--space-5); /* each hairline beside the label; they shrink away on narrow phones */
  /* Title reveal: the lockup fades up this far, then its rule draws out from the diamond */
  --reveal-rise: var(--space-3);
  --reveal-duration: 0.6s;
  --reveal-draw: 0.7s;
  --reveal-draw-delay: 0.2s;
  /* The "you're family" statement in "Your Case Matters to Us": h3 size on phones, h2 size from tablet up
     (override below), so it stays a step under the section title. The gold quotation mark over it. */
  --font-size-matters-statement: var(--font-size-h3);
  --font-size-quote-mark: clamp(5.5rem, 4.5rem + 4vw, 8rem);
  /* Attorney profile pull quote, on its own dark band: the home "you're family" statement's size */
  --font-size-pull-quote: var(--font-size-matters-statement);
  --pull-quote-measure: 34ch; /* the quote wraps into a few balanced lines across the band */
  --signature-width: clamp(11rem, 9rem + 8vw, 16rem); /* Sarah's signature under the home statement and her pull quote */
  --font-size-profile-statement: var(--font-size-h3); /* the statement opening the profile's practice areas (2rem on desktop, below) */
  --spotlight-draw: 1s; /* the gold underline drawing under the statement's key words on the spotlight band */
  /* Service page hero backdrop: how much of the band's width the line drawing takes, from its right edge (all of
     it on phones; 56% from tablet up, below, so it stays clear of the headline, lead, and buttons) */
  --service-backdrop-width: 100%;
  /* Service page notice: the day medallion (its size, the day ticks' length across the ring, the red arc's
     sweep, the number, and the small word under it) */
  --notice-badge-size: 6.5rem;
  --notice-badge-tick: 5px;
  --notice-badge-sweep: 1.6s;
  --font-size-notice-badge: 2.5rem;
  /* Service page charges grid (2026-11-18, requested by the owner; pending the firm's approval): each row shaded by
     its offense level, white to warm rose, the lower steps spaced wider so neighbors read apart. Charcoal text is
     9.5:1 or more and red text 5.1:1 or more on every shade; red text fails past about 35%, so 30% is the top, and
     gray text (3.4:1 on the darkest) is never used on them. 1: Class C or B misdemeanor; 2: Class A misdemeanor;
     3: state jail or third-degree felony; 4: second-degree felony; 5: first-degree or capital felony */
  --severity-1: var(--color-white);
  --severity-2: color-mix(in srgb, var(--color-red) 8%, var(--color-white));
  --severity-3: color-mix(in srgb, var(--color-red) 15%, var(--color-white));
  --severity-4: color-mix(in srgb, var(--color-red) 23%, var(--color-white));
  --severity-5: color-mix(in srgb, var(--color-red) 30%, var(--color-white));
  /* Service page "What to Expect" as a quiet process line (2026-11-18): the markers' column, a later step's hollow
     dot, the done step's filled dot with its check, and the fainter line toward the steps still ahead */
  --process-marker: 1.25rem;
  --process-dot: 0.75rem;
  --process-dot-done: 1.25rem;
  --process-line-ahead: color-mix(in srgb, var(--color-gold) 40%, transparent);
  /* Service page "Why Work With": the attorney's round photo in the compact card on phones and tablets */
  --why-avatar: 5rem;
  /* Home team portrait (2026-11-23): each waist-up figure's width (the files are 720 x 804, faces matched), how far
     neighbors overlap (a share of that width), the lead's extra size, and the room above the heads for the Cotton
     Mill's water tower and smokestack */
  --team-figure-width: min(6.5rem, 27vw);
  --team-figure-ratio: 720 / 804;
  --team-figure-overlap: 0.12;
  --team-figure-lead-scale: 1.08;
  --team-stage-headroom: 3.5rem;
  /* Service page FAQ: the list's reading width (a question and its toggle on one line on desktop) */
  --faq-measure: 52rem;
  /* The + / − toggle beside each question (2026-11-18: drawn, a gold ring with red bars): the ring, the bars' length,
     and their thickness */
  --faq-toggle: 1.5rem;
  --faq-toggle-bar: 0.625rem;
  --faq-toggle-stroke: 2px;
  --font-size-eyebrow-small: 0.6875rem;
  /* The diploma (attorney profile credentials): its widest, its padding (scales with the screen), the gap between its
     two gold frames, the corner diamonds, the logo, a school logo where supplied, the name, the seals, and the
     shortest signature line */
  --diploma-max: 60rem;
  --diploma-pad: clamp(1.5rem, 0.75rem + 3.5vw, 4rem);
  --diploma-border: clamp(1.5rem, 1rem + 2vw, 2.5rem); /* the engraved border's width */
  --diploma-logo-height: clamp(2.75rem, 2.25rem + 2vw, 4rem);
  --diploma-school-logo: clamp(3.5rem, 3rem + 1.5vw, 4.5rem);       /* the logo box's height (logos exported at 3x) */
  --diploma-school-logo-width: clamp(6rem, 5rem + 3vw, 8rem);       /* and its width */
  --font-size-diploma-name: var(--font-size-h1);
  --diploma-seal: clamp(4rem, 3.25rem + 2.5vw, 5.5rem);
  --diploma-signature: 12rem;
  --closing-avatar: clamp(6rem, 5rem + 3vw, 8.5rem); /* the attorney's round portrait in the profile's closing band */
  --profile-area-emblem: clamp(2.75rem, 2rem + 2vw, 3.5rem); /* smaller on phones, where the panels are condensed */ /* the round practice area emblem beside each area's name on attorney profiles */
  /* Service tags in the profile's practice area panels: drawn 36px tall, rows 8px apart, so each tag's tap area can
     reach the full 44px target (36 + 8) without overlapping the next row's */
  --profile-tag-height: 2.25rem;
  --profile-tag-gap: calc(var(--tap-target) - var(--profile-tag-height));
  /* Story opening on a profile (the biography's scene, 2026-11-17; Sarah K. Fox's is the Quitman square since
     2026-11-18). ratio and sky describe the drawing shown from tablet up (bio_scene): its height over its width, and
     the share of its height that is clear above the courthouse roof on the text's side, where the far woods fade
     out (the desktop text ends above that line). Phones show their own cut of the drawing (bio_scene_phone): the
     courthouse and the square, about as tall as her shoulders, so little of the screen is empty. */
  --profile-scene-ratio: 0.491;
  --profile-scene-sky: 0.43;
  --profile-scene-width: 112cqw;   /* phones: the phone cut, a little wider than the screen */
  --profile-scene-shift: -11.7cqw; /* so the courthouse and the plaza's star show whole to her left */
  --profile-scene-opacity: 0.75;   /* phones: stronger, since the cut's lines are fine at this size */
  --profile-scene-front-opacity: 0.7; /* the nearest part again in front of her, a little stronger than the scene behind */
  --profile-scene-front-clip: 82%;    /* how much of the drawing's top the front copy hides (all but the near street and rooftops) */
  --profile-scene-figure: 15.5rem;    /* phones: she stands a little smaller, at the right, beside the courthouse */
  --profile-scene-gap: var(--space-3); /* between the text and her: tight on phones */
  /* A chapter's backdrop and the pull quote's band (profile story, 2026-11-18). The backdrop is quiet from tablet up,
     where it is a faded strip, and a little stronger on phones, where it has a strip of its own under the text. */
  --chapter-backdrop-opacity: 0.6;
  --chapter-backdrop-space: calc(var(--space-7) * 3); /* desktop: room under the text, so the strip stands below it */
  --quote-frieze-opacity: 0.75;
  --quote-frieze-width: 200%;      /* phones: wider than the screen, so the blossoms keep their detail */
  --quote-frieze-shift: -50%;
  --profile-bough-width: 72%;      /* the dogwood bough, measured from her photo's box: on phones it reaches in */
  --profile-bough-x: 70%;          /* from the screen's right edge */
  --profile-bough-y: 6%;
  --font-size-side-title: clamp(1.5rem, 1.25rem + 1vw, 2rem); /* "For the State" / "For You": a step under the chapter title */
  --font-size-chapter-title: var(--font-size-h2); /* a story chapter's title in the margin (2026-11-18: up from h3, in red) */
  --chapter-rule-width: 6rem;  /* the short gold rule under a chapter's title, and its signature line */
  --staff-quote-measure: 44ch; /* the hero quote's line length on a staff page */
  --staff-helps-photo-max: 22rem; /* the photo beside "How she helps": its column's cap */
  --chapter-rule-dash: 8 6;    /* the highway's center line: dash and gap, in the drawing's 96-unit width */
  --chapter-rule-ring-opacity: 0.35; /* the faint ring around the "now" dot */
  --chapter-drop-lines: 3;     /* how many lines the first chapter's drop cap spans */
  --font-size-profile-lead: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  --profile-lead-measure: 26ch;
  --profile-bio-photo-max: 24rem; /* the biography's second photo: 384px wide at most (480px tall) */
  --radius: 4px;
  --radius-pill: 999px; /* fully rounded ends: home hero "More About Sarah" link, home hero "Call Now!" outline, header "Call Now!" button, every "Schedule a Consultation" button, home "Meet the Team" link, and the floating click-to-call circle only (requested exceptions) */
  --footer-bg: var(--color-charcoal-2); /* dark footer: tells the visitor they've reached the end of the page */
  --footer-base-bg: var(--color-charcoal); /* legal strip at the very bottom: the site's darkest color, one step deeper */
  --footer-logo-size: 4rem; /* footer medallion (64px), beside the page links in the footer's top row */
  --footer-pad: var(--space-5); /* space above the footer's top row and above its legal strip (more from tablet up, below) */
  --footer-panel: var(--footer-bg); /* the colour the painted scene fades into: the footer panel's own (each scene's own, set in components.css) */
  --footer-rule: var(--hero-proof-rule); /* the one thin rule in the footer, between its two rows: the hero's faint gold */
  --notice-logo-size: clamp(7rem, 5rem + 6vw, 10rem); /* FF medallion in the notice lockup (404, thank-you page) */
  /* Contact form submit while it sends (main.js adds .is-sending): gray so it reads as busy, not clickable
     (white text 5.7:1), with a small ring that turns (a still ring under reduced motion) */
  --button-bg-sending: var(--color-gray);
  /* Button states (link audit fix #11): colors fade over --btn-fade; a pressed button dips to --btn-press-scale;
     an outline button takes a light blush wash under the mouse */
  --btn-fade: 160ms;
  --btn-press-scale: 0.98;
  --button-tint: var(--nav-hover-bg);
  --spinner-size: 1em;
  --spinner-duration: 0.8s;
  --call-float-size: 4rem; /* floating click-to-call button on phones (64px, well over the 44px target) */
  --call-float-icon-size: 2rem; /* ringing phone icon inside it */
  --call-float-fade: 0.3s; /* it fades and rises in once the home hero scrolls away (link audit fix #13) */
  /* Attention pulse on the floating call button and every "Schedule a Consultation" button */
  --pulse-spread: 1.25rem; /* how far the rings spread past the button's edge before fading */
  --pulse-duration: 1.4s; /* one press-and-ripple; it runs 3 times (all motion under 5 s, WCAG 2.2.2) then stops */
  --pulse-ease: cubic-bezier(0.22, 1, 0.36, 1); /* long, soft deceleration so the rings glide */
  --pulse-trail: 0.2s; /* second ring follows the first by this much */
  --pulse-press-scale: 0.94; /* how far the button dips when "pressed" */
  --pulse-press-rebound: 1.02; /* slight spring past rest on release */
  --pulse-delay: 5s; /* floating call button: waits this long after the page loads before pulsing */
  --pulse-delay-in-view: 0.3s; /* buttons that pulse when they come into view */
  --border-width: 1px;
  --border-width-strong: 2px;
  --rule-height: 3px;
  --focus-width: 3px;
  --focus-offset: 3px;
  --tap-target: 44px;
  --media-play-size: 4rem;  /* a YouTube poster's play button (the whole poster is the link) */
  --icon-size: 1.5rem;
  --textarea-min-height: 10rem;
  /* Contact page, the Lawmatics form's frame (2026-11-23): the form's own side padding inside the frame, which the
     frame is pulled out by so the fields sit on the card's text edge, and the height held for it while it loads
     (about its height in the card), so the page doesn't jump when it arrives. Measure both again if the form changes. */
  --lawmatics-form-inset: 1.5rem;
  --lawmatics-form-top: 1rem; /* the form's own top margin inside the frame, taken back so the card's gap stays even */
  --lawmatics-form-reserve: 31rem;
  --z-header: 10;
  --z-float: 15; /* floating click-to-call: above the header, below the open menu */
  --z-menu: 20;
  --z-skip: 30;

  --underline-offset: 0.45em;
  --icon-size-small: 1.25rem;

  /* Home hero: statement sizes (authoritative uppercase Cormorant line, softer Cormorant italic line); cutout photo width,
     capped by viewport height so the photo, statement, and reviews fit together on short screens; how far
     the statement rises into the photo's faded base (tied to the photo so it always lands in the fade) */
  --font-size-hero: clamp(2rem, 1.1rem + 3.8vw, 4.25rem);
  --font-size-hero-sub: clamp(1.375rem, 1.15rem + 1.1vw, 2rem);
  --line-height-hero: 1.05;
  --letter-spacing-hero-sub: 0.01em;
  /* Gold line above the statement: a step above the standard eyebrow, so the short line holds its place over
     the large statement; on phones it balances over two lines, like the statement under it */
  --font-size-hero-eyebrow: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  /* Staggered lockup (approved for the home hero only): the main line anchors left of center and the
     sub line steps well to the right, so the eye reads a diagonal from the first statement to the second.
     The main shift stays small because that line nearly fills the container on phones. */
  --hero-stagger-main: clamp(0.5rem, -0.25rem + 3vw, 2.5rem);
  --hero-stagger-sub: clamp(2.5rem, 1rem + 7vw, 9rem);
  --hero-photo-max: min(clamp(17rem, 8rem + 40vw, 30rem), 44svh);
  --hero-overlap: calc(var(--hero-photo-max) * 0.3);
  /* Hero depth (approved for the home hero only, like --gradient-band): a warm maroon glow behind the
     cutout photo, and a soft charcoal pool under the statement so it stays legible where it overlaps
     the photo's faded base */
  --gradient-hero-glow: radial-gradient(closest-side, rgb(142 28 28 / 0.55), rgb(74 23 23 / 0.3) 55%, rgb(74 23 23 / 0) 100%);
  --hero-backdrop-opacity: 0.12; /* line drawings behind the service heroes: texture only, never competes with the content */
  /* Home hero skyline (2026-11-17): how wide the drawing is, centered on the band's bottom edge, and how strong.
     Phones show it wider than the screen so the towers stand tall enough to show; the strength keeps the name
     plate's small rose text at 4.5:1 even where a line crosses a letter. Tablet and desktop values below.
     --skyline-max is the widest the drawing is ever shown (1440px), in the hero and in the reviews band. */
  --skyline-max: 90rem;
  --hero-skyline-width: 190%;
  --hero-skyline-opacity: 0.2;
  --gradient-hero-scrim: radial-gradient(closest-side, rgb(28 29 32 / 0.85), rgb(28 29 32 / 0.6) 55%, rgb(28 29 32 / 0) 100%);
  /* Reviews widget slot: as wide as the photo on phones, up to the text measure on larger screens; the
     reserved height matches Jotform's compact badge so nothing shifts when it loads */
  --reviews-widget-max: clamp(17rem, 8rem + 40vw, 36rem);
  --reviews-widget-height: 3.375rem;
  /* "More About Sarah" resting fill: a faint blush wash so the link reads as a solid shape on the band
     (white text on it stays above 8:1 anywhere on the charcoal-to-maroon band) */
  --hero-about-tint: rgb(240 185 173 / 0.14);
  /* Desktop hero photo, in the right half: larger than the stacked layout's, capped by viewport height so the
     whole cutout (1024 × 1228, so 1.2 times as tall as wide) and the name plate under it fit on short screens */
  --hero-photo-max-desktop: min(36rem, calc(58svh / 1.2));
  /* The cutout's own transparent margins, as shares of its width (measured from the WebP's alpha; recompute if
     the photo changes). Side: 9.7% is empty beside her, so the photo is pushed out by that much and her visible
     edge lands on the container's edge. Base: the fade is fully transparent over the last 10% of the height
     (0.12 of the width), so the name plate rises that far into it and never covers her arms. */
  --hero-photo-outset: calc(var(--hero-photo-max-desktop) * 0.097);
  --hero-credit-rise: calc(var(--hero-photo-max-desktop) * 0.12);
  /* Credentials strip on the hero's bottom edge: one line of marks, under a gold rule on desktop only (light gold
     at partial strength, so it reads as a fine rule, not a border). The height and gap scale with the screen so all
     four marks stay on one line down to 320px; wide and banner marks are drawn shorter so the row looks even. */
  --hero-proof-rule: rgb(226 185 100 / 0.45);
  --hero-proof-mark-height: clamp(2.25rem, 11vw, 4.5rem);
  --hero-proof-mark-height-wide: calc(var(--hero-proof-mark-height) * 0.85);
  --hero-proof-mark-height-banner: calc(var(--hero-proof-mark-height) * 0.5);
  --hero-proof-gap: clamp(1rem, 4vw, 3rem);
  /* Attorney profile hero (layout: "profile"): the portrait's width, capped by the screen's height so the portrait
     and the name both fit on the first screen of a phone (4:5, so its height is 1.25 times its width); and how far
     the second, fainter gold frame behind it is offset, down and toward the text */
  --profile-portrait-max: min(clamp(15rem, 6rem + 40vw, 26rem), calc(46svh * 0.8));
  --profile-frame-offset: var(--space-3);
  /* The profile portrait's arched window: a semicircular top on a 4:5 box (half the width across, 40% of the height
     down), and the one-time load motion: the gold lines draw over --hero-frame-draw (the back one --hero-frame-stagger
     later) while the photo settles from --hero-portrait-zoom over --hero-portrait-settle */
  --hero-arch: 50% 50% 0 0 / 40% 40% 0 0;
  --hero-frame-draw: 1.1s;
  --hero-frame-stagger: 0.25s;
  --hero-portrait-settle: 1.4s;
  --hero-portrait-zoom: 1.06;
  /* Profile hero in cut-out mode: the courthouse drawing behind the photo. Phones and tablets show the whole building
     centered behind the person: as wide as the screen, but never more than 215% of the photo's width, which keeps
     its roof below the header. Desktop (below) sets it 215% wide and to the photo's left, so the entrance shows
     beside the person. Then its opacity, a little stronger than the skyline's since the photo covers part of it, and
     how far the warm glow reaches past the photo's box. */
  --profile-backdrop-width: min(100vw, 215%);
  --profile-backdrop-shift: 0%;
  --profile-backdrop-opacity: 0.16;
  --profile-glow-outset: 12%;
  /* Staff hero before the photo comes (2026-11-20): the initials medallion's width (of the 4:5 photo box), how far its
     base sits above the box's base (in front of the drawing's entrance), and its letters, a third of the disc */
  --hero-initials-size: 62%;
  --hero-initials-lift: 14%;
  --font-size-hero-initials-fallback: 4rem; /* for browsers without container queries */
  --font-size-hero-initials: 34cqi;
  --profile-cert-mark-height: 3.25rem; /* the certifying body's mark beside the certification wording */
  /* Career timeline under the profile hero: the year size, the milestone dots, and the one-time draw (milestones
     appear --timeline-stagger apart, each segment of line drawing on to the next over --timeline-draw) */
  --font-size-timeline: var(--font-size-h3);
  --timeline-dot: 0.75rem;
  --timeline-draw: 0.3s;
  --timeline-stagger: 0.25s;
  /* "Finish on Today": the last dot swells a little while one gold ring spreads from it and fades, once */
  --timeline-glow: 1.4s;
  --timeline-glow-scale: 1.35;
  --timeline-glow-spread: 0.75rem;
  /* Home practice-area emblems (Criminal Law, Family Law): side by side at every width, scaling with the screen */
  /* Practice area emblem: the ring's size on the home panels, the drawing's inset, and the gap between the two gold
     lines; the small values are for the emblem beside an area's name on attorney profiles */
  /* Home reviews band: the downtown McKinney drawing's width (wider than a phone's screen), its strength, and the
     clear strip the band keeps for it under the button */
  --reviews-drawing-width: 150%;
  --reviews-backdrop-opacity: 0.24;
  --reviews-strip: 8rem;
  /* Home "Why Choose": the Cotton Mill drawing behind the team portrait's figures (2026-11-23; it was the closing
     band's): its width, its cap, and its strength. No text crosses it (the names sit below the figures' stage), so
     it can read as a drawing; never as strong as the figures in front of it */
  --why-mill-width: 140%; /* phones: wider than the screen, so the windows keep their detail; the faded ends are cut */
  --why-mill-max: 42rem;  /* never wider than this; never taller than the stage either */
  --why-mill-opacity: 0.42;
  --fact-gem-lift: -0.15em; /* the facts list's diamond, raised to the middle of its line */
  --matters-lead-measure: 62ch; /* the short lead under the home "you're family" statement */
  --font-size-panel-title: clamp(1.5rem, 1.25rem + 1vw, 2rem); /* an area's name on its home panel */
  --emblem-size: clamp(6rem, 4.5rem + 4vw, 9rem);
  --font-size-team-initials: clamp(2.5rem, 2rem + 2vw, 3.5rem); /* Our Team: initials in place of a missing photo */
  --team-initials-max: 8rem;            /* the initials frame on phones (the owner, 2026-11-18: smaller until photos come) */
  /* Our Team shield wall (DESIGN.md, "Our Team shield wall"): the arch's box and shape, each rank's shield size, and
     the rings. Each shield sits at left = 50% + rx * cos and top = cy - ry * sin of the arch's box (build.js). */
  --wall-per-shield: clamp(3rem, 2.5rem + 2.1vw, 4.4rem); /* the arch's width per place, so neighbors always overlap */
  --wall-ratio: 1.9;                    /* the arch's box: width / height */
  --wall-rx: 42%;
  --wall-ry: 78%;
  --wall-cy: 88%;                       /* the arch's base line, from the box's top */
  --shield-lead: clamp(6rem, 3.5rem + 10vw, 10rem);
  --shield-attorney: clamp(4.5rem, 2.75rem + 7vw, 7.75rem);
  --shield-paralegal: clamp(4rem, 2.5rem + 6vw, 6.75rem);
  --shield-staff: clamp(3.5rem, 2.25rem + 5vw, 6rem);
  /* Each shield is also never wider than this many places' share of the arch, so a full wall on a phone shrinks
     its shields instead of burying the smaller ones under the larger */
  --shield-lead-fit: 1.85;               /* (tuned 2026-11-18 so a full wall of nine on a phone leaves the crown's
                                           neighbors' initials clear) */
  --shield-attorney-fit: 1.65;
  --shield-paralegal-fit: 1.45;
  --shield-staff-fit: 1.38;
  --shield-edge: 2px;                   /* the gold edge */
  --shield-ring: 0.25rem;               /* the band-colored ring that keeps overlapping shields apart */
  --shield-inner: 0.375rem;             /* how far inside the edge the fine gold ring sits */
  --font-size-wall-initials-fallback: 1.5rem; /* for browsers without container queries */
  --font-size-wall-initials: 32cqi;    /* a third of the shield it sits in, at any shield size */
  --wall-core-width: 56%;              /* "Your case" and its line, inside the arch */
  --z-shield-lead: 4;                  /* higher ranks in front where shields overlap */
  --z-shield-attorney: 3;
  --z-shield-paralegal: 2;
  --z-shield-staff: 1;
  --emblem-inset: 0.08;       /* the drawing's inset, as a share of the ring's size */
  --emblem-inset-small: 0.05;
  --emblem-ring-gap: var(--space-1);
  --emblem-ring-gap-small: calc(var(--space-1) / 2);

  /* Gold seam (requested exception): where the header meets the page, where each section meets the next, and
     where the page meets the footer. A thin gold line, strongest in the middle and fading out to both ends
     like the gold rules in the logo, with a short soft glow around it. It's as wide as the container.
     Everywhere it's the same seam, centered on the edge (half of --seam-height into each side). */
  --seam-glow-stops: rgb(226 185 100 / 0.4) 0%, rgb(226 185 100 / 0.12) 50%, rgb(226 185 100 / 0) 100%;
  --gradient-seam-line: linear-gradient(90deg, rgb(226 185 100 / 0) 0%, rgb(226 185 100 / 0.25) 20%,
    rgb(196 150 72) 50%, rgb(226 185 100 / 0.25) 80%, rgb(226 185 100 / 0) 100%);
  --gradient-seam-glow: radial-gradient(closest-side, var(--seam-glow-stops));
  /* The glow reaches just barely past the line: about 7px on each side */
  --seam-height: var(--space-3);
  --seam-line-height: var(--border-width-strong);
  --seam-width: min(100%, var(--container-max));
  /* Ready-made background layers, centered on an edge */
  --seam: var(--gradient-seam-line) center / 100% var(--seam-line-height) no-repeat, var(--gradient-seam-glow);

  /* Header medallion (menu button; the "Call Now!" pill matches its height): round like the logo's "FF" medallion, sized above the
     44px tap target, with the thin inner ring set just inside the gold outer ring */
  --nav-toggle-size: 3rem;
  --nav-toggle-icon-size: 1.5rem;
  --medallion-ring-inset: 0.1875rem;

  /* The stacked header logo is about 4.15:1. On narrow phones it scales down (proportionally) so the logo,
     "Call Now!" pill, and menu button stay on one row down to 320px; from about 390px up it matches the
     44px tap target. The header's column gap is tighter on phones for the same reason.
     Desktop: the logo grows from 38px tall at 1024px to its full 60px by about 1156px, so the logo, nav, phone
     number, and "Schedule a Consultation" pill fit on one row (with a scrollbar) without the logo ever being
     squeezed. Since 2026-11-23 the row has three tabs (About left the header; Blog has its dropdown arrow
     once posts are published), which leaves more room at 1024px than the four it was sized for. */
  --logo-height: clamp(1.75rem, 23.5vw - 3.05rem, 2.75rem);
  /* The gold rules beside "Criminal · Family" reach past "FOX FIRM" by 45.2 of the artwork's 173 units of height
     on each side, and fade out at their ends. The logo is pulled left by that much (optical alignment) so the
     "F" sits on the container's left edge, shared with the page and footer, and the faint rules hang into the
     gutter (about 12px on phones in a 16px gutter, 16px on desktop in a 32px one). Recompute if the logo changes. */
  --logo-overhang: calc(var(--logo-height) * 45.2 / 173);
  /* Slimmer header once the visitor scrolls down (main.js adds .is-condensed): a shorter bar and a logo at 80%,
     leaving more room for the page. The "Call Now!" pill and menu button keep their size (tap targets), so on
     phones and tablets only the padding and logo shrink. */
  --header-height-condensed: 3.5rem;       /* 64px → 56px on phones and tablets */
  /* The full header's height (gold top rule plus bar): how far the home hero runs up behind the see-through header */
  --header-overlap: calc(var(--header-height) + var(--rule-height));
  --header-fade: 450ms;                    /* see-through ⇄ solid white: background, logos, and text fade together */
  --header-fade-ease: cubic-bezier(0.4, 0, 0.2, 1); /* gentle in and out, so the switch has no hard start or stop */
  --header-pad-condensed: var(--space-1);
  --logo-height-condensed: calc(var(--logo-height) * 0.8);
  --logo-overhang-condensed: calc(var(--logo-overhang) * 0.8);

  /* Header dropdowns: tonal steps from the page up. White sheet floating on the overlay shadow, a quiet paper
     wash on rows under the pointer, a light blush wash on tabs, and solid action red while pressed. */
  --nav-hover-bg: rgb(240 185 173 / 0.24); /* light blush highlight under the mouse (red text on it is over 7:1) */
  --nav-row-hover-bg: var(--bg-alt);       /* dropdown rows: a quiet paper wash, so the sheet stays calm */
  --font-size-nav: 0.9375rem;              /* desktop tabs: a step below body text, so the row reads light and fits */
  --font-size-nav-row: 1rem;               /* desktop dropdown rows: 16px, the body-text minimum (roles and dates stay small) */
  --font-size-nav-heading: 1.25rem;        /* practice area headings over their rows (Cormorant runs small); 22px on desktop */
  --nav-press-bg: var(--button-bg);        /* deeper action color while clicked, white text */
  /* Narrowest dropdown sheet, and the narrowest column in the Practice Areas panel (columns grow to fit their
     longest row). At 1024px the Practice Areas tab sits about 220px from the left, so the two-column panel
     (about 480px with 16px rows) has plenty of room. Recheck 1024px before widening it. */
  --nav-panel-min: 14rem;
  /* The Blog sheet's width (titles wrap inside it). It opens toward the left from the Blog tab, which sits
     about 600px from the left edge at 1024px, so 32rem (512px) stays on screen and inside the container. */
  --nav-panel-max: 32rem;
  --nav-panel-gap: var(--space-2);         /* sheet floats this far below the header's bottom edge */
  --nav-caret-size: 0.75rem;
  --nav-expand-icon-size: 1.125rem; /* the phone/tablet menu's arrow buttons, sized to the large tab text */
  /* Desktop dropdown offset: puts the link text inside the sheet on the tab's text edge
     (sheet padding --space-2 + 1px border + link padding --space-3, less the tab's own padding) */
  --nav-panel-shift: calc(var(--nav-tab-pad) - var(--border-width) - var(--space-3)); /* row text lines up with the tab text */
  --nav-tab-pad: var(--space-2);           /* highlight inset beside each desktop tab's text; also the even spacing between tabs */
  --nav-accent-width: var(--border-width-strong); /* gold bar that grows beside the highlighted link */
  --nav-tab-line: var(--border-width-strong);   /* desktop tabs: the gold line that grows under the text (red on the current section) */
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);     /* same soft deceleration as the pulse */
  --nav-fade: 180ms;                       /* sheet fade and lift */
  --nav-tint-fade: 180ms;                  /* highlight wash on links: fades in and out as the mouse moves */
  --nav-lift: var(--space-2);              /* how far the sheet rises as it appears */
  /* Hover timing (Nielsen Norman Group: delay both, so menus neither flash open nor vanish too soon). The open
     delay applies only to the mouse resting on a tab; the arrow button, the keyboard, and moving straight from
     one open dropdown to another tab open at once. */
  --nav-open-delay: 200ms;                 /* the mouse rests this long on a tab before its dropdown opens */
  --nav-close-delay: 400ms;                /* grace period so an overshoot or a diagonal mouse path doesn't close it */
  --nav-switch-fade: 140ms;                /* moving to another tab: the old sheet goes at once, the new one fades in place */
  --header-gap: var(--space-2);
  --header-consult-pad: var(--space-3);     /* desktop "Schedule a Consultation" pill's side padding */
}
/* Living footer: the painted scene across the footer's top (components.css, .footer-scene) */
:root {
  --footer-scene-height: clamp(13.75rem, 30vw, 26.25rem); /* the painting's height: 220px on a phone, 420px at most */
  --footer-scene-fade: 0.9s;                              /* the crossfade when the clock changes the scene */
  --footer-scene-position: 46% 60%;                       /* which part of the painting shows: both buildings and the road on a phone */
  --footer-scene-melt: 34%;                               /* how much of the painting's bottom fades into the panel */
  /* The status plate in the sky (components.css, .footer-status): 92% opaque, so text never sits on the painting */
  --footer-plate-fade: 0.6s; --footer-chip-fade: 0.5s;    /* the plate's and chip's colours easing when the state changes */
  --footer-plate-leading: 1.1;                            /* the plate line's tight leading */
  --footer-status-layer: 1;                               /* above the painting's melt */
  --footer-status-width: 28.75rem;                        /* the plate's widest, 460px */
  --footer-status-share: 70%;                             /* and at most this share of the scene, from tablet up */
  --plate-bg: rgb(255 251 240 / 0.92); --plate-fg: var(--color-charcoal); --plate-head: var(--status-open); --plate-edge: rgb(138 101 48 / 0.35); /* day */
  --plate-dawn-bg: rgb(250 244 250 / 0.92); --plate-dawn-head: #a44a6b; --plate-dawn-edge: rgb(164 74 107 / 0.35);
  --plate-dusk-bg: rgb(58 34 54 / 0.92); --plate-dusk-fg: var(--color-white); --plate-dusk-head: #ffc79a; --plate-dusk-edge: rgb(255 199 154 / 0.45);
  --plate-night-bg: rgb(18 23 49 / 0.92); --plate-night-fg: var(--color-white); --plate-night-head: #e2b964; --plate-night-edge: rgb(226 185 100 / 0.45);
  /* The chip's state colors, each with white text (contrast with white in the comment), a light dot, and the dot's 3px ring */
  --status-open: #2f6b3a;    --status-open-dot: #cfe8b8;    --status-open-glow: rgb(120 200 110 / 0.55);   /* 6.4:1 */
  --status-soon: #9a5408;    --status-soon-dot: #ffe0a8;    --status-soon-glow: rgb(245 170 60 / 0.55);    /* 5.8:1 */
  --status-opening: #a44a6b; --status-opening-dot: #ffd6e3; --status-opening-glow: rgb(240 150 190 / 0.55); /* 5.6:1 */
  --status-closed: #26306a;  --status-closed-dot: #c9d2ff;  --status-closed-glow: rgb(150 170 255 / 0.5);   /* 12.3:1 */
  --status-holiday: #9b1b30; --status-holiday-dot: #ffd1d8; --status-holiday-glow: rgb(240 90 110 / 0.55); /* 8.1:1 */
  /* The hours dial (footer hours, 2026-11-20), drawn in a 100-unit box: its size, the 24/7 ring's width (the track's radius and width, the hand's reach, and the
     center baselines are DIAL in open-hours.js),
     the open hours' gold and green edge, the hand, the center type (in the box's units), and a holiday's dashes */
  --footer-dial-size: 5.75rem;            /* 92px */
  --footer-dial-ring: 2;                  /* the unbroken outer ring */
  --footer-dial-edge: 1.5;                /* the open hours' green edge */
  --footer-dial-hand: 3;
  --footer-dial-word: 15px;
  --footer-dial-line: 9.5px;
  --footer-dial-dash: 4 3;
  --footer-dial-track: rgb(28 29 32 / 0.12);     /* light panels */
  --footer-dial-track-dark: rgb(255 255 255 / 0.15); /* dusk and night */
  --footer-dial-arc: var(--color-gold-light);
  --status-dot-size: 0.5625rem; --status-dot-ring: 3px;
  /* The panel under the scene takes the scene's colours (components.css, .site-footer--<scene>): the panel, its ink, its small
     gold-or-rose labels, its links, the muted text, the link hover, and the focus ring. Day and dawn are light panels
     (charcoal ink, charcoal ring); dusk and night are dark ones (white ink, white ring). */
  --footer-day-panel: #f7f1e3;   --footer-day-label: var(--color-gold);   --footer-day-link: var(--color-red);
  --footer-dawn-panel: #efe8f1;  --footer-dawn-label: #7d4a68;            --footer-dawn-link: var(--color-red);
  --footer-dusk-panel: #3a2236;  --footer-dusk-label: #ffc79a;            --footer-dusk-link: var(--color-white);
  --footer-night-panel: #121731; --footer-night-label: var(--color-gold-light); --footer-night-link: var(--color-white);
  /* The medallions (components.css, .footer-medal): each office's building cropped from the painting's own loaded file
     (main.js sets --footer-scene-url from that image's currentSrc, so no second file is fetched; with no script the
     medallion is a plain disc). Each crop centres its building: a position in the painting, and the zoom (the painting's
     height as a share of the medallion's). */
  --footer-medal-size: 3.5rem;
  --footer-medal-edge-light: var(--color-gold); --footer-medal-edge-dark: var(--color-gold-light); /* the 2px gold edge: logo gold on the light panels, light gold on the dark ones */
  --social-gradient-angle: 45deg; --social-hover-opacity: 0.85;
  --footer-medal-zoom: 260%;
  --footer-medal-mill-pos: 21% 45%;
  --footer-medal-court-pos: 83% 50%;
  /* Social icons in the footer: our own outline drawings on each network's colour (never a logo file). White drawings
     need 3:1 on their disc; the Instagram gradient's three stops are all dark enough for that. */
  --social-facebook: #1f4f9a;
  --social-instagram-from: #c8501a; --social-instagram-via: #c42a45; --social-instagram-to: #8a2a9b;
  --social-disc-size: calc(var(--icon-size) + var(--space-3) + 2 * var(--border-width)); /* the drawing, 8px round it, a 1px edge */
}
@media (min-width: 48em) { :root {
  --team-initials-max: 100%;            /* from tablet up, as wide as the card, like a photo */
  --wall-core-width: 40%;
  --why-mill-width: 100%; /* edge to edge, up to its cap */
  --team-figure-width: 12rem; --team-stage-headroom: 4.5rem;
  --reviews-drawing-width: 100%; --reviews-strip: 12rem; /* the reviews band: the drawing edge to edge */
  --header-gap: var(--space-4); --font-size-matters-statement: var(--font-size-h2);
  --footer-pad: var(--space-6);
  --footer-scene-position: 50% 55%;
  --service-backdrop-width: 56%;
  --hero-skyline-width: 100%; /* edge to edge */
} }
@media (min-width: 64em) { :root {
  --reviews-strip: 13rem;
  --team-figure-width: 15.75rem; --team-stage-headroom: 5.25rem;
  --logo-height: clamp(2.375rem, 16.67vw - 8.29rem, 3.75rem);
  --header-gap: var(--space-3); /* nav, number, and pill share one row */
  --font-size-nav-heading: 1.375rem; /* 22px over 16px rows */
  --header-height-condensed: 4rem;   /* 80px → 64px */
  --header-pad-condensed: var(--space-2); /* unchanged: the dropdowns' bridge to the header edge counts on it */
  --profile-portrait-max: min(100%, calc(62svh * 0.8)); /* its column's width, or less on short screens */
  /* On desktop the courthouse is 215% of the photo's width and sits to its left, so the entrance shows. The name and
     buttons sit beside the photo, so it moves left only as far as it stays clear of the "Call Now!" pill: centered
     behind the photo at 1024px, up to 21% of the photo's width from about 1190px (the entrance is then partly behind
     the person). Wide screens have room for the full 45%, below. */
  --profile-backdrop-width: 215%;
  --profile-backdrop-shift: clamp(0%, (100vw - 64rem) * 0.58, 21%);
  /* Home hero skyline on desktop: edge to edge up to --skyline-max (1440px), where it stops growing so its place
     against the statement and the photo stays the same on wider screens; and never taller than about two thirds of
     a short screen (the drawing is 2.4 times as wide as it is tall). Stronger here: its right part is dimmed in the
     file. */
  --hero-skyline-width: min(100%, var(--skyline-max), 160svh);
  --hero-skyline-opacity: 0.26;
  --font-size-profile-statement: 2rem;
} }
/* Narrow desktops (1024–1151px): the logo, the tabs (three since 2026-11-23, each with a dropdown arrow), the
   number, and the pill nearly filled the row with four tabs (2026-11-16), so the spacing tightens a little:
   12px between tabs, 12px gaps, a 12px-padded pill */
@media (min-width: 64em) and (max-width: 71.99em) { :root {
  --nav-tab-pad: 0.375rem; --header-gap: 0.75rem; --header-consult-pad: 0.75rem;
} }
@media (min-width: 48em) { :root {
  --profile-bough-width: 86%; --profile-bough-x: 88%; --profile-bough-y: -14%; /* tablets: the bough beside her */
  /* tablets: the whole drawing, shifted so the courthouse shows to her left; she is centered at her usual size */
  --profile-scene-width: 120cqw; --profile-scene-shift: -14cqw; --profile-scene-opacity: 0.55;
  --profile-scene-figure: 19rem; --profile-scene-gap: var(--space-5);
  --chapter-backdrop-opacity: 0.5;
  --quote-frieze-width: 130%; --quote-frieze-shift: -15%;
} }
@media (min-width: 64em) { :root {
  /* desktop: the drawing as wide as the container, a little to the left so the radio tower clears her hair */
  --profile-scene-width: 100cqw; --profile-scene-shift: -4cqw; --profile-scene-figure: 25rem;
  --profile-bough-width: 100%; --profile-bough-x: -40%; --profile-bough-y: -98%; /* down from the section's top edge, above her head */
  --quote-frieze-width: 100%; --quote-frieze-shift: 0px;
} }
@media (min-width: 90em) { :root { --profile-scene-shift: 0px; } } /* the wider container: the drawing on the container's own edges */
@media (min-width: 90em) { :root { --nav-tab-pad: var(--space-3); --profile-backdrop-shift: 45%; } } /* the wider container leaves room to breathe */
