/* ============ DESIGN TOKENS ============ */
  :root{
    --off-white: #F5F1E8;
    --paper: #FBF9F4;
    --navy: #1C2B3A;
    --navy-deep: #12202D;
    --pine: #2C4235;
    --sand: #C9B48A;
    --sand-light: #E4D8BE;
    --ink: #23281f;
    --line: rgba(28,43,58,0.14);

    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

    --max-w: 1160px;
    --gutter: clamp(24px, 6vw, 96px);
  }

  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; }

  body{
    background: var(--off-white);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  img{ max-width:100%; display:block; }

  a{ color:inherit; }

  ::selection{ background: var(--sand); color: var(--navy-deep); }

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

  h1,h2,h3{
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--navy-deep);
  }

  .eyebrow{
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pine);
    font-weight: 500;
  }

  .wrap{
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .section{
    padding: clamp(72px, 10vw, 128px) 0;
  }

  .divider{
    width: 56px;
    height: 1px;
    background: var(--sand);
    margin: 22px 0 30px;
  }
  .divider.center{ margin-left:auto; margin-right:auto; }

  .btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 34px;
    border: 1px solid var(--navy-deep);
    color: var(--navy-deep);
    background: transparent;
    transition: background 0.35s ease, color 0.35s ease, border-color .35s ease;
    cursor: pointer;
  }
  .btn:hover{ background: var(--navy-deep); color: var(--off-white); }

  .btn.solid{
    background: var(--navy-deep);
    color: var(--paper);
  }
  .btn.solid:hover{ background: var(--pine); border-color: var(--pine); }

  .btn.ghost-light{
    border-color: rgba(245,241,232,0.55);
    color: var(--paper);
  }
  .btn.ghost-light:hover{ background: var(--paper); color: var(--navy-deep); }

  /* ============ NAV ============ */
  header.site-nav{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding: 12px 48px;
    font-family: var(--sans);
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    text-transform: uppercase;
    color: var(--navy-deep);
    background: linear-gradient(180deg, rgba(251, 249, 244, 0.97), rgba(245, 241, 232, 0.94));
    backdrop-filter: blur(16px) saturate(150%);
    border-radius: 0;
    border-bottom: 1px solid rgba(201, 180, 138, 0.55);
    box-shadow: 0 12px 34px -14px rgba(18, 32, 45, 0.38), 0 1px 3px rgba(18, 32, 45, 0.12);
  }
  header.site-nav .brand{ font-family: var(--serif); font-size:1rem; letter-spacing:0.04em; text-transform: none; }
  header.site-nav nav{ display:flex; gap: 28px; align-items: center; }
  header.site-nav nav a{ text-decoration:none; position:relative; color: var(--navy-deep); opacity: 0.85; transition: opacity .3s ease; }
  header.site-nav nav a:hover{ opacity: 1; }
  header.site-nav nav a::after{
    content:'';
    position:absolute; left:0; right:0; bottom:-6px;
    height:1px; background: currentColor;
    transform: scaleX(0); transform-origin:left;
    transition: transform .4s ease;
  }
  header.site-nav nav a:hover::after{ transform: scaleX(1); }

  /* Management dropdown */
  header.site-nav .has-dropdown{ position: relative; }
  header.site-nav .has-dropdown > a{ cursor: pointer; }
  header.site-nav .has-dropdown > a .caret{ display:inline-block; margin-left:6px; font-size:0.7em; transition: transform .3s ease; }
  header.site-nav .has-dropdown:hover > a .caret,
  header.site-nav .has-dropdown:focus-within > a .caret{ transform: rotate(180deg); }
  header.site-nav .dropdown{
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 240px;
    background: rgba(251, 249, 244, 0.98);
    backdrop-filter: blur(14px) saturate(140%);
    border-radius: 18px;
    box-shadow: 0 20px 40px -18px rgba(18, 32, 45, 0.35);
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 60;
  }
  header.site-nav .has-dropdown:hover .dropdown,
  header.site-nav .has-dropdown:focus-within .dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  header.site-nav .dropdown a{
    display:block;
    padding: 10px 26px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy-deep);
    opacity: 0.85;
    text-decoration: none;
    transition: background .2s ease, opacity .2s ease;
  }
  header.site-nav .dropdown a:hover{ background: rgba(201,180,138,0.18); opacity: 1; }
  header.site-nav .dropdown a::after{ display:none; }
  header.site-nav .dropdown .sep{
    height:1px;
    background: var(--line);
    margin: 8px 22px;
  }

  /* Kapcsolat pill CTA in the header */
  header.site-nav a.nav-cta{
    padding: 8px 18px;
    border: 1px solid #1e5fbf;
    border-radius: 999px;
    color: #1e5fbf;
    opacity: 1;
    letter-spacing: 0.04em;
    transition: background .3s ease, color .3s ease;
    text-decoration: none;
  }
  header.site-nav a.nav-cta:hover{
    background: #1e5fbf;
    color: #f5efe4;
    opacity: 1;
  }
  header.site-nav a.nav-cta::after{ display:none; }

  @media (max-width: 720px){
    header.site-nav{ padding: 10px 14px; gap: 10px; font-size: 0.62rem; flex-wrap: nowrap; }
    header.site-nav > div:first-child{ gap: 12px !important; flex-wrap: wrap; }
    header.site-nav .brand{ font-size: 0.9rem; }
    header.site-nav nav{ gap: 14px; }
    header.site-nav nav a{ font-size: 0.62rem; letter-spacing: 0.06em; }
    header.site-nav a.nav-cta{ padding: 6px 12px; font-size: 0.62rem; }
    header.site-nav .dropdown{ right: 0; min-width: 200px; }
  }
  @media (max-width: 420px){
    header.site-nav{ padding: 8px 10px; gap: 8px; }
    header.site-nav .brand{ font-size: 0.8rem; }
    header.site-nav nav{ gap: 10px; }
    header.site-nav nav a, header.site-nav a.nav-cta{ font-size: 0.58rem; letter-spacing: 0.04em; }
    header.site-nav a.nav-cta{ padding: 5px 10px; }
  }

  /* offset anchor targets so the floating nav doesn't cover section headings */
  section[id]{ scroll-margin-top: 96px; }
  .contact-card[id]{ scroll-margin-top: 120px; }


  /* ============ HERO ============ */
  .hero{
    position: relative;
    min-height: 100vh;
    display:flex;
    align-items: flex-end;
    background: var(--navy-deep);
    overflow:hidden;
  }
  .hero__img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit: cover;
    object-position: center center;
    background: var(--navy-deep);
    opacity: 0.95;
    filter: contrast(1.03) saturate(0.92);
  }
  .hero__scrim{
    position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(18,32,45,0.72) 0%, rgba(18,32,45,0.28) 22%, rgba(18,32,45,0.35) 55%, rgba(18,32,45,0.95) 100%),
      linear-gradient(90deg, rgba(18,32,45,0.55) 0%, rgba(18,32,45,0.15) 55%, rgba(18,32,45,0) 100%);
  }
  .hero__scrim-side{
    position:absolute; inset:0;
    background: linear-gradient(90deg, rgba(18,32,45,0.68) 0%, rgba(18,32,45,0.1) 46%, rgba(18,32,45,0) 65%);
  }

  .hero__route{
    position:absolute;
    top: 14%;
    right: 6%;
    width: min(340px, 34vw);
    opacity: 0.5;
    stroke: var(--sand-light);
  }
  @media (max-width: 720px){ .hero__route{ display:none; } }

  .hero__content{
    position: relative;
    z-index: 2;
    width:100%;
    padding: 0 var(--gutter) 74px;
    color: var(--paper);
  }
  .hero__eyebrow{
    position: absolute;
    top: calc(var(--header-h, 68px) + 12px);
    left: var(--gutter);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(18, 32, 45, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(228, 216, 190, 0.35);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--paper);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
  }

  .hero h1{
    font-size: clamp(3rem, 9vw, 6.4rem);
    color: var(--paper);
    line-height: 0.98;
    font-weight: 500;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
  }
  .hero__sub{
    font-family: var(--sans);
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: 0.04em;
    color: var(--paper);
    margin-top: 20px;
    font-weight: 400;
    max-width: 520px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .hero__cta{
    margin-top: 46px;
    display:flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  /* ============ PROFILE ============ */
  .profile{
    display:grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
  }
  .profile__figure{
    position: relative;
  }
  .profile__figure img{
    width:100%;
    height:auto;
    display:block;
    filter: grayscale(15%);
  }

  .profile__figure::before{
    content:'';
    position:absolute;
    top: -18px; left: -18px;
    right: 18px; bottom: 18px;
    border: 1px solid var(--sand);
    z-index: -1;
  }
  .profile__text h2{
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    max-width: none;
    text-wrap: balance;
    line-height: 1.2;
  }
  .profile__text p{
    max-width: 54ch;
    color: rgba(35,40,31,0.82);
    font-size: 1.02rem;
  }
  .profile__text p + p{ margin-top: 16px; }

  @media (max-width: 860px){
    .profile{ grid-template-columns: 1fr; }
    .profile__figure{ max-width: 320px; margin: 0 auto; }
  }

  /* ============ PB GRID ============ */
  .pb-grid{
    margin-top: 40px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .pb-item{
    position: relative;
    padding: 38px 22px 34px;
    text-align:center;
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(245,240,229,0.35) 100%);
    border: 1px solid rgba(35,40,31,0.10);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 12px 30px -22px rgba(35,40,31,0.25);
    overflow: hidden;
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  }
  .pb-item::before{
    content:"";
    position:absolute; top:0; left:50%;
    width: 44px; height: 2px;
    transform: translateX(-50%);
    background: var(--pine);
    opacity: 0.9;
  }
  .pb-item::after{
    content:"";
    position:absolute; left:24px; right:24px; bottom:20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35,40,31,0.18), transparent);
  }
  .pb-item:hover{
    transform: translateY(-3px);
    border-color: rgba(35,40,31,0.22);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 22px 40px -24px rgba(35,40,31,0.35);
  }
  .pb-item .dist{
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pine);
  }
  .pb-item .time{
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: var(--navy-deep);
    margin-top: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
  }
  @media (max-width: 860px){
    .pb-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  }

  /* ============ BREATHER IMAGE BAND ============ */
  .breather{
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--navy-deep);
  }
  .breather img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: saturate(1.05) contrast(1.02);
    opacity: 0.96;
    background: var(--navy-deep);
  }
  .breather__scrim{
    position: absolute; left:0; right:0; bottom:0; height: 52%;
    background: linear-gradient(0deg, rgba(18,32,45,0.78) 0%, rgba(18,32,45,0.45) 35%, rgba(18,32,45,0) 100%);
    pointer-events: none;
  }
  .breather__caption{
    position: absolute;
    left: var(--gutter);
    bottom: clamp(40px, 6vh, 72px);
    color: var(--paper);
    max-width: min(520px, 42vw);
    z-index: 2;
  }
  .breather__caption .eyebrow{
    color: var(--sand-light);
    font-size: 0.68rem;
    letter-spacing: 0.34em;
    margin-bottom: 14px;
    opacity: 0.9;
  }
  .breather__caption p{
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    line-height: 1.55;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35);
  }
  .breather__caption p .quote-author{
    display: block;
    margin-top: 14px;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sand-light);
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  }
  .breather__caption::before{
    content: "„";
    position: absolute;
    top: -0.15em;
    left: -0.55em;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 6vw, 5rem);
    line-height: 1;
    color: var(--sand-light);
    opacity: 0.35;
    pointer-events: none;
  }
  @media (max-width: 720px){
    .breather__caption{ max-width: 86%; left: 24px; bottom: 32px; }
    .breather__caption::before{ left: -0.35em; top: -0.05em; }
  }

  /* ============ TIMELINE ============ */
  .timeline-section{
    background: var(--navy-deep);
    color: var(--paper);
  }
  .timeline-section .eyebrow{ color: var(--sand-light); }
  .timeline-section h2{ color: var(--paper); }
  .timeline-section .section-head p{
    color: rgba(245,241,232,0.68);
    max-width: 50ch;
  }

  .timeline{
    margin-top: 68px;
    position: relative;
  }
  .timeline::before{
    content:'';
    position:absolute;
    left: 0; right:0; top: 50%;
    height: 1px;
    background: rgba(245,241,232,0.2);
    transform: translateY(-50%);
  }
  .timeline__track{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
  }
  .timeline__stop{
    text-align:center;
    padding-top: 44px;
    position: relative;
  }
  .timeline__stop::before{
    content:'';
    position:absolute;
    top: 0; left:50%;
    transform: translateX(-50%);
    width: 11px; height: 11px;
    border-radius:50%;
    background: var(--sand);
    box-shadow: 0 0 0 6px var(--navy-deep), 0 0 0 7px rgba(245,241,232,0.2);
  }
  .timeline__date{
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sand-light);
  }
  .timeline__name{
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    margin-top: 12px;
    font-weight: 500;
  }
  .timeline__tag{
    margin-top: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: rgba(245,241,232,0.55);
  }
  .timeline__stop.final .timeline__name{ color: var(--sand-light); }
  .timeline__stop.final::before{ background: var(--paper); width:14px; height:14px; }

  @media (max-width: 760px){
    .timeline::before{ left: 5px; right:auto; top:0; bottom:0; width:1px; height:auto; }
    .timeline__track{ grid-template-columns: 1fr; gap: 44px; text-align:left; }
    .timeline__stop{ padding-top:0; padding-left: 34px; text-align:left; }
    .timeline__stop::before{ left: 0; top: 6px; transform:none; }
  }

  /* ============ GEAR / DATA ============ */
  .gear{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 64px;
    border: 1px solid var(--line);
  }
  .gear__item{
    background: var(--off-white);
    padding: 44px 36px;
  }
  .gear__item .num{
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--sand);
  }
  .gear__item h3{
    font-size: 1.3rem;
    margin-top: 18px;
    font-weight: 500;
  }
  .gear__item p{
    margin-top: 12px;
    font-size: 0.94rem;
    color: rgba(35,40,31,0.75);
  }
  @media (max-width: 860px){
    .gear{ grid-template-columns: 1fr; }
  }

  /* ============ BLOG / NAPLÓ ============ */
  .blog-section{ background: var(--off-white); }

  .blog-filter{
    margin-top: 40px;
    display:flex;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .blog-filter span{
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 4px;
    color: rgba(35,40,31,0.55);
    border-bottom: 1px solid transparent;
  }
  .blog-filter span.is-active{
    color: var(--navy-deep);
    border-bottom-color: var(--sand);
  }

  .blog-grid{
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
  }

  .blog-card{
    display:flex;
    flex-direction: column;
    text-decoration:none;
    color: inherit;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .blog-card__img{
    aspect-ratio: 16/10;
    overflow:hidden;
  }
  .blog-card__img img{
    width:100%; height:100%;
    object-fit: cover;
    filter: grayscale(10%);
    transition: transform .6s ease;
  }
  .blog-card:hover .blog-card__img img{ transform: scale(1.045); }

  .blog-card__body{
    padding: 30px 30px 32px;
    display:flex;
    flex-direction:column;
    flex:1;
  }
  .blog-card__meta{
    display:flex;
    align-items:center;
    gap: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .blog-card__tag{
    color: var(--pine);
    font-weight: 500;
  }
  .blog-card__date{
    color: rgba(35,40,31,0.45);
  }
  .blog-card__body h3{
    margin-top: 14px;
    font-size: 1.4rem;
    line-height: 1.25;
  }
  .blog-card__excerpt{
    margin-top: 12px;
    font-size: 0.92rem;
    color: rgba(35,40,31,0.7);
    flex: 1;
  }
  .blog-card__more{
    margin-top: 22px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-deep);
    display:inline-flex;
    align-items:center;
    gap: 8px;
  }
  .blog-card__more::after{
    content: '→';
    transition: transform .3s ease;
  }
  .blog-card:hover .blog-card__more::after{ transform: translateX(4px); }

  /* featured (large) card */
  .blog-card--featured{ grid-row: span 2; }
  .blog-card--featured .blog-card__img{ aspect-ratio: 4/3; }
  .blog-card--featured .blog-card__body h3{ font-size: 1.85rem; }

  .blog-side{
    display:flex;
    flex-direction: column;
    gap: 28px;
  }
  .blog-side .blog-card{ flex-direction: row; }
  .blog-side .blog-card__img{ width: 40%; aspect-ratio: unset; flex-shrink:0; }
  .blog-side .blog-card__body{ padding: 22px 24px; }
  .blog-side .blog-card__body h3{ font-size: 1.1rem; }
  .blog-side .blog-card__excerpt{ display:none; }

  .blog-cta{
    margin-top: 56px;
    display:flex;
    justify-content:center;
  }

  @media (max-width: 900px){
    .blog-grid{ grid-template-columns: 1fr; }
    .blog-card--featured{ grid-row: auto; }
  }
  @media (max-width: 560px){
    .blog-side .blog-card{ flex-direction: column; }
    .blog-side .blog-card__img{ width:100%; aspect-ratio: 16/10; }
  }

  /* ============ CONTACT ============ */
  .contact-section{ background: var(--paper); }

  .team-photo{
    position: relative;
    margin-top: 56px;
    overflow: hidden;
  }
  .team-photo img{
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    object-position: 50% 30%;
    filter: saturate(0.92) contrast(1.02);
  }
  .team-photo__scrim{
    position:absolute; inset:0;
    background: linear-gradient(0deg, rgba(18,32,45,0.55) 0%, rgba(18,32,45,0) 30%, rgba(18,32,45,0) 100%);
  }
  .team-photo__caption{
    position: absolute;
    left: 36px;
    bottom: 26px;
    color: var(--paper);
  }
  .team-photo__caption .eyebrow{ color: var(--sand-light); }
  .team-photo__caption p{
    font-family: var(--serif);
    font-size: 1.1rem;
    margin-top: 6px;
  }
  @media (max-width: 720px){
    .team-photo img{ aspect-ratio: 4/5; object-position: 50% 22%; }
  }

  .contact-grid{
    margin-top: 64px;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .contact-card{
    border: 1px solid var(--line);
    padding: 48px 40px;
    background: var(--off-white);
    position: relative;
  }
  .contact-card .role{
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pine);
  }
  .contact-card h3{
    font-size: 1.9rem;
    margin-top: 16px;
  }
  .contact-card .desc{
    margin-top: 14px;
    color: rgba(35,40,31,0.75);
    font-size: 0.96rem;
    max-width: 40ch;
  }
  .contact-card .btn{ margin-top: 30px; }
  .contact-card__actions{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  @media (max-width: 760px){
    .contact-grid{ grid-template-columns: 1fr; }
  }

  footer{
    padding: 40px var(--gutter) 48px;
    text-align:center;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(28,43,58,0.5);
    border-top: 1px solid var(--line);
  }
  .footer-legal{
    margin-top: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(28,43,58,0.45);
    display: flex; justify-content:center; align-items:center; gap: 10px;
  }
  .footer-legal a{ color: inherit; text-decoration: none; border-bottom: 1px solid rgba(28,43,58,0.2); padding-bottom: 1px; }
  .footer-legal a:hover{ color: rgba(28,43,58,0.8); border-bottom-color: rgba(28,43,58,0.5); }

  .legal-prose{ max-width: 760px; margin: 32px auto 0; color: var(--ink); font-size: 0.98rem; line-height: 1.75; }
  .legal-prose h3{ font-family: var(--serif, Georgia, serif); font-size: 1.25rem; margin: 32px 0 10px; color: var(--ink); letter-spacing: 0.01em; }
  .legal-prose h3:first-child{ margin-top: 0; }
  .legal-prose p{ margin: 0 0 14px; }
  .legal-prose ul{ margin: 0 0 16px; padding-left: 22px; }
  .legal-prose ul li{ margin-bottom: 6px; }
  .legal-prose a{ color: inherit; border-bottom: 1px solid rgba(28,43,58,0.35); }
  .legal-prose em{ color: rgba(28,43,58,0.65); font-style: italic; }
  .legal-meta{ margin-top: 28px !important; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(28,43,58,0.5); }

  .section-head{ max-width: 640px; }
  .section-head h2{ font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 12px; }

/* ============ Contact form ============ */
.contact-form-section { padding-top: 24px; }
.contact-form{
  max-width: 720px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(245, 236, 220, 0.35);
  border: 1px solid rgba(201, 180, 138, 0.35);
  padding: 32px;
  border-radius: 4px;
  position: relative;
}
.contact-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px){
  .contact-form{ padding: 22px; }
  .contact-form__row{ grid-template-columns: 1fr; }
}
.contact-form label{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink, #1a1a1a);
  padding: 12px 14px;
  border: 1px solid rgba(120, 100, 70, 0.28);
  background: #fdfaf3;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea{ resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: rgba(90, 70, 30, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 180, 138, 0.25);
}
.contact-form__actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.contact-form .btn--primary{
  background: #1a1a1a;
  color: #f5ecdc;
  border: 1px solid #1a1a1a;
}
.contact-form .btn--primary:hover{ opacity: 0.9; }
.contact-form .btn--primary:disabled{ opacity: 0.5; cursor: default; }
.contact-form__error{
  color: #8a2a2a;
  font-size: 0.9rem;
  margin: 0;
}
.contact-form--success{
  text-align: center;
  padding: 40px 24px;
}
.contact-form--success h3{ margin: 0 0 8px; }
.contact-form--success p{ margin: 0 0 20px; color: var(--muted, #6c6357); }

/* ============ RACE TIMELINE (horizontal, data-driven) ============ */
.race-timeline{
  --rt-blue: #6ea8d4;
  --rt-blue-strong: #9ec7e6;
  --rt-bg: var(--navy-deep);
  margin-top: 56px;
  position: relative;
  color: var(--paper);
  background: var(--rt-bg);
  padding: 32px 8px 40px;
}
.race-timeline__controls{
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin: 0 12px 10px;
}
.race-timeline__hint{
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.55);
}
.race-timeline__nav-group{ display: flex; gap: 10px; }
.race-timeline__nav{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rt-blue);
  background: transparent;
  color: var(--rt-blue-strong);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
  font-family: var(--sans);
}
.race-timeline__nav:hover{
  background: var(--rt-blue);
  color: var(--rt-bg);
  transform: translateY(-1px);
}
.race-timeline__viewport{
  position: relative;
}
.race-timeline__viewport::before,
.race-timeline__viewport::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 2;
}
.race-timeline__viewport::before{
  left: 0;
  background: linear-gradient(to right, var(--rt-bg), rgba(15,28,40,0));
}
.race-timeline__viewport::after{
  right: 0;
  background: linear-gradient(to left, var(--rt-bg), rgba(15,28,40,0));
}
.race-timeline__line{
  position: absolute;
  left: 0; right: 0;
  top: 44px;
  height: 1px;
  background: rgba(110,168,212,0.28);
  pointer-events: none;
}
.race-timeline__track{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0 24px;
  scrollbar-width: none;
}
.race-timeline__track::-webkit-scrollbar{ display: none; }
.race-timeline__spacer{
  flex: 0 0 50%;
}
.race-timeline__stop{
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: center;
  background: transparent;
  border: 0;
  padding: 64px 12px 8px;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, opacity .18s ease;
  transform-origin: center top;
}
.race-timeline__dot{
  position: absolute;
  top: 32px;
  left: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--rt-blue);
  transform: translateX(-50%);
  box-shadow: 0 0 0 6px var(--rt-bg), 0 0 0 7px rgba(110,168,212,0.35);
}
.race-timeline__stop.is-focal .race-timeline__dot{
  background: var(--rt-blue-strong);
  width: 14px; height: 14px;
  box-shadow: 0 0 0 6px var(--rt-bg), 0 0 0 8px var(--rt-blue);
}
.race-timeline__date{
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-light);
}
.race-timeline__name{
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--paper);
  transition: font-size .2s ease, color .2s ease;
}
.race-timeline__stop:hover .race-timeline__name,
.race-timeline__stop.is-active .race-timeline__name,
.race-timeline__stop.is-focal .race-timeline__name{
  font-size: 1.35rem;
  color: var(--rt-blue-strong);
}
.race-timeline__tag{
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(245,241,232,0.65);
}
.race-timeline__stop.is-focal .race-timeline__tag{
  color: var(--rt-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.race-timeline__stop.is-active .race-timeline__name{
  text-decoration: underline;
  text-decoration-color: var(--rt-blue);
  text-underline-offset: 6px;
}
.race-timeline__stop:focus-visible{
  outline: 1px solid var(--rt-blue);
  outline-offset: 4px;
}

.race-timeline__detail{
  margin: 18px auto 0;
  min-height: 90px;
  border-top: 1px solid rgba(110,168,212,0.22);
  padding: 24px 20px 0;
  max-width: 640px;
  text-align: center;
}
.race-timeline__detail-eyebrow{
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rt-blue-strong);
}
.race-timeline__detail h3{
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: 500;
}
.race-timeline__detail p{
  margin-top: 12px;
  color: rgba(245,241,232,0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}
.race-timeline__report{
  display: inline-block;
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rt-blue-strong);
  text-decoration: none;
  border-bottom: 1px solid var(--rt-blue);
  padding-bottom: 3px;
}
.race-timeline__report:hover{ color: var(--paper); border-bottom-color: var(--paper); }
.race-timeline__hint-empty{
  color: rgba(245,241,232,0.55);
  font-size: 0.88rem;
  font-style: italic;
}

@media (max-width: 720px){
  .race-timeline__nav-group{ display: none; }
  .race-timeline__stop{ width: 180px; padding-top: 60px; }
  .race-timeline__viewport::before,
  .race-timeline__viewport::after{ width: 36px; }
}


/* ============ HERO SLIDESHOW ============ */
.hero__slides{ position:absolute; inset:0; }
.hero__slides .hero__img{
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2200ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 8000ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
  z-index: 0;
}
.hero__slides .hero__img.is-active{
  opacity: 0.95;
  transform: scale(1.0);
  z-index: 1;
}
.hero__nav{
  position:absolute; top:0; bottom:0;
  width: 15%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.0);
  font-size: 44px;
  font-family: serif;
  cursor: pointer;
  z-index: 5;
  transition: color .3s, background .3s;
  display:flex; align-items:center; justify-content:center;
}
.hero__nav:hover{
  color: rgba(255,255,255,0.85);
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
}
.hero__nav--prev{ left:0; }
.hero__nav--prev:hover{ background: linear-gradient(-90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%); }
.hero__nav--next{ right:0; }
.hero__dots{
  position:absolute; bottom: 24px; left:50%; transform: translateX(-50%);
  display:flex; gap:10px; z-index: 5;
}
.hero__dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero__dot.is-active{ background: rgba(255,255,255,0.95); transform: scale(1.3); }

/* ============ PHOTO GALLERY (masonry, no crop) ============ */
.photo-gallery{
  column-count: 3;
  column-gap: 18px;
  margin-top: 28px;
}
.photo-gallery figure{
  margin: 0 0 18px;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.photo-gallery img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s ease;
}
.photo-gallery figure:hover img{ transform: scale(1.03); }
.photo-gallery figcaption{
  position:absolute; left:12px; bottom:10px;
  color:#fff; font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
@media (max-width: 1100px){
  .photo-gallery{ column-count: 2; }
}
@media (max-width: 640px){
  .photo-gallery{ column-count: 1; }
}

/* ============ DIRECT CONTACT LINKS ============ */
.contact-direct{
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}
.contact-direct__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(201, 180, 138, 0.18);
  color: var(--navy-deep);
  margin-bottom: 22px;
}
.contact-direct__links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.contact-direct__links a{
  font-size: 0.96rem;
  color: var(--navy-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
  padding-bottom: 2px;
}
.contact-direct__links a:hover{
  color: var(--pine);
  border-bottom-color: var(--sand);
}


