/* Shared public-page rhythm. Loaded after each page's existing styles. */
:root {
  --section-space: 96px;
  --content-edge: 28px;
  --card-gap: 20px;
  --card-pad: 32px;
  --action-height: 44px;
  --header-action-height: 44px;
  --secondary-hover-fill: rgba(201,162,74,.12);
}

@property --charlo-outline-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.nav-frame > * { min-width: 0; }
.site-header .brand { position: relative; z-index: 92; }
.site-header .home-return {
  position: relative;
  inset: auto;
  z-index: 92;
  flex: 0 0 auto;
  margin-right: auto;
  width: auto;
  height: var(--header-action-height);
  min-height: var(--header-action-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(229,200,119,.62);
  background:
    linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.025) 45%,rgba(229,200,119,.09)),
    rgba(13,23,35,.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
  backdrop-filter: blur(20px) saturate(1.28);
  box-shadow: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-header .home-return:hover,
.site-header .home-return:focus-visible {
  border-color: var(--gold-lite);
  background:
    linear-gradient(135deg,rgba(255,255,255,.12),rgba(229,200,119,.15)),
    rgba(13,23,35,.56);
  transform: translateY(-3px);
}

.site-header .nav-links > .btn,
.site-header .mobile-booking-cta {
  height: var(--header-action-height);
  min-height: var(--header-action-height);
  box-sizing: border-box;
}
.site-header .nav-links a.link { text-transform: none; }
.site-header .nav-links > .btn,
.site-header .mobile-booking-cta { text-transform: uppercase; }

/* The outline is drawn around the control instead of appearing in one frame. */
.studio-grid figure {
  position: relative;
  isolation: isolate;
}
.studio-grid figure::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  /* Begin at the upper-left corner and travel clockwise around the perimeter. */
  background: conic-gradient(from 225deg,var(--gold-lite) 0deg,var(--gold-lite) var(--charlo-outline-sweep),transparent var(--charlo-outline-sweep),transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite: exclude;
  --charlo-outline-sweep: 0deg;
  transition: --charlo-outline-sweep .35s linear;
}
.studio-grid figure:hover::after,
.studio-grid figure:focus-within::after {
  --charlo-outline-sweep: 360deg;
}

.pad { padding: var(--section-space) var(--content-edge); }
.page-section { padding: var(--section-space) var(--content-edge); }
.section-head:not(.center) {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.82fr);
  align-items: start;
  gap: clamp(24px,4vw,64px);
  margin-bottom: 36px;
}
.section-head > * { min-width: 0; }
.section-head:not(.center) > .intro {
  max-width: 100%;
  margin-top: 32px;
  align-self: start;
}
.section-head.center { margin-bottom: 36px; }
.sec-label { margin-bottom: 12px; }
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 12px;
  margin-top: 28px;
}
.section-actions + .grid-3,
.section-actions + .grid-2 { margin-top: 28px; }
.grid-3,.grid-2,.svc-grid,.studio-grid,.media-grid,.tools-showcase {
  gap: var(--card-gap);
}
.grid-3 > *, .grid-2 > *, .svc-grid > *, .studio-grid > * { min-width: 0; }
.card { padding: var(--card-pad); overflow-wrap: break-word; }
.svc { padding: var(--card-pad); overflow-wrap: break-word; }
.card.glass,.svc.glass {
  position: relative;
  isolation: isolate;
  border-color: rgba(242,234,217,.09);
}
.card.glass:hover,.card.glass:focus-within,
.svc.glass:hover,.svc.glass:focus-within {
  border-color: rgba(242,234,217,.09);
  transform: translateY(-3px);
}
/* Desktop cards draw the same quick cinematic perimeter as image actions.
   A child control keeps its own interaction state instead of borrowing the
   card state. */
@media (hover: hover) and (pointer: fine) {
  .card.glass::after,.svc.glass::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 3;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from 225deg,var(--gold-lite) 0deg var(--charlo-outline-sweep),transparent var(--charlo-outline-sweep) calc(360deg - var(--charlo-outline-sweep)),var(--gold-lite) calc(360deg - var(--charlo-outline-sweep)) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    mask-composite: exclude;
    --charlo-outline-sweep: 0deg;
    transition: --charlo-outline-sweep .35s linear;
  }
  /* Preview cards clip their image, so draw their outline inside that edge. */
  .card.glass.style-card-preview::after { inset: 0; }
  .card.glass:hover:not(:has(a:hover,button:hover))::after,
  .svc.glass:hover:not(:has(a:hover,button:hover))::after,
  .card.glass:focus-within:not(:has(a:focus-visible,button:focus-visible))::after,
  .svc.glass:focus-within:not(:has(a:focus-visible,button:focus-visible))::after {
    --charlo-outline-sweep: 180deg;
  }
}
.studio-grid figure,
.studio-grid figure:hover,
.studio-grid figure:focus-within { border-color: transparent; }
.card .meta,.svc-top { gap: 16px; margin-bottom: 20px; }
.card h2,.card h3,.svc h3 { overflow-wrap: break-word; }
.card p,.card li,.svc p { line-height: 1.58; }
.card p,.card li { margin-top: 14px; }
.style-grid .card.has-detail { display: flex; flex-direction: column; }
.style-grid .style-read-more {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
}
.style-grid .card.has-detail .style-express { margin-bottom: 24px; }
.card p + p { margin-top: 16px; }
.card .service-note { margin-top: 20px; }
.svc-foot { gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.svc-foot a {
  min-height: var(--action-height);
  padding: 10px 16px;
  border-color: transparent;
  border-radius: var(--radius);
  background: linear-gradient(180deg,var(--gold-lite),var(--gold));
  color: #0A0D12;
  white-space: normal;
  text-align: center;
}
.svc-foot a:hover,
.svc-foot a:focus-visible {
  border-color: transparent;
  background: linear-gradient(180deg,#F0D894,var(--gold));
  color: #0A0D12;
  box-shadow: 0 12px 30px rgba(201,162,74,.3);
  transform: translateY(-3px);
}
.svc:hover .svc-foot a:hover,
.svc:hover .svc-foot a:focus-visible {
  border-color: transparent;
  background: linear-gradient(180deg,#F0D894,var(--gold));
  color: #0A0D12;
  box-shadow: 0 12px 30px rgba(201,162,74,.3);
  transform: translateY(-3px);
}
.svc:hover .svc-foot a:not(:hover):not(:focus-visible) {
  border-color: transparent;
  background: linear-gradient(180deg,var(--gold-lite),var(--gold));
  color: #0A0D12;
  box-shadow: none;
  transform: none;
}
.hero-actions,.style-jumps { gap: 12px; }
.btn { min-height: var(--action-height); white-space: normal; text-align: center; }
.btn:not(.btn-solid) { border-color: rgba(229,200,119,.52); background: transparent; }
.btn:not(.btn-solid):hover,.btn:not(.btn-solid):focus-visible {
  border-color: var(--gold-lite);
  background: var(--secondary-hover-fill);
  box-shadow: none;
  transform: translateY(-3px);
}

/* Booking actions stay filled gold. Hover only adds a restrained lift and
   gold shadow, so every `ΚΛΕΙΣΕ ΡΑΝΤΕΒΟΥ` control follows one visual rule. */
main a.btn-solid[href^="/booking"] {
  border-color: transparent;
  background: linear-gradient(180deg,var(--gold-lite),var(--gold));
  color: #0A0D12;
  box-shadow: none;
}
main a.btn-solid[href^="/booking"]:hover,
main a.btn-solid[href^="/booking"]:focus-visible {
  border-color: transparent;
  background: linear-gradient(180deg,#F0D894,var(--gold));
  color: #0A0D12;
  box-shadow: 0 12px 30px rgba(201,162,74,.3);
  transform: translateY(-3px);
}
.btn:focus-visible,.home-return:focus-visible,.svc-foot a:focus-visible {
  outline: 2px solid var(--gold-lite);
  outline-offset: 3px;
}
.review-viewport:focus-visible { outline: 2px solid var(--gold-lite); outline-offset: 3px; }
.btn-solid:hover,.btn-solid:focus-visible {
  background: linear-gradient(180deg,var(--gold-lite),var(--gold));
  color: #0A0D12;
  box-shadow: 0 8px 22px rgba(201,162,74,.18);
}

/* The header booking control and Google review share the permanent gold fill. */
.site-header .nav-links > .btn-solid,
.site-header .mobile-booking-cta,
.review-actions #google-review-link {
  border-color: transparent;
  background: linear-gradient(180deg,var(--gold-lite),var(--gold));
  color: #0A0D12;
}
.review-actions #google-review-link:hover,
.review-actions #google-review-link:focus-visible {
  background: linear-gradient(180deg,#F0D894,var(--gold));
  color: #0A0D12;
  box-shadow: 0 8px 22px rgba(201,162,74,.18);
  transform: translateY(-2px);
}

/* Map loading is an image action: outlined at rest with the quick cinematic draw. */
.map-load {
  position: relative;
  isolation: isolate;
  border-color: rgba(229,200,119,.52)!important;
  background: rgba(7,11,17,.56)!important;
  color: var(--gold-lite)!important;
}
.map-load::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 225deg,var(--gold-lite) 0deg,var(--gold-lite) var(--charlo-outline-sweep),transparent var(--charlo-outline-sweep),transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite: exclude;
  --charlo-outline-sweep: 0deg;
  transition: --charlo-outline-sweep .35s linear;
}
.map-load:hover::after,.map-load:focus-visible::after { --charlo-outline-sweep: 360deg; }

/* The visual-card action follows the same secondary interaction language. */
.studio-grid figcaption em {
  border-color: transparent;
  border-radius: var(--radius);
  background: transparent;
  position: relative;
  isolation: isolate;
}
.studio-grid figcaption em::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 225deg,var(--gold-lite) 0deg,var(--gold-lite) var(--charlo-outline-sweep),transparent var(--charlo-outline-sweep),transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite: exclude;
  --charlo-outline-sweep: 0deg;
  transition: --charlo-outline-sweep .35s linear;
}
.studio-grid figure:hover figcaption em,
.studio-grid figure:focus-within figcaption em {
  border-color: transparent;
  background: var(--secondary-hover-fill);
  color: var(--gold-lite);
  box-shadow: none;
  transform: translateY(-1px);
}
.studio-grid figure:hover figcaption em::after,
.studio-grid figure:focus-within figcaption em::after { --charlo-outline-sweep: 360deg; }
.eyebrow,.sec-label,.card .meta,.svc-top,.svc-foot,.btn,.nav-links a.link { text-transform: uppercase; }
.eyebrow,.sec-label,.card .meta,.svc-top { font-size: 14px; }
.btn,.nav-links a.link { font-size: 11px; }
.svc-foot { font-size: 10px; }
.lead,.hero-sub,.intro,.card p,.card li,.svc p,
.about-copy,.style-intro { font-style: italic; }
.card p,.card li,.svc p { font-size: 19px; font-weight: 400; }
.lead,.hero-sub { font-size: 22px; line-height: 1.46; font-weight: 400; }
.intro { font-size: 20px; line-height: 1.62; font-weight: 400; }
h1 { font-size: 72px; line-height: 1.1; }
.sec-title { font-size: 48px; line-height: 1.15; }
.card h2,.card h3,.svc h3 { font-size: 30px; line-height: 1.2; }

@media (min-width: 861px) and (max-width: 1199px) {
  .mobile-booking-cta { display: inline-flex; margin-left: auto; position: relative; z-index: 92; }
  .menu-toggle { display: flex; position: relative; flex: 0 0 auto; z-index: 92; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    padding: 86px 28px 28px;
    overflow-y: auto;
    border-left: 1px solid rgba(229,200,119,.22);
    background: linear-gradient(135deg,#203249,#0A121D 48%,#0D1723);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s .3s;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
  .nav-links a.link,.nav-links .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    min-height: 54px;
    margin-inline: auto;
    border: 1px solid rgba(229,200,119,.4);
    border-radius: var(--radius);
    background: #142335;
    color: var(--gold-lite);
    text-align: center;
  }
  .nav-links .btn-solid { background: linear-gradient(180deg,var(--gold-lite),var(--gold)); color: #0A0D12; }
  .nav-links a.link:hover,
  .nav-links a.link:focus-visible,
  .nav-links a.link:active {
    border-color: var(--gold-lite);
    background: rgba(201,162,74,.12);
    color: var(--gold-lite);
    transform: translateY(-1px);
  }
  .nav-links a.link::after { display: none; }
}

@media (max-width: 1199px) {
  :root { --section-space: 80px; --content-edge: 28px; --card-pad: 28px; }
  .site-header { padding: 12px 24px; }
  .nav-frame { gap: 14px; }
  .mobile-booking-cta { height: var(--header-action-height); min-height: var(--header-action-height); font-size: 10px; }
  .site-header .home-return,
  .btn,
  .studio-grid figure { border-color: rgba(229,200,119,.5); }
  .studio-grid figure::after { display: none; }
  .studio-grid figcaption em {
    border-color: rgba(229,200,119,.5);
  }
  .studio-grid figcaption em::after { display: none; }
  .section-head:not(.center) { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .section-head:not(.center) > .intro { margin-top: 0; max-width: 68ch; }
  .section-head.center { margin-bottom: 32px; }
  .grid-3,.svc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card p,.card li,.svc p { font-size: 19px; }
  .lead,.hero-sub { font-size: 21px; }
  .intro { font-size: 19px; }
  h1 { font-size: 56px; }
  .sec-title { font-size: 40px; }
  .card h2,.card h3,.svc h3 { font-size: 27px; }
  .page-hero { padding-top: 132px; }
  .card.glass,.svc.glass { border-color: rgba(229,200,119,.22); }
  .card.glass:hover,.card.glass:focus-within,
  .svc.glass:hover,.svc.glass:focus-within { border-color: rgba(229,200,119,.22); }
  .btn:not(.btn-solid) { border-color: rgba(229,200,119,.5); }
  .svc-foot a { border-color: transparent; }
  /* Touch interaction must match the desktop secondary-button hover:
     a clear gold stroke plus only a restrained translucent inner tint. */
  .btn:not(.btn-solid):hover,
  .btn:not(.btn-solid):focus-visible,
  .btn:not(.btn-solid):active,
  .svc-foot a:hover,
  .svc-foot a:focus-visible,
  .svc-foot a:active,
  .site-header .home-return:hover,
  .site-header .home-return:focus-visible,
  .site-header .home-return:active,
  .studio-grid figure:hover figcaption em,
  .studio-grid figure:focus-within figcaption em,
  .studio-grid figure:active figcaption em {
    border-color: var(--gold-lite);
    background: var(--secondary-hover-fill);
    color: var(--gold-lite);
    box-shadow: none;
  }
  main a.btn-solid[href^="/booking"]:hover,
  main a.btn-solid[href^="/booking"]:focus-visible,
  main a.btn-solid[href^="/booking"]:active {
    border-color: transparent;
    background: linear-gradient(180deg,#F0D894,var(--gold));
    color: #0A0D12;
    box-shadow: 0 12px 30px rgba(201,162,74,.3);
    transform: translateY(-3px);
  }
  .svc-foot a:hover,
  .svc-foot a:focus-visible,
  .svc-foot a:active {
    border-color: transparent;
    background: linear-gradient(180deg,var(--gold-lite),var(--gold));
    color: #0A0D12;
    box-shadow: 0 8px 22px rgba(201,162,74,.18);
    transform: translateY(-2px);
  }
  /* On touch layouts the strengthened border is the focus indicator too.
     Avoid stacking a second outer ring around the same control. */
  .btn:focus-visible,
  .site-header .home-return:focus-visible,
  .svc-foot a:focus-visible {
    outline: none;
  }
  .svc:hover .svc-foot a:not(:hover):not(:focus-visible) {
    border-color: transparent;
    background: linear-gradient(180deg,var(--gold-lite),var(--gold));
    color: #0A0D12;
    box-shadow: none;
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 1020px) {
  .media-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
}

@media (max-width: 860px) {
  .nav-links { background: linear-gradient(135deg,#203249,#0A121D 48%,#0D1723); }
  .nav-links a.link,.nav-links .btn {
    background: #142335;
    border-color: rgba(229,200,119,.4);
    color: var(--gold-lite);
    font-size: 14px;
  }
  .nav-links .btn-solid { background: linear-gradient(180deg,var(--gold-lite),var(--gold)); color: #0A0D12; }
  .nav-links a.link:hover,
  .nav-links a.link:focus-visible,
  .nav-links a.link:active {
    border-color: var(--gold-lite);
    background: rgba(201,162,74,.12);
    color: var(--gold-lite);
    transform: translateY(-1px);
  }
  .site-header .home-return { display: inline-flex; }
  .site-header .home-return:hover,
  .site-header .home-return:focus-visible,
  .site-header .home-return:active {
    background: rgba(201,162,74,.12);
    transform: translateY(-1px);
  }
}

@media (max-width: 767px) {
  :root { --section-space: 60px; --content-edge: 18px; --card-gap: 16px; --card-pad: 22px; --header-action-height: 44px; }
  .site-header { padding: 10px 16px; }
  .nav-frame { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 44px; height: 44px; }
  .site-header .home-return { height: var(--header-action-height); min-height: var(--header-action-height); padding: 10px; }
  .mobile-booking-cta { height: var(--header-action-height); min-height: var(--header-action-height); padding: 10px; font-size: 14px; }
  .menu-toggle { width: 44px; height: 44px; }
  .section-head:not(.center) { gap: 14px; margin-bottom: 24px; }
  .section-head.center { margin-bottom: 24px; }
  .sec-label { margin-bottom: 10px; }
  .grid-3,.grid-2,.svc-grid { grid-template-columns: 1fr; }
  .section-actions { margin-top: 24px; column-gap: 10px; row-gap: 10px; }
  .section-actions > .btn,.hero-actions > .btn { width: 100%; }
  .style-grid .style-read-more { width: 100%; }
  .section-actions + .grid-3,.section-actions + .grid-2 { margin-top: 24px; }
  .card .meta,.svc-top { margin-bottom: 18px; }
  .card p,.card li,.svc p { font-size: 17px; }
  .lead,.hero-sub { font-size: 20px; }
  .intro { font-size: 17px; }
  h1 { font-size: 42px; }
  .sec-title { font-size: 34px; }
  .card h2,.card h3,.svc h3 { font-size: 25px; }
  .page-hero { padding: 110px var(--content-edge) 60px; }
  .hero { padding-inline: var(--content-edge); }
  .svc-foot { align-items: flex-start; }
}

/* Branded, one-shot return transition. The opaque navy layers keep the
   previous page completely hidden while preserving the CHARLO glass depth. */
html.transition-pending,
html.transition-out,
html.transition-ready { background: #070B11; }
html.transition-pending body > :not(.charlo-transition) { visibility: hidden; }
.charlo-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%,rgba(201,162,74,.14),transparent 24%),
    linear-gradient(135deg,#17283B 0%,#09121D 50%,#070B11 100%);
  transition: opacity .16s ease,visibility 0s .16s;
}
.charlo-transition::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(125deg,rgba(255,255,255,.055),transparent 34%,rgba(229,200,119,.045) 64%,transparent),
    radial-gradient(circle at 24% 18%,rgba(38,62,88,.42),transparent 35%);
  filter: blur(34px);
  opacity: .8;
}
html.transition-pending .charlo-transition,
html.transition-out .charlo-transition,
html.transition-ready .charlo-transition {
  opacity: 1;
  visibility: visible;
  transition: opacity .16s ease;
}
.charlo-transition__inner {
  position: relative;
  z-index: 1;
  width: min(86vw,420px);
  display: grid;
  justify-items: center;
  text-align: center;
}
.charlo-transition__logo {
  width: 112px;
  height: 112px;
  padding: 7px;
  border: 1px solid rgba(229,200,119,.24);
  border-radius: 18px;
  object-fit: contain;
  background: rgba(7,11,17,.28);
  filter: drop-shadow(0 0 0 rgba(201,162,74,0));
}
html.transition-running .charlo-transition__logo {
  animation: charlo-logo-pulse .72s ease-in-out infinite alternate;
}
.charlo-transition__title {
  margin-top: 22px;
  color: var(--ivory,#F2EAD9);
  font-family: "EB Garamond",serif;
  font-size: clamp(30px,5vw,42px);
  line-height: 1;
  letter-spacing: .025em;
}
.charlo-transition__label {
  margin-top: 14px;
  color: var(--gold-lite,#E5C877);
  font-family: "JetBrains Mono",monospace;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.charlo-transition__track {
  width: min(72vw,300px);
  height: 2px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(229,200,119,.2);
}
.charlo-transition__bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,var(--gold,#C9A24A),var(--gold-lite,#E5C877));
  transform: scaleX(0);
  transform-origin: left center;
}
html.transition-running .charlo-transition__bar {
  animation: charlo-return-progress .9s cubic-bezier(.22,.72,.2,1) forwards;
}
@keyframes charlo-logo-pulse {
  to { filter: drop-shadow(0 0 22px rgba(229,200,119,.72)); transform: scale(1.035); }
}
@keyframes charlo-return-progress { to { transform: scaleX(1); } }

@media (max-width: 540px) {
  .brand-word { display: none; }
}

@media (max-width: 1199px) and (max-height: 640px) {
  .nav-links { justify-content: flex-start; padding-top: 86px; padding-bottom: 28px; }
}

@media (max-width: 359px) {
  :root { --content-edge: 16px; }
  .site-header { padding-inline: 12px; }
  h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .home-return { transition: none; }
  .studio-grid figure::after,
  .studio-grid figcaption em::after,
  .map-load::after { transition: none; }
  .charlo-transition,
  .charlo-transition__logo,
  .charlo-transition__bar { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   2026-09-30 approved visual refinement
   -------------------------------------------------------------------------- */

/* The header keeps a visible navy glass layer at the top of every page and
   becomes only slightly denser after scrolling. */
.site-header {
  border-bottom: 1px solid rgba(229,200,119,.13);
  background:
    linear-gradient(105deg,rgba(38,62,88,.28),rgba(255,255,255,.025) 44%,rgba(201,162,74,.045)),
    rgba(7,11,17,.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  backdrop-filter: blur(18px) saturate(1.22);
  box-shadow: 0 10px 32px rgba(0,0,0,.14);
}
.site-header.scrolled {
  background:
    linear-gradient(105deg,rgba(38,62,88,.24),rgba(255,255,255,.02) 44%,rgba(201,162,74,.04)),
    rgba(7,11,17,.88);
  border-bottom-color: rgba(229,200,119,.2);
  box-shadow: 0 14px 38px rgba(0,0,0,.26);
}

/* Restore readable upright copy. Display headings keep their established
   lighter editorial treatment; compact utility text carries more weight. */
.lead,.hero-sub,.intro,.card p,.card li,.svc p,
.about-copy,.style-intro { font-style: normal; }
h1,.sec-title { font-weight: 300; }
.card h2,.card h3,.svc h3 { font-weight: 400; }
.site-header .nav-links a.link,
.site-header .home-return,
.btn,.svc-foot a,.image-card-action,.map-load {
  font-family: "JetBrains Mono",monospace;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}
.site-header .nav-links a.link { font-size: 11px; line-height: 1.2; }
.btn { min-height: 44px; padding: 12px 20px; font-size: 11px; line-height: 1.2; }
.svc-foot a { font-size: 10px; font-weight: 400; letter-spacing: 0; }
.image-card-action,.map-load { font-weight: 400; letter-spacing: 0; }
.eyebrow,.sec-label,.card .meta,.svc-top { text-transform: uppercase; }

/* The homepage Space gallery uses the video as the lead visual. On desktop it
   spans both photo rows while the four still cards form a precise 2 × 2 grid. */
.studio-grid {
  grid-template-columns: minmax(0,1.18fr) repeat(2,minmax(0,1fr));
  align-items: stretch;
}
.studio-grid figure {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  transition: transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease,border-color .35s ease;
}
.studio-grid figure:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: auto;
  aspect-ratio: auto;
}
.studio-grid figure > video,
.studio-grid figure > img { position: absolute; inset: 0; }
.charlo-photo-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
}
.charlo-photo-grid figure,
.charlo-photo-grid figure.small {
  min-height: 0;
  aspect-ratio: 4 / 3;
  transition: transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease,border-color .35s ease;
}

/* Two authentic images share the same crop. Desktop reveals the second image
   on hover; touch layouts alternate slowly without changing link behaviour. */
.swap-media { position: relative; isolation: isolate; }
.swap-media > .media-primary,
.swap-media > .media-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-position,center);
  filter: saturate(.82) contrast(1.08) brightness(.82) sepia(.04);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1),filter .7s ease;
}
.swap-media > .media-primary { z-index: 1; opacity: 1; }
.swap-media > .media-secondary { z-index: 2; opacity: 0; transform: scale(1.025); }
.swap-media > figcaption,
.swap-media > .caption { z-index: 4; }

/* Full-width, gapless shop strip separating the manifesto from the services. */
.shop-strip {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(229,200,119,.42);
  border-bottom: 1px solid rgba(229,200,119,.42);
  background: var(--navy);
}
.shop-strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0;
  animation: charlo-strip-drift 30s linear infinite;
  will-change: transform;
}
.shop-strip-item {
  position: relative;
  flex: 0 0 clamp(280px,33.333vw,640px);
  width: clamp(280px,33.333vw,640px);
  height: clamp(132px,14vw,220px);
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(229,200,119,.2);
  border-radius: 0;
  background: var(--navy);
}
.shop-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.82) contrast(1.07) brightness(.8) sepia(.04);
}
@keyframes charlo-strip-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Image-card actions keep their own hover state instead of borrowing the
   card's state. */
.studio-grid figcaption .image-card-action {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(7,11,17,.18);
  color: var(--gold-lite);
  font-size: 10px;
  white-space: nowrap;
  transition: transform .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease;
}
.studio-grid figcaption .image-card-action::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 225deg,var(--gold-lite) 0deg,var(--gold-lite) var(--charlo-outline-sweep),transparent var(--charlo-outline-sweep),transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite: exclude;
  --charlo-outline-sweep: 0deg;
  transition: --charlo-outline-sweep .35s linear;
}
.studio-grid figcaption .image-card-action:hover,
.studio-grid figcaption .image-card-action:focus-visible {
  background: var(--secondary-hover-fill);
  color: var(--gold-lite);
  box-shadow: 0 10px 26px rgba(201,162,74,.16);
  transform: translateY(-2px);
}
.studio-grid figcaption .image-card-action:hover::after,
.studio-grid figcaption .image-card-action:focus-visible::after { --charlo-outline-sweep: 360deg; }

/* The two approved style-guide previews fade in behind the text without
   changing card dimensions. */
.style-card-preview { overflow: hidden; }
.style-card-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,rgba(13,23,35,.96),rgba(13,23,35,.78) 56%,rgba(13,23,35,.3)),
    var(--style-card-image) var(--style-card-position,center 34%) / cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .55s ease,transform .9s cubic-bezier(.16,1,.3,1);
}
.style-card-preview > * { position: relative; z-index: 1; }

/* Two strokes leave the bottom-left corner and meet at the top-right corner. */
.tools-showcase figure{transition:transform .3s ease,box-shadow .3s ease}
@media (hover: hover) and (pointer: fine) {
  .studio-grid figure::after,
  .tools-showcase figure::after,
  .media-grid figure::after {
    content: "";
    position: absolute;
    /* These cards clip their media. Keep the animated line inside the clipped
       edge so Safari can render the complete perimeter. */
    inset: 0;
    z-index: 7;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from 225deg,var(--gold-lite) 0deg var(--charlo-outline-sweep),transparent var(--charlo-outline-sweep) calc(360deg - var(--charlo-outline-sweep)),var(--gold-lite) calc(360deg - var(--charlo-outline-sweep)) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    mask-composite: exclude;
    --charlo-outline-sweep: 0deg;
    transition: --charlo-outline-sweep .35s linear;
  }
  .card.glass:hover:not(:has(a:hover,button:hover)),
  .card.glass:focus-within:not(:has(a:focus-visible,button:focus-visible)),
  .svc.glass:hover:not(:has(a:hover,button:hover)),
  .svc.glass:focus-within:not(:has(a:focus-visible,button:focus-visible)),
  .studio-grid figure:hover:not(:has(.image-card-action:hover)),
  .studio-grid figure:focus-within:not(:has(.image-card-action:focus-visible)),
  .tools-showcase figure:hover,
  .media-grid figure:hover,
  .media-grid figure:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(201,162,74,.18),0 26px 70px rgba(0,0,0,.42);
  }
  /* When the pointer moves from a card to its own action, return the card to
     rest so the action and the card never animate at the same time. */
  .card.glass:hover:has(a:hover,button:hover),
  .svc.glass:hover:has(a:hover,button:hover),
  .studio-grid figure:hover:has(.image-card-action:hover),
  .card.glass:focus-within:has(a:focus-visible,button:focus-visible),
  .svc.glass:focus-within:has(a:focus-visible,button:focus-visible),
  .studio-grid figure:focus-within:has(.image-card-action:focus-visible) {
    transform: none;
    box-shadow: none;
  }
  .studio-grid figure:hover:not(:has(.image-card-action:hover))::after,
  .studio-grid figure:focus-within:not(:has(.image-card-action:focus-visible))::after,
  .tools-showcase figure:hover::after,
  .media-grid figure:hover::after,
  .media-grid figure:focus-within::after { --charlo-outline-sweep: 180deg; }
  .swap-media:hover > .media-secondary,
  .swap-media:focus-within > .media-secondary { opacity: 1; transform: scale(1); filter: saturate(.92) contrast(1.06) brightness(.88); }
  .style-card-preview:hover::before,
  .style-card-preview:focus-within::before { opacity: .78; transform: scale(1); }
}
.page-motion-off .tools-showcase figure,
.page-motion-off .tools-showcase figure::after{transition:none}
.page-motion-off .tools-showcase figure:hover{transform:none}
@media(prefers-reduced-motion:reduce){
  .tools-showcase figure,.tools-showcase figure::after{transition:none}
  .tools-showcase figure:hover{transform:none}
}

/* Show more of the current shop photograph on the About hero at desktop.
   Touch layouts use the shared, proportional hero veil from page-style.css. */
@media (min-width: 861px) {
  .about-hero::before {
    background:
      linear-gradient(102deg,transparent 0 31%,rgba(15,31,49,.5) 40%,rgba(15,31,49,.24) 52%,rgba(15,31,49,0) 68%),
      linear-gradient(90deg,rgba(7,11,17,.78) 0%,rgba(7,11,17,.52) 36%,rgba(7,11,17,.28) 62%,rgba(7,11,17,.18) 100%),
      var(--hero-image) var(--hero-position,center)/var(--hero-size,cover);
    filter: saturate(.9) contrast(1.03) brightness(.88);
  }
}

/* The French Crop preview keeps the haircut visible while the copy remains
   readable against the left-hand navy veil. */
#french-crop.style-card-preview { --style-card-position: center 20%; }
#french-crop.style-card-preview::before {
  background:
    linear-gradient(90deg,rgba(13,23,35,.98),rgba(13,23,35,.8) 50%,rgba(13,23,35,.18) 78%),
    var(--style-card-image) var(--style-card-position,center 20%) / cover;
}

/* The long style-guide introduction is body copy, so it is allowed a larger,
   lighter reading size than the compact controls above it. */
.about-copy,.style-intro { font-size: clamp(20px,1.6vw,22px); line-height: 1.68; }

/* FAQ answers are long reading copy and remain upright. */
.faq-list details p { font-size: 19px; font-style: normal; line-height: 1.62; }

@media (max-width: 1199px) {
  .nav-links a.link,.nav-links .btn { font-size: 13px; }
  .site-header .mobile-booking-cta { font-size: 10px; }
}
@media (max-width: 540px) {
  .site-header .mobile-booking-cta { font-size: 9px; }
}

@media (max-width: 1199px) {
  .site-header,
  .site-header.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background:
      linear-gradient(105deg,rgba(32,50,73,.3),rgba(201,162,74,.035)),
      rgba(7,11,17,.94);
  }
  .studio-grid figure,
  .media-grid figure,
  .shop-strip-item { border-color: rgba(229,200,119,.26); }
  .swap-media > .media-secondary {
    animation: charlo-touch-swap 10s ease-in-out infinite;
    animation-delay: var(--swap-delay,0s);
  }
  .shop-strip { max-width: 100%; }
}
@keyframes charlo-touch-swap {
  0%,38%,100% { opacity: 0; transform: scale(1.025); }
  48%,88% { opacity: 1; transform: scale(1); }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .studio-grid,
  .charlo-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-grid figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
  .studio-grid figure:not(:first-child) { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .studio-grid,
  .charlo-photo-grid { grid-template-columns: 1fr; }
  .studio-grid figure,
  .studio-grid figure:first-child,
  .studio-grid figure:nth-child(3),
  .studio-grid figure:nth-child(5),
  .charlo-photo-grid figure { grid-column:auto;grid-row:auto;aspect-ratio:4 / 3; }
  .shop-strip-item { flex-basis: 78vw; width: 78vw; height: clamp(120px,38vw,178px); }
  .studio-grid figcaption { gap: 8px; }
  .studio-grid figcaption .image-card-action { width: 100%; white-space: normal; }
  .card p,.card li,.svc p,
  .faq-list details p { font-size: 18px; }
  .about-copy,.style-intro { font-size: 19px; line-height: 1.65; }
  .intro { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-strip-track,
  .swap-media > .media-secondary { animation: none!important; }
  .swap-media > .media-secondary { opacity: 0; }
}
