/* ==========================================================================
   Damon IT — design system
   One stylesheet for the whole site. No build step.

   1.  Tokens            7.  Section heads        13. Owner note, facts
   2.  Reset and base    8.  Service grid         14. Definition table, FAQ
   3.  Layout            9.  Process steps        15. Forms
   4.  Header and nav    10. Feature list         16. CTA band, footer
   5.  Buttons, links    11. Tiles, panels        17. Page hero, 404
   6.  Hero (home)       12. Inner-page blocks    18. Motion, print
   19. About, contact    20. Services, process    21. Forced colours
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* brand */
  --navy: #0B1F3A;
  --navy-deep: #06142A;
  --navy-700: #12305A;
  --cyan: #0891B2;          /* graphics and large type on light */
  --cyan-ink: #0A6C87;      /* text-size cyan on light (AA) */
  --cyan-bright: #22D3EE;   /* cyan on dark */
  --apricot: #F2A800;
  --red: #D90012;

  /* surfaces */
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --mist: #EDF1F5;

  /* ink on light */
  --ink: #0B1F3A;
  --ink-2: #34435A;
  --ink-3: #5A677D;

  /* semantic, light context (overridden by .on-dark) */
  --fg: var(--ink);
  --fg-soft: var(--ink-2);
  --fg-muted: var(--ink-3);
  --rule: rgba(11, 31, 58, .14);
  --rule-strong: rgba(11, 31, 58, .3);
  --accent: var(--cyan);
  --accent-text: var(--cyan-ink);
  --focus: var(--navy);
  --surface: var(--white);

  /* type */
  --font-head: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.55rem + 3.7vw, 4.25rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.8125rem, 1.4rem + 1.7vw, 2.75rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .42vw, 1.3125rem);
  --fs-body: clamp(1rem, .97rem + .14vw, 1.0625rem);
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --lh-tight: 1.06;
  --lh-head: 1.16;
  --lh-body: 1.65;

  /* space */
  --section-y: clamp(4.5rem, 3rem + 6.5vw, 8.5rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --container: 76rem;
  --header-h: 4.5rem;

  /* shape */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* linework (masks, so colour comes from the element) */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E");
  --icon-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13.5v-11M4 6.5l4-4 4 4'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  --survey-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144' fill='none' stroke='%23DCEBFA' stroke-opacity='.15'%3E%3Cpath d='M68 72.5h9M72.5 68v9'/%3E%3C/svg%3E");
  --arevakhach: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-12 -12 24 24%22%3E%3Cpath d=%22M0.62 -1.48L0.9 -2.24L1.29 -2.94L1.79 -3.57L2.37 -4.13L3.02 -4.59L3.74 -4.94L4.51 -5.19L5.3 -5.32L6.1 -5.32L6.89 -5.21L7.66 -4.98L8.39 -4.64L9.05 -4.19L9.64 -3.65L10.15 -3.02L10.55 -2.33L10.85 -1.58L11.03 -0.8L11.09 0L11 1.37L10.75 2.71L10.72 2.79L10.67 2.86L10.61 2.91L10.53 2.95L10.45 2.97L10.37 2.97L10.29 2.95L10.21 2.91L10.15 2.85L10.11 2.78L10.08 2.71L9.79 1.79L9.37 0.93L8.82 0.14L8.15 -0.55L7.38 -1.13L6.54 -1.58L5.63 -1.9L4.68 -2.07L3.72 -2.09L2.77 -1.96L1.85 -1.69L0.99 -1.27L0.81 -1.39ZM1.49 -0.61L2.22 -0.94L2.99 -1.16L3.79 -1.26L4.59 -1.24L5.38 -1.11L6.14 -0.85L6.86 -0.48L7.51 -0.01L8.08 0.55L8.56 1.19L8.94 1.9L9.21 2.65L9.36 3.44L9.4 4.24L9.31 5.04L9.11 5.81L8.79 6.55L8.36 7.23L7.84 7.84L6.81 8.75L5.68 9.52L5.61 9.55L5.52 9.57L5.44 9.56L5.36 9.54L5.29 9.49L5.23 9.43L5.19 9.36L5.16 9.28L5.16 9.2L5.18 9.11L5.21 9.04L5.66 8.19L5.97 7.28L6.14 6.33L6.15 5.37L6.02 4.42L5.74 3.5L5.32 2.64L4.77 1.85L4.11 1.16L3.35 0.57L2.5 0.12L1.6 -0.2L1.56 -0.41ZM1.48 0.62L2.24 0.9L2.94 1.29L3.57 1.79L4.13 2.37L4.59 3.02L4.94 3.74L5.19 4.51L5.32 5.3L5.32 6.1L5.21 6.89L4.98 7.66L4.64 8.39L4.19 9.05L3.65 9.64L3.02 10.15L2.33 10.55L1.58 10.85L0.8 11.03L0 11.09L-1.37 11L-2.71 10.75L-2.79 10.72L-2.86 10.67L-2.91 10.61L-2.95 10.53L-2.97 10.45L-2.97 10.37L-2.95 10.29L-2.91 10.21L-2.85 10.15L-2.78 10.11L-2.71 10.08L-1.79 9.79L-0.93 9.37L-0.14 8.82L0.55 8.15L1.13 7.38L1.58 6.54L1.9 5.63L2.07 4.68L2.09 3.72L1.96 2.77L1.69 1.85L1.27 0.99L1.39 0.81ZM0.61 1.49L0.94 2.22L1.16 2.99L1.26 3.79L1.24 4.59L1.11 5.38L0.85 6.14L0.48 6.86L0.01 7.51L-0.55 8.08L-1.19 8.56L-1.9 8.94L-2.65 9.21L-3.44 9.36L-4.24 9.4L-5.04 9.31L-5.81 9.11L-6.55 8.79L-7.23 8.36L-7.84 7.84L-8.75 6.81L-9.52 5.68L-9.55 5.61L-9.57 5.52L-9.56 5.44L-9.54 5.36L-9.49 5.29L-9.43 5.23L-9.36 5.19L-9.28 5.16L-9.2 5.16L-9.11 5.18L-9.04 5.21L-8.19 5.66L-7.28 5.97L-6.33 6.14L-5.37 6.15L-4.42 6.02L-3.5 5.74L-2.64 5.32L-1.85 4.77L-1.16 4.11L-0.57 3.35L-0.12 2.5L0.2 1.6L0.41 1.56ZM-0.62 1.48L-0.9 2.24L-1.29 2.94L-1.79 3.57L-2.37 4.13L-3.02 4.59L-3.74 4.94L-4.51 5.19L-5.3 5.32L-6.1 5.32L-6.89 5.21L-7.66 4.98L-8.39 4.64L-9.05 4.19L-9.64 3.65L-10.15 3.02L-10.55 2.33L-10.85 1.58L-11.03 0.8L-11.09 0L-11 -1.37L-10.75 -2.71L-10.72 -2.79L-10.67 -2.86L-10.61 -2.91L-10.53 -2.95L-10.45 -2.97L-10.37 -2.97L-10.29 -2.95L-10.21 -2.91L-10.15 -2.85L-10.11 -2.78L-10.08 -2.71L-9.79 -1.79L-9.37 -0.93L-8.82 -0.14L-8.15 0.55L-7.38 1.13L-6.54 1.58L-5.63 1.9L-4.68 2.07L-3.72 2.09L-2.77 1.96L-1.85 1.69L-0.99 1.27L-0.81 1.39ZM-1.49 0.61L-2.22 0.94L-2.99 1.16L-3.79 1.26L-4.59 1.24L-5.38 1.11L-6.14 0.85L-6.86 0.48L-7.51 0.01L-8.08 -0.55L-8.56 -1.19L-8.94 -1.9L-9.21 -2.65L-9.36 -3.44L-9.4 -4.24L-9.31 -5.04L-9.11 -5.81L-8.79 -6.55L-8.36 -7.23L-7.84 -7.84L-6.81 -8.75L-5.68 -9.52L-5.61 -9.55L-5.52 -9.57L-5.44 -9.56L-5.36 -9.54L-5.29 -9.49L-5.23 -9.43L-5.19 -9.36L-5.16 -9.28L-5.16 -9.2L-5.18 -9.11L-5.21 -9.04L-5.66 -8.19L-5.97 -7.28L-6.14 -6.33L-6.15 -5.37L-6.02 -4.42L-5.74 -3.5L-5.32 -2.64L-4.77 -1.85L-4.11 -1.16L-3.35 -0.57L-2.5 -0.12L-1.6 0.2L-1.56 0.41ZM-1.48 -0.62L-2.24 -0.9L-2.94 -1.29L-3.57 -1.79L-4.13 -2.37L-4.59 -3.02L-4.94 -3.74L-5.19 -4.51L-5.32 -5.3L-5.32 -6.1L-5.21 -6.89L-4.98 -7.66L-4.64 -8.39L-4.19 -9.05L-3.65 -9.64L-3.02 -10.15L-2.33 -10.55L-1.58 -10.85L-0.8 -11.03L0 -11.09L1.37 -11L2.71 -10.75L2.79 -10.72L2.86 -10.67L2.91 -10.61L2.95 -10.53L2.97 -10.45L2.97 -10.37L2.95 -10.29L2.91 -10.21L2.85 -10.15L2.78 -10.11L2.71 -10.08L1.79 -9.79L0.93 -9.37L0.14 -8.82L-0.55 -8.15L-1.13 -7.38L-1.58 -6.54L-1.9 -5.63L-2.07 -4.68L-2.09 -3.72L-1.96 -2.77L-1.69 -1.85L-1.27 -0.99L-1.39 -0.81ZM-0.61 -1.49L-0.94 -2.22L-1.16 -2.99L-1.26 -3.79L-1.24 -4.59L-1.11 -5.38L-0.85 -6.14L-0.48 -6.86L-0.01 -7.51L0.55 -8.08L1.19 -8.56L1.9 -8.94L2.65 -9.21L3.44 -9.36L4.24 -9.4L5.04 -9.31L5.81 -9.11L6.55 -8.79L7.23 -8.36L7.84 -7.84L8.75 -6.81L9.52 -5.68L9.55 -5.61L9.57 -5.52L9.56 -5.44L9.54 -5.36L9.49 -5.29L9.43 -5.23L9.36 -5.19L9.28 -5.16L9.2 -5.16L9.11 -5.18L9.04 -5.21L8.19 -5.66L7.28 -5.97L6.33 -6.14L5.37 -6.15L4.42 -6.02L3.5 -5.74L2.64 -5.32L1.85 -4.77L1.16 -4.11L0.57 -3.35L0.12 -2.5L-0.2 -1.6L-0.41 -1.56Z%22/%3E%3C/svg%3E");
  --braid: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2228%22 height=%2210%22 viewBox=%220 0 28 10%22%3E%3Cpath d=%22M-0.96 6.57L-0.72 6.6L-0.48 6.63L-0.24 6.64L0 6.65L0.24 6.64L0.48 6.63L0.72 6.6L0.96 6.57L1.2 6.52L1.45 6.47L1.7 6.4L1.95 6.32L2.2 6.24L2.46 6.14L2.72 6.03L2.98 5.92L3.24 5.79L3.51 5.65L3.78 5.51M8.11 2.82L8.41 2.64L8.72 2.46L9.03 2.29L9.34 2.12L9.66 1.97L9.98 1.81L10.3 1.67L10.62 1.54L10.95 1.41L11.28 1.3L11.61 1.2L11.95 1.11L12.29 1.03L12.63 0.97L12.97 0.92L13.31 0.88L13.66 0.86L14 0.85L14.34 0.86L14.69 0.88L15.03 0.92L15.37 0.97L15.71 1.03L16.05 1.11L16.39 1.2L16.72 1.3L17.05 1.41L17.38 1.54L17.7 1.67L18.02 1.81L18.34 1.97L18.66 2.12L18.97 2.29L19.28 2.46L19.59 2.64L19.89 2.82L20.2 3L20.5 3.19L20.8 3.38L21.09 3.57L21.39 3.76L21.68 3.95L21.97 4.14L22.26 4.33L22.55 4.51L22.83 4.69L23.11 4.87L23.39 5.04L23.67 5.2L23.95 5.36L24.22 5.51L24.49 5.65L24.76 5.79L25.02 5.92L25.28 6.03L25.54 6.14L25.8 6.24L26.05 6.32L26.3 6.4L26.55 6.47L26.8 6.52L27.04 6.57L27.28 6.6L27.52 6.63L27.76 6.64L28 6.65L28.24 6.64L28.48 6.63L28.72 6.6L28.96 6.57M-1.37 9.03L-1.03 9.08L-0.69 9.12L-0.34 9.14L0 9.15L0.34 9.14L0.69 9.12L1.03 9.08L1.37 9.03L1.71 8.97L2.05 8.89L2.39 8.8L2.72 8.7L3.05 8.59L3.38 8.46L3.7 8.33L4.02 8.19L4.34 8.03L4.66 7.88L4.97 7.71L5.28 7.54L5.59 7.36L5.89 7.18M10.22 4.49L10.49 4.35L10.76 4.21L11.02 4.08L11.28 3.97L11.54 3.86L11.8 3.76L12.05 3.68L12.3 3.6L12.55 3.53L12.8 3.48L13.04 3.43L13.28 3.4L13.52 3.37L13.76 3.36L14 3.35L14.24 3.36L14.48 3.37L14.72 3.4L14.96 3.43L15.2 3.48L15.45 3.53L15.7 3.6L15.95 3.68L16.2 3.76L16.46 3.86L16.72 3.97L16.98 4.08L17.24 4.21L17.51 4.35L17.78 4.49L18.05 4.64L18.33 4.8L18.61 4.96L18.89 5.13L19.17 5.31L19.45 5.49L19.74 5.67L20.03 5.86L20.32 6.05L20.61 6.24L20.91 6.43L21.2 6.62L21.5 6.81L21.8 7L22.11 7.18L22.41 7.36L22.72 7.54L23.03 7.71L23.34 7.88L23.66 8.03L23.98 8.19L24.3 8.33L24.62 8.46L24.95 8.59L25.28 8.7L25.61 8.8L25.95 8.89L26.29 8.97L26.63 9.03L26.97 9.08L27.31 9.12L27.66 9.14L28 9.15L28.34 9.14L28.69 9.12L29.03 9.08L29.37 9.03M-1.37 0.97L-1.03 0.92L-0.69 0.88L-0.34 0.86L0 0.85L0.34 0.86L0.69 0.88L1.03 0.92L1.37 0.97L1.71 1.03L2.05 1.11L2.39 1.2L2.72 1.3L3.05 1.41L3.38 1.54L3.7 1.67L4.02 1.81L4.34 1.97L4.66 2.12L4.97 2.29L5.28 2.46L5.59 2.64L5.89 2.82L6.2 3L6.5 3.19L6.8 3.38L7.09 3.57L7.39 3.76L7.68 3.95L7.97 4.14L8.26 4.33L8.55 4.51L8.83 4.69L9.11 4.87L9.39 5.04L9.67 5.2L9.95 5.36L10.22 5.51L10.49 5.65L10.76 5.79L11.02 5.92L11.28 6.03L11.54 6.14L11.8 6.24L12.05 6.32L12.3 6.4L12.55 6.47L12.8 6.52L13.04 6.57L13.28 6.6L13.52 6.63L13.76 6.64L14 6.65L14.24 6.64L14.48 6.63L14.72 6.6L14.96 6.57L15.2 6.52L15.45 6.47L15.7 6.4L15.95 6.32L16.2 6.24L16.46 6.14L16.72 6.03L16.98 5.92L17.24 5.79L17.51 5.65L17.78 5.51M22.11 2.82L22.41 2.64L22.72 2.46L23.03 2.29L23.34 2.12L23.66 1.97L23.98 1.81L24.3 1.67L24.62 1.54L24.95 1.41L25.28 1.3L25.61 1.2L25.95 1.11L26.29 1.03L26.63 0.97L26.97 0.92L27.31 0.88L27.66 0.86L28 0.85L28.34 0.86L28.69 0.88L29.03 0.92L29.37 0.97M-0.96 3.43L-0.72 3.4L-0.48 3.37L-0.24 3.36L0 3.35L0.24 3.36L0.48 3.37L0.72 3.4L0.96 3.43L1.2 3.48L1.45 3.53L1.7 3.6L1.95 3.68L2.2 3.76L2.46 3.86L2.72 3.97L2.98 4.08L3.24 4.21L3.51 4.35L3.78 4.49L4.05 4.64L4.33 4.8L4.61 4.96L4.89 5.13L5.17 5.31L5.45 5.49L5.74 5.67L6.03 5.86L6.32 6.05L6.61 6.24L6.91 6.43L7.2 6.62L7.5 6.81L7.8 7L8.11 7.18L8.41 7.36L8.72 7.54L9.03 7.71L9.34 7.88L9.66 8.03L9.98 8.19L10.3 8.33L10.62 8.46L10.95 8.59L11.28 8.7L11.61 8.8L11.95 8.89L12.29 8.97L12.63 9.03L12.97 9.08L13.31 9.12L13.66 9.14L14 9.15L14.34 9.14L14.69 9.12L15.03 9.08L15.37 9.03L15.71 8.97L16.05 8.89L16.39 8.8L16.72 8.7L17.05 8.59L17.38 8.46L17.7 8.33L18.02 8.19L18.34 8.03L18.66 7.88L18.97 7.71L19.28 7.54L19.59 7.36L19.89 7.18M24.22 4.49L24.49 4.35L24.76 4.21L25.02 4.08L25.28 3.97L25.54 3.86L25.8 3.76L26.05 3.68L26.3 3.6L26.55 3.53L26.8 3.48L27.04 3.43L27.28 3.4L27.52 3.37L27.76 3.36L28 3.35L28.24 3.36L28.48 3.37L28.72 3.4L28.96 3.43%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

/* dark context: hero, page hero, navy sections, CTA band, footer, header */
.on-dark {
  --fg: #F3F6FA;
  --fg-soft: #C2CEDD;
  --fg-muted: #94A4BA;
  --rule: rgba(190, 212, 238, .17);
  --rule-strong: rgba(190, 212, 238, .38);
  --accent: var(--cyan-bright);
  --accent-text: var(--cyan-bright);
  --focus: var(--apricot);
  --surface: rgba(255, 255, 255, .04);
  color: var(--fg-soft);
}

/* 2. Reset and base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  margin: 0;
  min-width: 20rem;
  background: var(--paper);
  color: var(--fg-soft);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: var(--lh-head);
  letter-spacing: -.018em;
  color: var(--fg);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.028em; line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); letter-spacing: -.024em; line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.01em; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--fg); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--cyan-bright); color: var(--navy-deep); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .75rem 1.125rem;
  background: var(--apricot); color: var(--navy-deep);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; outline: 2px solid var(--white); outline-offset: 2px; }

/* numerals and identifiers */
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); background: var(--paper); position: relative; }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--navy { isolation: isolate; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
/* survey registration marks: one row, held in the padding above the heading so no
   mark ever sits behind a line of text; whole tiles only, so none is cut at an edge */
.section--navy::before {
  content: ""; position: absolute; inset: 0 var(--gutter) auto; height: var(--section-y); z-index: -1; pointer-events: none;
  background: var(--survey-cross) 50% 50% / 144px 144px space no-repeat;
}
@media (max-width: 39.99rem) { .section--navy::before { display: none; } }
.section--tight { padding-block: calc(var(--section-y) * .62); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: var(--gap, clamp(1.5rem, 3vw, 2.5rem)); }
@media (min-width: 40rem) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* aside + main: a narrow heading column next to a wide content column */
.split { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .split--wide-aside { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
  /* .split--lg stays stacked until there is room for a wide main column */
  .split--lg { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); }
  .split--lg > .split__sticky { position: static; }
}
@media (min-width: 70rem) {
  .split--lg { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .split--lg > .split__sticky { position: sticky; }
}

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose a:not([class]) { color: var(--accent-text); font-weight: 500; }
.prose a:not([class]):hover { color: var(--fg); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg); }

/* Armenian linework: eternity sign as a small ornament, khachkar braid as a hairline */
.ornament {
  display: inline-block; flex: none;
  width: 1.375rem; height: 1.375rem;
  background: var(--apricot);
  -webkit-mask: var(--arevakhach) center / contain no-repeat;
  mask: var(--arevakhach) center / contain no-repeat;
}
.braid {
  display: block; height: 10px; border: 0; margin: 0;
  color: rgba(11, 31, 58, .62);
  background: currentColor;
  -webkit-mask: var(--braid) left center / auto 100% repeat-x;
  mask: var(--braid) left center / auto 100% repeat-x;
}
.braid--short { width: 7.875rem; }
.section-head .braid { margin-bottom: .5rem; }
.on-dark .braid, .on-dark.braid { color: rgba(34, 211, 238, .4); }

/* 4. Header and navigation ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(190, 212, 238, .1);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }
.site-header__logo { display: block; flex: none; border-radius: 2px; }
.site-header__logo svg { height: 1.75rem; width: auto; }

/* home: transparent while the hero is at the top of the viewport */
.page-home .site-header:not(.is-scrolled):not(.is-open) { background-color: transparent; border-color: transparent; }
.site-header.is-scrolled {
  background-color: rgba(9, 27, 51, .96);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 8px 20px -14px rgba(6, 20, 42, .28);
}
.site-header.is-open { background-color: var(--navy-deep); -webkit-backdrop-filter: none; backdrop-filter: none; }

.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.25rem); }
.site-nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.25rem); margin: 0; }
.site-nav__list a {
  position: relative; display: block; padding: .5rem 0;
  color: #CBD6E4; font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
  transition: color .2s ease;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .125rem; height: 2px;
  background: var(--apricot); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center; transition: transform .3s var(--ease);
}
.site-nav__list a:hover { color: #fff; }
.site-nav__list a:hover::after { transform: scaleX(1); background: rgba(255, 255, 255, .45); }
.site-nav__list a[aria-current="page"], .site-nav__list a.is-active { color: #fff; }
.site-nav__list a[aria-current="page"]::after, .site-nav__list a.is-active::after { transform: scaleX(1); background: var(--apricot); }

.nav-toggle {
  display: none; position: relative; flex: none;
  width: 2.75rem; height: 2.75rem; margin-right: -.625rem; padding: 0;
  background: none; border: 0; border-radius: var(--radius); color: #fff;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 50%; width: 1.375rem; height: 2px; margin-left: -.6875rem;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease, background-color .2s ease;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; background: transparent; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; top: 0; }
.nav-toggle__bars::before { transform: translateY(-4.5px); }
.nav-toggle__bars::after { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

@media (max-width: 55.99rem) {
  :root { --header-h: 4rem; }
  .site-header__logo svg { height: 1.5rem; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--navy-deep);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .js .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list a {
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(190, 212, 238, .14);
    font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; color: #fff;
  }
  .js .site-nav__list a::after { display: none; }
  .js .site-nav__list a[aria-current="page"], .js .site-nav__list a.is-active { color: var(--cyan-bright); }
  /* the one action in the panel is the filled primary, as everywhere else on dark */
  .js .site-header .site-nav__cta {
    --btn-bg: var(--cyan-bright); --btn-fg: var(--navy-deep); --btn-border: var(--cyan-bright);
    margin-top: 2rem; justify-content: center; padding-block: 1rem; font-size: 1rem;
  }
  .js .site-header .site-nav__cta:hover { --btn-bg: #7BE7F7; --btn-border: #7BE7F7; }
  .js .site-header .site-nav__cta::after {
    content: ""; flex: none; width: 1em; height: 1em; background: currentColor;
    -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat;
  }
  /* phone and email at the foot of the panel */
  .js .site-nav__contact {
    display: grid; justify-items: start; margin-top: auto; padding-top: 2.5rem;
    font-size: var(--fs-sm); color: var(--fg-soft);
  }
  .js .site-nav__contact::before { content: ""; width: 7.875rem; height: 10px; margin-bottom: 1rem; background: rgba(34, 211, 238, .4); -webkit-mask: var(--braid) left center / auto 100% repeat-x; mask: var(--braid) left center / auto 100% repeat-x; }
  .js .site-nav__contact a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #DCE5F0; text-decoration: none; }
  .js .site-nav__contact a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan-bright); }

  /* without JavaScript the links simply wrap under the logo */
  .no-js .site-header, .no-js .page-home .site-header { position: static; height: auto; padding-block: .875rem; background-color: var(--navy-deep) !important; }
  .no-js .site-header__inner { flex-wrap: wrap; row-gap: .5rem; }
  .no-js .site-nav, .no-js .site-nav__list { flex-wrap: wrap; row-gap: .25rem; }
  .no-js .hero, .no-js .page-hero, .no-js .notfound { --header-h: 0rem; }
}
body.nav-open { overflow: hidden; }
.site-nav__contact { display: none; }

/* 5. Buttons and links ---------------------------------------------------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-border: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  padding: .9375rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; letter-spacing: .002em;
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { --btn-bg: var(--navy-700); --btn-border: var(--navy-700); }
.btn:active { transform: translateY(1px); }
.on-dark .btn { --btn-bg: var(--cyan-bright); --btn-fg: var(--navy-deep); --btn-border: var(--cyan-bright); }
.on-dark .btn:hover { --btn-bg: #7BE7F7; --btn-border: #7BE7F7; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: rgba(11, 31, 58, .5); }
.btn--ghost:hover { --btn-bg: rgba(11, 31, 58, .05); --btn-border: var(--navy); }
.on-dark .btn--ghost { --btn-bg: rgba(6, 20, 42, .4); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .32); }
.on-dark .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-border: rgba(255, 255, 255, .7); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: var(--cyan); }
.on-dark .btn--outline { --btn-bg: rgba(6, 20, 42, .45); --btn-fg: #fff; --btn-border: rgba(34, 211, 238, .6); }
.on-dark .btn--outline:hover { --btn-bg: var(--cyan-bright); --btn-fg: var(--navy-deep); --btn-border: var(--cyan-bright); }

.btn--sm { padding: .6875rem 1.125rem; }

/* trailing arrow drawn in CSS: add .btn--arrow or use .link-arrow */
.btn--arrow::after, .link-arrow::after {
  content: ""; flex: none; width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn--arrow:hover::after, .link-arrow:hover::after { transform: translateX(.25rem); }

.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }
@media (max-width: 30rem) {
  .btn-row { gap: .625rem; }
  .btn-row .btn { flex: 1 1 auto; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding-bottom: .25rem;
  color: var(--fg); font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  transition: background-size .3s var(--ease), color .2s ease;
}
.link-arrow:hover { background-size: 100% 2px; color: var(--accent-text); }
.on-dark .link-arrow:hover { color: #fff; }
.link-arrow--up::after { -webkit-mask-image: var(--icon-arrow-up); mask-image: var(--icon-arrow-up); }
.link-arrow--up:hover::after { transform: translateY(-.2rem); }

.eyebrow {
  display: flex; align-items: flex-start; gap: .875rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 2px; margin-top: calc(.7em - 1px); background: var(--apricot); border-radius: 2px; }
.eyebrow--plain::before { display: none; }
/* two-part eyebrow: when it cannot stay on one line it breaks between the parts and drops the separator */
@media (max-width: 34rem) {
  .eyebrow__part { display: block; }
  .eyebrow__sep { display: none; }
}

/* 6. Hero (home) ---------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: max(100vh, 40rem);
  min-height: max(100svh, 40rem);
  padding: calc(var(--header-h) + 2.5rem) 0 clamp(3.5rem, 8vh, 6rem);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__bg canvas { display: block; }
/* static fallback when the canvas module cannot run (no script, or it failed to start) */
.no-js .hero__bg:empty, .hero__bg--static:empty { background: url("../img/motif-ararat.svg") right -4rem bottom 16% / min(60rem, 64%) auto no-repeat; opacity: .85; }
/* keeps the header legible over the animated background */
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 9rem; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 20, 42, .6), rgba(6, 20, 42, 0));
}
.hero__content { max-width: 36rem; }
.hero__title {
  margin-top: 1.5rem;
  font-size: var(--fs-display); font-weight: 700; line-height: 1.03; letter-spacing: -.032em;
  color: #F5F8FC;
}
.hero__title em { font-style: normal; color: var(--cyan-bright); }
.hero__lead { margin-top: 1.5rem; max-width: 32rem; font-size: var(--fs-lead); line-height: 1.58; color: #C4D0DF; }
.hero .btn-row { margin-top: 2.25rem; }
.hero__legal {
  margin-top: 2.5rem; padding-top: 1.25rem; max-width: 30rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs); line-height: 1.6; letter-spacing: .02em; color: #A3B2C7;
}
@media (min-width: 56rem) and (max-width: 74rem) {
  .hero__content { max-width: min(36rem, 52vw); }
}
@media (max-width: 55.99rem) {
  .hero {
    justify-content: flex-start;
    min-height: max(100svh, 46rem);
    padding-top: calc(var(--header-h) + 2.25rem);
    /* the mountain motif sits under the copy on small screens */
    padding-bottom: calc(52vw + 5.5rem);
  }
  .no-js .hero__bg:empty, .hero__bg--static:empty { background-position: 50% calc(100% - 5rem); background-size: 116% auto; }
  .hero__title { margin-top: 1.25rem; }
  .hero__lead { margin-top: 1.125rem; }
  .hero .btn-row { margin-top: 1.75rem; }
  /* the legal line becomes a caption strip under the massif, so the mountain follows the buttons directly */
  .hero__legal {
    position: absolute; left: 0; right: 0; bottom: 0; max-width: none; margin: 0;
    padding: .9375rem calc(var(--gutter) + 3.25rem) 1.0625rem var(--gutter);
    background: rgba(6, 20, 42, .78);
  }
}
@media (max-width: 35rem) {
  /* where the caption cannot stay on one line it breaks before the registration number and drops the separator */
  .hero__legal-sep { display: none; }
  .hero__legal-reg { display: block; }
}
@media (max-width: 30rem) {
  .hero { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__title { margin-top: 1rem; }
  .hero__lead { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.55; }
  .hero .btn-row { margin-top: 1.375rem; }
  .hero .btn { padding-block: .8125rem; }
  .eyebrow { font-size: .75rem; letter-spacing: .13em; }
}

/* pause control for the animated background (WCAG 2.2.2); shown by site.js while the scene can move */
.hero__pause {
  position: absolute; right: calc(var(--gutter) - .5rem); bottom: 1.25rem; z-index: 2;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 0; border-radius: 50%; color: #C4D0DF;
  transition: color .2s ease;
}
.hero__pause[hidden] { display: none; }
.hero__pause::before {
  content: ""; grid-area: 1 / 1; width: 2.125rem; height: 2.125rem; border-radius: 50%;
  background: rgba(6, 20, 42, .55); border: 1px solid rgba(255, 255, 255, .32);
  transition: border-color .2s ease, background-color .2s ease;
}
/* two bars while it plays, a triangle once paused; drawn with borders so they survive forced colours */
.hero__pause::after {
  content: ""; grid-area: 1 / 1; box-sizing: border-box; width: .625rem; height: .6875rem;
  border-inline: .1875rem solid currentColor;
}
.hero__pause[aria-pressed="true"]::after {
  width: 0; height: 0; margin-left: .1875rem;
  border-block: .375rem solid transparent; border-left: .625rem solid currentColor; border-right: 0;
}
.hero__pause:hover { color: #fff; }
.hero__pause:hover::before { border-color: rgba(255, 255, 255, .7); background: rgba(6, 20, 42, .8); }
@media (max-width: 55.99rem) { .hero__pause { bottom: .5rem; } }

/* 7. Section heads -------------------------------------------------------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.section-head > * + * { margin-top: 1.125rem; }
.section-head__mark { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.375rem; }
.section-head__mark::after { content: ""; width: 3.5rem; height: 1px; background: var(--rule-strong); }
.section-head__intro { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-soft); max-width: 38rem; }
.section-head--flush { margin-bottom: 0; }
@media (min-width: 56rem) {
  /* heading left, intro right: the heading and the first line of the intro share a baseline */
  .section-head--split {
    max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem); align-items: baseline;
  }
  .section-head--split > * + * { margin-top: 0; }
}
.section-foot { margin-top: clamp(2rem, 4vw, 3rem); }

/* 8. Service grid --------------------------------------------------------- */
/* one ruled sheet with eight cells, not eight floating cards */
.service-grid {
  display: grid; gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 38rem) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  padding-bottom: clamp(3.5rem, 5vw, 4.25rem);
  background: var(--white);
  transition: background-color .25s ease;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--apricot); transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; left: clamp(1.5rem, 2.4vw, 2rem); bottom: clamp(1.375rem, 2.2vw, 1.75rem);
  width: 1.125rem; height: 1.125rem;
  background: var(--cyan);
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  opacity: .55; transition: transform .3s var(--ease), opacity .2s ease;
}
.service-card:hover, .service-card:focus-within { background: #FBFAF7; }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-card:hover::after, .service-card:focus-within::after { transform: translateX(.375rem); opacity: 1; }
.service-card__icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1.5rem; color: var(--navy); }
.service-card__title { font-size: 1.1875rem; line-height: 1.22; letter-spacing: -.015em; }
.service-card__title a { text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__title a:focus-visible { outline: none; }
.service-card:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
.service-card__text { margin-top: .75rem; font-size: var(--fs-sm); line-height: 1.6; color: var(--fg-soft); }
@media (max-width: 37.99rem) {
  .service-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: center;
    padding: 1.375rem 1.25rem 1.5rem;
  }
  .service-card__icon { width: 2.25rem; height: 2.25rem; margin-bottom: 0; }
  .service-card__title { padding-right: 1.75rem; }
  .service-card__text { grid-column: 1 / -1; margin-top: .875rem; }
  .service-card::after { left: auto; right: 1.25rem; bottom: auto; top: 2rem; }
}

/* line icons: 32px grid, 1.5px stroke, one cyan accent stroke per icon */
.icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon .a { stroke: var(--accent); }

/* 9. Process steps -------------------------------------------------------- */
.steps { counter-reset: step; display: grid; }
.step { counter-increment: step; position: relative; padding: 0 0 2.25rem 3.25rem; }
.step:last-child { padding-bottom: 0; }
/* the traverse line and its stations */
.step::before {
  content: ""; position: absolute; left: .5rem; top: .625rem; bottom: -.625rem; width: 1px; background: var(--rule-strong);
}
.step:last-child::before { display: none; }
.step::after {
  content: ""; position: absolute; left: 0; top: .375rem; width: 1.0625rem; height: 1.0625rem;
  border: 1.5px solid var(--fg); border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 9px var(--apricot);
}
.step__num {
  display: block; margin-bottom: .375rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .15em; color: var(--accent-text);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__title { font-size: clamp(1.3125rem, 1.2rem + .5vw, 1.5rem); letter-spacing: -.02em; }
.step__text { margin-top: .625rem; color: var(--fg-soft); max-width: 34rem; }
.section--white .step::after { background: var(--white); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 9px var(--apricot); }

@media (min-width: 60rem) {
  .steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--row .step { padding: 2.75rem clamp(1.25rem, 2.4vw, 2.25rem) 0 0; }
  .steps--row .step::before { left: 0; right: 0; top: .5rem; bottom: auto; width: auto; height: 1px; display: block; }
  .steps--row .step::after { top: 0; }
  .steps--row .step:last-child::before { background: linear-gradient(90deg, var(--rule-strong) 55%, transparent); }
  .steps--row .step__num { margin-bottom: .75rem; }
  .steps--row .step__text { font-size: var(--fs-sm); line-height: 1.62; }
}

/* 10. Feature list -------------------------------------------------------- */
/* ruled ledger rows: index, statement, explanation */
.feature-list { counter-reset: feature; border-bottom: 1px solid var(--rule); }
.feature {
  counter-increment: feature;
  display: grid; gap: .625rem;
  padding-block: clamp(1.625rem, 3vw, 2.375rem);
  border-top: 1px solid var(--rule);
}
.feature::before {
  content: counter(feature, decimal-leading-zero);
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .15em; color: var(--accent-text);
}
.on-dark .feature::before { color: var(--apricot); }
.feature__title { font-size: clamp(1.25rem, 1.12rem + .6vw, 1.5625rem); letter-spacing: -.02em; line-height: 1.2; }
.feature__text { color: var(--fg-soft); max-width: 36rem; }
@media (min-width: 56rem) {
  /* same 5/7 columns as .split--wide-aside, so the text column lines up across sections */
  .feature { position: relative; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: baseline; }
  .feature::before { position: absolute; left: 0; top: calc(clamp(1.625rem, 3vw, 2.375rem) + .5rem); }
  .feature__title { padding-left: 4.5rem; }
}

/* 11. Tiles and panels ---------------------------------------------------- */
.tile-grid { display: grid; gap: clamp(1rem, 1.6vw, 1.25rem); }
@media (min-width: 40rem) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.125rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
/* survey corner mark */
.tile::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 1.125rem; height: 1.125rem;
  border-left: 2px solid var(--accent); border-top: 2px solid var(--accent);
  border-top-left-radius: var(--radius-sm);
}
.tile__title { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); letter-spacing: -.018em; }
.tile__text { margin-top: .75rem; font-size: var(--fs-sm); line-height: 1.62; color: var(--fg-soft); }

/* quiet side panel with label/value pairs */
.panel {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--mist);
  border-radius: var(--radius-sm);
  border-top: 2px solid var(--navy);
}
.section--mist .panel { background: var(--white); }
.kv > div + div { margin-top: 1.125rem; padding-top: 1.125rem; border-top: 1px solid var(--rule); }
.kv dt {
  font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
}
.kv dd { margin-top: .25rem; font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }

/* 12. Inner-page blocks --------------------------------------------------- */
/* long numbered entry: services page, stages on How we work */
.entry {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.entry:first-of-type { border-top: 0; padding-top: 0; }
.entry:last-of-type { padding-bottom: 0; }
.entry__num {
  display: block; margin-bottom: .875rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .15em; color: var(--accent-text);
}
.entry__icon { width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; color: var(--navy); }
.entry__title { font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem); letter-spacing: -.024em; line-height: 1.12; }
.entry__body > * + * { margin-top: 1.25rem; }
@media (min-width: 56rem) {
  .entry { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .entry__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.subhead {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg); line-height: 1.4;
}

/* "What it covers" */
.check-list { display: grid; gap: .625rem; margin-top: .875rem; }
.check-list li { position: relative; padding-left: 1.875rem; color: var(--fg-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.0625rem; height: 1.0625rem;
  background: var(--accent);
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
}

/* "What you get" */
.callout {
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-left: 2px solid var(--apricot);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--fg-soft);
}
.section:not(.section--white):not(.section--mist) .callout { background: var(--white); }
.callout strong:first-child { font-family: var(--font-head); letter-spacing: -.005em; }

/* three labelled columns under a stage: what we do / what you get / what we need */
.trio { display: grid; gap: 1.5rem; }
.trio > div { padding-top: 1.125rem; border-top: 1px solid var(--rule-strong); }
.trio > div > * + * { margin-top: .625rem; }
.trio p { font-size: var(--fs-sm); line-height: 1.65; }
@media (min-width: 48rem) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); } }

/* mission / vision style statement */
.statement { padding-top: 1.5rem; border-top: 2px solid var(--fg); }
.statement__label { margin-bottom: 1rem; }
.statement__text {
  font-family: var(--font-head); font-size: clamp(1.3125rem, 1.15rem + .8vw, 1.75rem); font-weight: 500;
  line-height: 1.3; letter-spacing: -.018em; color: var(--fg);
}

/* contact details */
.contact-list { display: grid; gap: 1.5rem; }
.contact-list dt { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.contact-list dd { margin-top: .3rem; font-family: var(--font-head); font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); font-weight: 500; line-height: 1.35; color: var(--fg); letter-spacing: -.01em; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; }
.contact-list a:hover { color: var(--accent-text); }

/* 13. Owner note, facts strip --------------------------------------------- */
.owner-note { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.owner-note__body { max-width: 43rem; }
.owner-note__body > p + p { margin-top: 1.25em; }
.owner-note__opening {
  font-family: var(--font-head); font-size: clamp(1.3125rem, 1.12rem + 1vw, 1.875rem); font-weight: 500;
  line-height: 1.3; letter-spacing: -.02em; color: var(--fg);
  margin-bottom: 1.5rem;
}
.owner-note__sign { display: flex; align-items: center; gap: 1.125rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.owner-note__name { font-family: var(--font-head); font-size: 1.1875rem; font-weight: 600; color: var(--fg); letter-spacing: -.012em; line-height: 1.3; }
.owner-note__role { font-size: var(--fs-sm); color: var(--fg-muted); line-height: 1.4; }
.owner-note .link-arrow { margin-top: 2rem; }
@media (min-width: 56rem) {
  .owner-note { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
}

/* initials inside an eternity ring; stands in for a portrait */
.monogram { position: relative; flex: none; width: 4.5rem; height: 4.5rem; display: grid; place-items: center; color: var(--fg); }
.monogram svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: .9; }
.monogram svg .ring { stroke: var(--apricot); stroke-width: 1.4; }
.monogram__initials { position: relative; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.monogram--lg { width: 7.5rem; height: 7.5rem; }
.monogram--lg .monogram__initials { font-size: 2.125rem; }

.facts { border-top: 2px solid var(--fg); }
.facts__title {
  padding-block: 1rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--fg);
  border-bottom: 1px solid var(--rule);
}
.facts__list { display: grid; }
.facts__list > div { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.facts__list dt { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); line-height: 1.4; }
.facts__list dd { margin-top: .5rem; font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--fg); }
.facts__note { margin-top: 1.125rem; font-size: var(--fs-sm); color: var(--fg-muted); }
@media (min-width: 36rem) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .facts__list > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .facts__list { grid-template-columns: 1.55fr .8fr 1.25fr .9fr 1.1fr; column-gap: 0; }
  .facts__list > div { padding: 1.5rem 1.5rem 1.625rem; border-left: 1px solid var(--rule); }
  .facts__list > div:first-child { grid-column: auto; padding-left: 0; border-left: 0; }
  .facts__list > div:last-child { padding-right: 0; }
}

/* 14. Definition table, FAQ ----------------------------------------------- */
/* legal data: <dl class="deftable"><div><dt>…</dt><dd>…</dd></div>…</dl> */
.deftable { width: 100%; border-top: 2px solid var(--fg); text-align: left; }
.deftable > div { display: grid; gap: .25rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.deftable dt { font-size: var(--fs-sm); font-weight: 500; color: var(--fg-muted); }
.deftable dd { font-weight: 500; color: var(--fg); }
@media (min-width: 44rem) {
  .deftable > div { grid-template-columns: minmax(12rem, 4fr) minmax(0, 8fr); gap: 2rem; padding-block: 1.125rem; }
}

.faq { border-top: 2px solid var(--fg); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item > summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 1.375rem 3.25rem 1.375rem 0;
  font-family: var(--font-head); font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem); font-weight: 600; line-height: 1.3; letter-spacing: -.015em;
  color: var(--fg);
  transition: color .2s ease;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: ""; position: absolute; right: .25rem; top: 1.5rem; width: 1.25rem; height: 1.25rem;
  background: var(--accent);
  -webkit-mask: var(--icon-chevron) center / contain no-repeat;
  mask: var(--icon-chevron) center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(180deg); }
.faq__item > summary:hover { color: var(--accent-text); }
.faq__item > summary:focus-visible { outline-offset: -2px; }
.faq__answer { padding: 0 3.25rem 1.75rem 0; max-width: 46rem; color: var(--fg-soft); }
.faq__answer > * + * { margin-top: 1em; }

/* 15. Forms --------------------------------------------------------------- */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .4375rem; align-content: start; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--fg); }
.field__input {
  width: 100%; min-height: 3.125rem;
  padding: .8125rem 1rem;
  background: var(--white); color: var(--ink);
  border: 1px solid #8490A3; border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: #6B7789; opacity: 1; }
.field__input:hover { border-color: var(--navy); }
/* a real outline, so the focus ring survives the invalid state and forced colours */
.field__input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-color: var(--navy); border-radius: var(--radius); }
textarea.field__input { min-height: 10rem; resize: vertical; }
select.field__input {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B1F3A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem;
}
.field__help { font-size: var(--fs-xs); line-height: 1.5; color: var(--fg-muted); }
.field__error { display: none; font-size: var(--fs-xs); line-height: 1.5; font-weight: 500; color: #B4000F; }
.field.is-invalid .field__input { border-color: var(--red); box-shadow: inset 3px 0 0 var(--red); }
.field.is-invalid .field__error { display: block; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
/* says before the click that the button hands over to the visitor's own email app */
.form__hint { flex: 1 1 16rem; max-width: 26rem; font-size: var(--fs-xs); line-height: 1.5; color: var(--fg-muted); }
/* inline note shown after the mail client has been asked to open */
.form-note {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule); border-left: 3px solid var(--apricot);
  border-radius: var(--radius-sm);
  color: var(--fg-soft);
}
.form-note[hidden] { display: none; }
.form-note > * + * { margin-top: .5rem; }
.form-note__title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--fg); }
.form-note__title + p { margin-top: .5rem; }
.form-note a { color: var(--accent-text); font-weight: 500; }
.form-note [hidden] { display: none; }
.form-note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; }
.form-note__status { font-size: var(--fs-sm); font-weight: 500; color: var(--fg); }
.form-note__text { margin-top: 1rem; min-height: 9rem; font-size: var(--fs-sm); }

/* 16. CTA band and footer ------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(4.5rem, 3rem + 7vw, 8rem);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: max(-14rem, calc(50% - 53rem)); top: 50%;
  width: 45rem; aspect-ratio: 1; transform: translateY(-50%);
  background: url("../img/motif-eternity.svg") center / contain no-repeat;
  opacity: .8;
}
.cta-band__inner { max-width: 40rem; }
.cta-band__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: #F5F8FC; }
.cta-band__text { margin-top: 1.25rem; font-size: var(--fs-lead); line-height: 1.58; max-width: 34rem; }
.cta-band .btn-row { margin-top: 2.25rem; }
/* nothing shows through a secondary button that sits near the linework */
.cta-band .btn--ghost, .notfound .btn--ghost { --btn-bg: var(--navy-deep); }
.cta-band .btn--ghost:hover, .notfound .btn--ghost:hover { --btn-bg: var(--navy-700); }
@media (min-width: 56rem) and (max-width: 79.99rem) {
  /* narrower rooms: a smaller sign that bleeds off the right edge and starts beyond the 40rem copy column */
  .cta-band::before {
    right: -11vw; width: 40vw;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  }
}
@media (max-width: 55.99rem) {
  /* small screens: the sign rises over the bottom edge like the sun, clear of the copy and the buttons */
  .cta-band { padding-bottom: calc(clamp(4.5rem, 3rem + 7vw, 8rem) + 5.5rem); }
  .cta-band::before {
    left: 50%; right: auto; top: auto; bottom: -26rem; transform: translateX(-50%);
    width: 32rem; opacity: .7;
  }
}

.site-footer { background: var(--navy-deep); font-size: var(--fs-sm); line-height: 1.6; }
.site-footer__top { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.site-footer__brand svg { height: 1.875rem; width: auto; }
.site-footer__tagline { margin-top: 1.25rem; max-width: 20rem; color: var(--fg-soft); }
.site-footer__heading {
  margin-bottom: 1.125rem;
  font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted);
}
.site-footer__list { display: grid; gap: .5625rem; }
.site-footer a { color: var(--fg-soft); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan-bright); }
.site-footer__contact > * + * { margin-top: .5625rem; }
.site-footer__contact .site-footer__person { color: var(--fg); font-weight: 500; }
.site-footer__bottom {
  display: grid; gap: 1.25rem;
  padding-block: 1.75rem 2.25rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs); line-height: 1.7; color: var(--fg-muted);
}
.site-footer__legal { max-width: 52rem; }
@media (max-width: 39.99rem) {
  /* thumb-sized link rows: about 40px pitch */
  .site-footer__list { gap: .125rem; }
  .site-footer__list a, .site-footer__contact a { display: inline-block; padding-block: .5rem; }
  .site-footer__contact > * + * { margin-top: .125rem; }
  .site-footer__contact > p:last-child { margin-top: .5rem; }
  .site-footer__heading { margin-bottom: .625rem; }
}
.site-footer__bottom .link-arrow { font-size: var(--fs-xs); color: var(--fg-soft); justify-self: start; }
@media (min-width: 40rem) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .site-footer__top { grid-template-columns: 1.35fr 1.15fr .75fr 1.5fr; gap: clamp(2rem, 3.5vw, 3.5rem); }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
}

/* 17. Page hero (inner pages) and 404 ------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3.25rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
/* static survey linework: the same Ararat as the home hero, one frame generated from
   the same profiles. The file fades out toward its left edge, where the copy column is. */
.page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: max(-4rem, calc(50% - 50rem)); bottom: -1px;
  width: min(56rem, 70%); aspect-ratio: 1200 / 480;
  background: url("../img/motif-ararat.svg") right bottom / 100% auto no-repeat;
}
.page-hero__inner { max-width: 44rem; }
.page-hero__title { margin-top: 1.375rem; color: #F5F8FC; }
.page-hero__intro { margin-top: 1.375rem; max-width: 38rem; font-size: var(--fs-lead); line-height: 1.58; color: #C4D0DF; }
@media (min-width: 56rem) {
  .page-hero__inner { max-width: min(42rem, 54%); }
}
@media (min-width: 56rem) and (max-width: 71.99rem) {
  /* a narrower room: a smaller motif, so its faded tail starts beyond the end of the intro lines */
  .page-hero::before { width: 64%; }
}
@media (max-width: 55.99rem) {
  /* stacked: the whole height of the motif (width x 0.4) is reserved under the copy, on every inner page */
  .page-hero { padding-bottom: calc(46vw + .75rem); }
  .page-hero::before { right: -7%; width: 114%; }
}

.notfound {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: max(100svh, 38rem);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
/* the sign bleeds off the right edge by about a quarter at every width and starts beyond the copy column */
.notfound::before {
  --nf: 44vw; --nf-bleed: .3;
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: calc(var(--nf) * -1 * var(--nf-bleed)); top: 50%; width: var(--nf); aspect-ratio: 1; transform: translateY(-50%);
  background: url("../img/motif-eternity.svg") center / contain no-repeat; opacity: .75;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}
.notfound__inner { max-width: 36rem; }
.notfound__title { margin-top: 1.375rem; font-size: var(--fs-display); color: #F5F8FC; }
.notfound__text { margin-top: 1.375rem; font-size: var(--fs-lead); line-height: 1.58; }
.notfound .btn-row { margin-top: 2.25rem; }
.notfound__note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--fg-muted); }
.notfound__note a { color: var(--fg-soft); }
@media (min-width: 80rem) { .notfound::before { --nf: min(46rem, 48vw); --nf-bleed: .27; } }
@media (max-width: 55.99rem) {
  /* small screens: the same rising sign as the CTA band, under the note */
  .notfound { padding-bottom: 10rem; }
  .notfound::before {
    left: 50%; right: auto; top: auto; bottom: -26rem; transform: translateX(-50%);
    width: 32rem; opacity: .7;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* 18. Motion and print ---------------------------------------------------- */
/* Scroll reveal is opt-in from site.js: nothing is hidden until the visitor
   has scrolled, and then only elements still below the fold. */
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-pending { opacity: 0; transform: translateY(1rem); }
/* a block that receives keyboard focus appears at once */
[data-reveal].is-focus { transition-duration: .15s; transition-delay: 0s; }
/* the hero canvas fades in once it has been drawn (site.js) */
.hero__bg.is-fading { transition: opacity .9s ease; }

@keyframes rise { from { opacity: 0; transform: translateY(.875rem); } to { opacity: 1; transform: none; } }
.js .hero__content > *, .js .page-hero__inner > * { animation: rise .8s var(--ease) both; }
.js .hero__content > :nth-child(2), .js .page-hero__inner > :nth-child(2) { animation-delay: .08s; }
.js .hero__content > :nth-child(3), .js .page-hero__inner > :nth-child(3) { animation-delay: .16s; }
.js .hero__content > :nth-child(4) { animation-delay: .24s; }
.js .hero__content > :nth-child(5) { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}

@media print {
  :root { --section-y: 2rem; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .skip-link, .hero__bg, .hero__pause, .nav-toggle, .cta-band .btn-row, .site-footer .link-arrow, .site-footer__logo { display: none !important; }
  .hero, .page-hero, .notfound, .cta-band, .site-footer, .section--navy { background: #fff !important; color: #000; min-height: 0; padding-block: 1.5rem; }
  .hero::before, .page-hero::before, .cta-band::before, .notfound::before, .section--navy::before { display: none; }
  .hero__legal { position: static; padding: 1rem 0 0; background: none; }
  .on-dark { --fg: #000; --fg-soft: #222; --fg-muted: #444; --rule: #bbb; --rule-strong: #888; --accent-text: #000; }
  .hero__title, .hero__title em, .hero__lead, .hero__legal, .page-hero__title, .page-hero__intro, .cta-band__title { color: #000; }
  [data-reveal].is-pending { opacity: 1 !important; transform: none !important; }
  .section, .service-card, .tile, .step, .feature, .faq__item, .entry { break-inside: avoid; }
  .faq__item > summary::after { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-weight: 400; }
}

/* 19. About and contact ----------------------------------------------------- */

/* Second-level title for a block that shares a section with another block
   (contact details beside the enquiry form). Same scale as .entry__title. */
.block-title {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem); letter-spacing: -.024em; line-height: 1.12;
}

/* About, mission and vision: a little more air between the two statements when they stack */
.purpose { --gap: clamp(2.25rem, 5vw, 4rem); }

/* About, leadership: identity column (monogram, name, facts panel) beside the biography.
   Source order is profile, biography, facts, which is also the order on small screens. */
.leader { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); }
.leader__profile { display: flex; align-items: center; gap: clamp(1.125rem, 3vw, 1.75rem); }
.leader__name { font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem); letter-spacing: -.024em; line-height: 1.1; }
.leader__role {
  margin-top: .625rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent-text);
}
@media (max-width: 30rem) {
  .leader__profile .monogram--lg { width: 5.5rem; height: 5.5rem; }
  .leader__profile .monogram--lg .monogram__initials { font-size: 1.5625rem; }
}
@media (min-width: 56rem) {
  .leader {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
    column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 2.5rem; align-items: start;
  }
  .leader__profile { grid-column: 1; grid-row: 1; }
  .leader__bio { grid-column: 2; grid-row: 1 / span 2; }
  .leader__facts { grid-column: 1; grid-row: 2; }
}

/* About, Why Yerevan: decorative hour scale. 24 hourly ticks with UTC in the middle
   and a station mark four ticks east of it. aria-hidden in the markup. */
.tz { position: relative; margin-top: clamp(3rem, 7vw, 5.5rem); padding-top: 1.75rem; }
.tz::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule-strong); }
.tz__scale { display: block; width: 100%; height: .875rem; overflow: visible; fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.tz__scale path { vector-effect: non-scaling-stroke; }
.tz__span { position: absolute; z-index: 1; left: 50%; bottom: -.5px; width: calc(100% / 6); height: 2px; background: var(--cyan); }
.tz__dot {
  position: absolute; z-index: 2; left: calc(100% * 2 / 3); bottom: 0;
  width: 1.0625rem; height: 1.0625rem; transform: translate(-50%, 50%);
  border: 1.5px solid var(--fg); border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 9px var(--apricot);
}
.tz__label {
  position: absolute; top: 0;
  font-family: var(--font-head); font-size: .75rem; font-weight: 600; line-height: 1;
  letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; color: var(--fg-muted);
}
.tz__label--utc { left: 50%; transform: translateX(-50%); }
.tz__label--yvn { left: calc(100% * 2 / 3 - .5rem); color: var(--fg); }

/* About, legal table: the heading column is narrow, keep the long heading from crowding it */
#legal .section-head h2 { font-size: clamp(1.8125rem, 1.4rem + 1.4vw, 2.5rem); }
#legal .deftable { align-self: start; }
@media (min-width: 44rem) { #legal .deftable > div { align-items: baseline; } }

/* Contact: details column */
.contact-aside .contact-list dd { text-wrap: balance; }
@media (min-width: 40rem) and (max-width: 55.99rem) {
  /* stacked layout on tablets: use the width, two details per row */
  .contact-aside .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
.contact-note {
  margin-top: clamp(1.75rem, 3vw, 2.25rem); padding-top: 1.25rem; max-width: 26rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-sm); line-height: 1.6; color: var(--fg-soft);
}

/* Contact: the enquiry form sits on a white sheet with the navy top rule used by .panel and .facts */
.sheet {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--rule); border-top: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 30rem) {
  .sheet { padding: 1.5rem 1.25rem 1.75rem; }
  .sheet .form__actions .btn { flex: 1 1 auto; }
}

@media print {
  .tz { display: none; }
  .sheet { border: 0; box-shadow: none; padding: 0; }
}

/* 20. Services and process ------------------------------------------------- */

/* Services: the eight entries sit beside an in-page index.
   Small screens: the index is a sticky strip under the header that scrolls sideways.
   From 70rem: a sticky column on the left, and each entry becomes a single column
   with the icon hanging in a gutter. */
.svc { --svc-strip: 3.125rem; --svc-gutter: 4.75rem; position: relative; background: var(--white); }
.svc__main { padding-block: clamp(2.75rem, 7vw, 4.5rem) var(--section-y); }

.svc-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 8px 20px -18px rgba(11, 31, 58, .4);
}
/* fades the strip out at the right edge: there is more to scroll to */
.svc-nav::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 2.75rem; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 85%);
}
.svc-nav__label { display: none; }
.svc-nav .svc-nav__list {
  position: relative; display: flex; margin: 0;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.svc-nav__list::-webkit-scrollbar { display: none; }
.svc-nav__list li { flex: none; }
.svc-nav__list li:last-child { padding-right: 1.5rem; }
.svc-nav a {
  position: relative; display: flex; align-items: baseline; gap: .5rem;
  min-height: var(--svc-strip); padding: .875rem .8125rem;
  font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; color: var(--ink-3);
  text-decoration: none; white-space: nowrap;
  transition: color .2s ease;
}
.svc-nav__list li:first-child a { padding-left: 0; }
.svc-nav__num { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--cyan-ink); }
.svc-nav a::after {
  content: ""; position: absolute; left: .8125rem; right: .8125rem; bottom: 0; height: 2px;
  background: var(--apricot); transform: scaleX(0); transform-origin: left center;
  transition: transform .3s var(--ease);
}
.svc-nav__list li:first-child a::after { left: 0; }
.svc-nav a:hover, .svc-nav a[aria-current] { color: var(--navy); }
.svc-nav a[aria-current]::after { transform: scaleX(1); }
.svc-nav a:focus-visible { outline-offset: -3px; }
@media (max-width: 55.99rem) {
  .no-js .svc-nav { top: 0; }
}

/* html already reserves the header (scroll-padding-top); this adds the strip */
.svc-entry { scroll-margin-top: calc(var(--svc-strip) - 1.5rem); }
.svc-entry:first-of-type { scroll-margin-top: calc(var(--svc-strip) + 1.25rem); }
.svc-entry .entry__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: center; }
.svc-entry .entry__icon { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.svc-entry .entry__num { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.svc-entry .entry__title { grid-column: 1 / -1; margin-top: 1.125rem; }
.svc-entry .lead { max-width: 41rem; }
.svc-entry__detail { display: grid; gap: 1.75rem; margin-top: 2rem; }
.svc-entry__detail .callout { align-self: start; }
@media (min-width: 56rem) {
  .svc-entry .entry__head { top: calc(var(--header-h) + var(--svc-strip) + 1.75rem); }
}
@media (min-width: 70rem) {
  .svc__layout {
    display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: clamp(2.75rem, 5vw, 4.5rem); align-items: start;
    width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
    padding-block: var(--section-y);
  }
  .svc__layout > .svc__main { width: auto; margin: 0; padding-block: 0; }

  .svc-nav {
    top: calc(var(--header-h) + 2rem); z-index: auto;
    max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto;
    background: none; border: 0; box-shadow: none;
  }
  .svc-nav::after { display: none; }
  .svc-nav__label {
    display: block; padding-bottom: .875rem;
    font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
    color: var(--fg); border-bottom: 2px solid var(--fg);
  }
  .svc-nav .svc-nav__list { display: block; padding: 0; overflow: visible; }
  .svc-nav__list li { border-bottom: 1px solid var(--rule); }
  .svc-nav__list li:last-child { padding-right: 0; }
  .svc-nav a {
    display: grid; grid-template-columns: 2.125rem minmax(0, 1fr); gap: 0;
    min-height: 0; padding: .6875rem 0 .6875rem .75rem;
    line-height: 1.35; white-space: normal;
  }
  .svc-nav__list li:first-child a { padding-left: .75rem; }
  .svc-nav a::after, .svc-nav__list li:first-child a::after {
    left: 0; right: auto; top: .5625rem; bottom: .5625rem; width: 2px; height: auto;
    transform: scaleY(0); transform-origin: center top;
  }
  .svc-nav a[aria-current]::after, .svc-nav__list li:first-child a[aria-current]::after { transform: scaleY(1); }
  .svc-nav__more a { color: var(--fg); }
  .svc-nav__more a::before {
    content: ""; align-self: center; width: .875rem; height: .875rem;
    background: var(--cyan-ink); transform: rotate(90deg);
    -webkit-mask: var(--icon-arrow) center / contain no-repeat;
    mask: var(--icon-arrow) center / contain no-repeat;
  }

  .svc-entry { scroll-margin-top: -1.5rem; }
  .svc-entry:first-of-type { scroll-margin-top: 2rem; }
  .svc-entry { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .svc-entry .entry__head { position: static; grid-template-columns: var(--svc-gutter) minmax(0, 1fr); column-gap: 0; align-items: start; }
  .svc-entry .entry__icon { grid-row: 1 / span 2; margin-top: .125rem; }
  .svc-entry .entry__num { align-self: start; }
  .svc-entry .entry__title { grid-column: 2; margin-top: .625rem; }
  .svc-entry .entry__body { padding-left: var(--svc-gutter); }
}
@media (min-width: 80rem) {
  .svc-entry__detail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 3vw, 2.75rem); }
  .svc-entry__detail .callout { padding: 1.375rem 1.5rem 1.5rem; }
}

#ways { scroll-margin-top: 1rem; }

/* How we work: jump row beside the "four stages" heading */
.stage-nav__list { counter-reset: stage-nav; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.stage-nav__list li { counter-increment: stage-nav; border-bottom: 1px solid var(--rule); }
.stage-nav a {
  display: flex; align-items: baseline; gap: .625rem; padding: .75rem 0;
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--fg);
  text-decoration: none; transition: color .2s ease;
}
.stage-nav a::before {
  content: counter(stage-nav, decimal-leading-zero);
  font-size: .75rem; letter-spacing: .12em; color: var(--accent-text);
}
.stage-nav a:hover { color: var(--accent-text); }
/* a single row wherever it fits: full-width between 40 and 56rem, and beside the heading from 64rem */
@media (min-width: 40rem) and (max-width: 55.99rem), (min-width: 64rem) {
  .stage-nav__list { display: flex; flex-wrap: wrap; gap: 0 1.75rem; border-top: 0; }
  .stage-nav__list li { display: flex; align-items: center; border-bottom: 0; }
  .stage-nav a { padding: .375rem 0; }
}
@media (min-width: 72rem) {
  .stage-nav__list { flex-wrap: nowrap; gap: 0; }
  .stage-nav__list li + li::before { content: ""; width: clamp(1rem, 2.4vw, 2rem); height: 1px; margin-inline: .75rem; background: var(--rule-strong); }
}

/* How we work: the four stages. Each rule is a leg of the traverse, with a station at its start. */
.stages { margin: 0; }
.stage {
  position: relative; display: grid; gap: 1.75rem;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule-strong);
  scroll-margin-top: .5rem;
}
.stage:last-child { padding-bottom: 0; }
.stage::before {
  content: ""; position: absolute; left: 0; top: -.5625rem; width: 1.0625rem; height: 1.0625rem;
  border: 1.5px solid var(--fg); border-radius: 50%;
  background: var(--white); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 9px var(--apricot);
}
.stage__head { display: flex; align-items: baseline; gap: 1.125rem; }
.stage__num {
  flex: none;
  font-family: var(--font-head); font-size: clamp(3rem, 2.3rem + 3.4vw, 4.75rem); font-weight: 500; line-height: .86; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--cyan);
}
/* outlined numeral: the fill is painted over the inner half of the stroke, which also hides glyph overlaps */
@supports (-webkit-text-stroke: 1px #000) and (paint-order: stroke fill) {
  .stage__num { color: var(--white); -webkit-text-stroke: 2.5px var(--cyan); paint-order: stroke fill; }
}
.stage__title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); letter-spacing: -.026em; line-height: 1.08; }
.stage__do > * + * { margin-top: .75rem; }
.stage__do .lead { max-width: 41rem; }
.stage__body > * + * { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.trio--pair p { font-size: var(--fs-body); }
.trio > .trio__get { border-top-color: var(--apricot); box-shadow: inset 0 1px 0 var(--apricot); }
@media (min-width: 48rem) {
  .trio--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56rem) {
  .stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .stage__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; display: block; }
  .stage__title { margin-top: 1.125rem; }
}

/* How we work: pricing column */
.pricing > * + * { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.pricing .lead, .pricing__terms { max-width: 42rem; }
.pricing .tile__text { font-size: var(--fs-body); line-height: 1.65; }
.pricing .statement { max-width: 44rem; }

/* How we work: the single contact, then ruled paragraphs */
.comms { max-width: 44rem; }
.comms__contact { display: grid; gap: 1.5rem; }
.comms__contact .lead { font-family: var(--font-head); font-size: clamp(1.3125rem, 1.15rem + .8vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.018em; }
.ruled-prose { margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.ruled-prose > p { padding-block: 1.375rem; border-top: 1px solid var(--rule); }
@media (min-width: 40rem) {
  .comms__contact { grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem; align-items: start; }
}

@media print {
  .svc-nav, .stage-nav { display: none; }
  .svc__main { padding-block: 1rem; }
  .stage { break-inside: avoid; }
}

/* 21. Forced colours (Windows High Contrast) --------------------------------- */
/* Icons drawn as a background behind a mask vanish when backgrounds are forced:
   give them a system colour and keep the mask. */
@media (forced-colors: active) {
  .nav-toggle { border: 1px solid ButtonText; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { background: ButtonText; forced-color-adjust: none; }
  .btn--arrow::after, .site-nav__cta::after { background: ButtonText; forced-color-adjust: none; }
  .link-arrow::after, .faq__item > summary::after, .check-list li::before, .service-card::after,
  .svc-nav__more a::before, .ornament, .braid { background: CanvasText; forced-color-adjust: none; }
  .hero__pause { color: ButtonText; }
  .hero__pause::before { border-color: ButtonText; }
  .field.is-invalid .field__input { border-width: 2px; }
}
