/* Final visual system: a continuous braid, woven transitions and one editorial rhythm. */
:root {
  --v4-night: #120a08;
  --v4-night-soft: #21120e;
  --v4-cream: #f3e8dc;
  --v4-cream-soft: #e6d5c5;
  --v4-copper: #c9603e;
  --v4-copper-light: #e39469;
  --v4-ink: #20120e;
  --v4-line: rgba(246, 228, 211, .18);
}

body {
  background:
    radial-gradient(circle at 12% 4%, rgba(184, 91, 57, .14), transparent 34rem),
    var(--v4-night);
}

/* Navigation */
.site-header {
  inset: 14px clamp(14px, 2vw, 30px) auto;
  width: auto;
  height: 70px;
  padding: 0 10px 0 20px;
  grid-template-columns: minmax(225px, 1fr) auto minmax(225px, 1fr);
  gap: 18px;
  border: 1px solid rgba(246, 228, 211, .2);
  border-radius: 7px;
  background: rgba(20, 11, 8, .84);
  box-shadow: 0 18px 54px rgba(7, 3, 2, .3), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(20px) saturate(1.2);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -5px;
  height: 5px;
  opacity: .52;
  background:
    radial-gradient(ellipse at center, var(--v4-copper) 0 1.5px, transparent 1.8px) 0 0 / 12px 5px repeat-x;
  pointer-events: none;
}

.brand { grid-template-columns: 110px auto; gap: 15px; }
.brand img { width: 110px; height: 37px; }
.brand span { color: #d3c2b5; font-size: 9px; letter-spacing: .18em; }

.site-nav {
  position: relative;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(246, 228, 211, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}
.site-nav a {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #cdbdb1;
  font-size: 10px;
  letter-spacing: .08em;
  transition: color 180ms ease, background 180ms ease;
}
.site-nav a::after { display: none; }
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff8f0;
  background: rgba(201, 96, 62, .18);
}
.site-nav a[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--v4-copper-light);
  box-shadow: 0 0 0 3px rgba(201,96,62,.14);
}

.header-actions { gap: 8px; }
.language-toggle {
  min-width: 40px;
  width: 40px;
  height: 40px;
  color: #eee0d4;
  border-color: rgba(246, 228, 211, .22);
  background: rgba(255,255,255,.03);
}
.header-book {
  position: relative;
  min-width: 132px;
  min-height: 50px;
  padding: 0 24px 0 46px;
  overflow: hidden;
  color: #fffaf4 !important;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, #d6724e, #ae452a 82%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 10px 24px rgba(117,42,25,.24);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  white-space: nowrap;
  opacity: 1 !important;
}
.header-book::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 50%;
  width: 13px;
  height: 22px;
  transform: translateY(-50%) rotate(8deg);
  border-radius: 50%;
  background:
    linear-gradient(115deg, transparent 33%, rgba(255,245,235,.8) 36% 42%, transparent 45%),
    #3a1e16;
  box-shadow: 5px 0 #5a3024, -3px 0 #1c0d09;
}
.header-book > span,
.header-book { text-indent: 0; visibility: visible; }

.button { justify-content: center; gap: 12px; }
.button::after,
.service-action::after { display: none !important; content: none !important; }

/* Hero and monumental braid */
.hero {
  padding-top: 98px;
  min-height: max(820px, 100svh);
  background:
    linear-gradient(90deg, rgba(10,5,4,.2), transparent 35%),
    repeating-radial-gradient(ellipse at 51% 54%, transparent 0 72px, rgba(226,155,112,.025) 73px 74px),
    radial-gradient(circle at 19% 30%, rgba(137, 64, 42, .24), transparent 34rem),
    linear-gradient(118deg, #24130e 0 49%, #0f0907 73% 100%);
}
.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 50%, rgba(228,154,109,.14) 50.1%, transparent 50.3%),
    radial-gradient(circle at 51% 30%, rgba(229,161,118,.11), transparent 23rem);
}
.hero-word {
  top: 17%;
  left: 1.7vw;
  font-style: normal;
  font-size: clamp(104px, 14vw, 240px);
  letter-spacing: -.055em;
  opacity: .13;
}
.hero-media { top: 0; height: 100%; width: 51%; clip-path: ellipse(77% 88% at 84% 49%); }
.hero-copy { z-index: 8; max-width: 620px; }
.hero-copy h1 { font-size: clamp(72px, 6.5vw, 112px); }
.hero-copy h1 span:last-child { color: var(--v4-copper-light); }

.hero-braid {
  z-index: 7;
  top: -24px;
  left: 51.2%;
  width: 236px;
  height: calc(100% + 48px);
  transform: translate3d(-50%, var(--braid-shift), 0);
  filter: drop-shadow(0 34px 24px rgba(0,0,0,.62));
}
.real-braid-svg,
.page-braid-svg,
.woven-braid-svg { width: 100%; height: 100%; overflow: visible; }
.hero-braid .real-braid-svg,
.page-braid .page-braid-svg,
.woven-core .woven-braid-svg { display: none; }
.photographic-braid,
.photographic-page-braid,
.photographic-woven-braid {
  width: 100%;
  height: 100%;
  display: block;
  background: url("/images/stock/cc0-monumental-braid.png") center / 100% 100% no-repeat;
  filter: grayscale(.72) saturate(.36) brightness(.66) contrast(1.48);
  mix-blend-mode: multiply;
  clip-path: polygon(36% 0, 64% 0, 82% 4%, 96% 10%, 82% 17%, 96% 24%, 82% 31%, 96% 38%, 82% 45%, 96% 52%, 82% 59%, 96% 66%, 82% 73%, 96% 80%, 82% 87%, 92% 94%, 64% 100%, 36% 100%, 8% 94%, 18% 87%, 4% 80%, 18% 73%, 4% 66%, 18% 59%, 4% 52%, 18% 45%, 4% 38%, 18% 31%, 4% 24%, 18% 17%, 4% 10%, 18% 4%);
}
.photographic-braid {
  position: absolute;
  inset: 0;
  transform: scaleX(.92);
  filter: grayscale(.76) saturate(.3) brightness(.62) contrast(1.55) drop-shadow(0 22px 18px rgba(0,0,0,.6));
}
.photographic-page-braid,
.photographic-woven-braid { filter: grayscale(.78) saturate(.28) brightness(.64) contrast(1.55); }
.braid-roots path {
  fill: none;
  stroke: var(--base);
  stroke-width: 38;
  stroke-linecap: round;
}
.braid-continuity {
  fill: none;
  stroke: var(--base);
  stroke-width: 72;
  stroke-linecap: round;
}
.plait-body {
  fill: none;
  stroke-width: 88;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plait-left .plait-body { stroke: var(--left); }
.plait-right .plait-body { stroke: var(--right); }
.plait-texture {
  fill: none;
  stroke: var(--photo);
  stroke-width: 89;
  stroke-linecap: round;
  opacity: .84;
  mix-blend-mode: normal;
}
.plait-gloss {
  fill: none;
  stroke: var(--shine);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .36;
}
.plait-hairline {
  fill: none;
  stroke: rgba(247, 219, 199, .18);
  stroke-width: 1.35;
  stroke-linecap: round;
}
.fibre-soft { opacity: .46; }
.fibre-faint { opacity: .22; }
.braid-spine-gloss {
  fill: none;
  stroke: rgba(244, 211, 188, .16);
  stroke-width: 3;
  stroke-linecap: round;
}
.hero-braid .braid-pin { width: 142px; padding: 8px 8px 22px; border-radius: 1px; }
.hero-braid .braid-pin.pin-one { left: -62px; top: 12%; transform: rotate(-5deg); }
.hero-braid .braid-pin.pin-two { right: -68px; top: 57%; transform: rotate(5deg); }
.hero-braid .braid-bead { width: 44px; height: 25px; border-radius: 5px; }
.hero-braid .braid-nav { left: 254px; top: 24%; gap: 78px; }
.hero-braid .braid-nav a { color: rgba(255,245,235,.78); text-shadow: 0 2px 12px #000; }
.hero-braid .braid-nav a::before { width: 30px; }
.hero-braid .braid-nav a.is-active::before { width: 48px; }

/* The horizontal braid tightens from loose strands while scrolling. */
.woven-break {
  --tighten: 0;
  --strand-scale: .72;
  --core-scale: .7;
  --core-opacity: .25;
  height: clamp(190px, 16vw, 250px);
  margin: clamp(-54px, -3.5vw, -28px) 0;
  border: 0;
  background:
    radial-gradient(ellipse at center, rgba(133,74,53,.28), transparent 25rem),
    linear-gradient(90deg, #120a08, #28150f 50%, #120a08);
}
.woven-break::before,
.woven-break::after { display: none; }
.loose-hair-svg { position: absolute !important; inset: 0; z-index: 1; }
.woven-break .loose-strands {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(var(--strand-scale));
  transition: transform 100ms linear;
}
.woven-break .loose-strands path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.woven-break .hair-shadow { stroke: rgba(0,0,0,.8); stroke-width: 31; }
.woven-break .hair-strand { stroke-width: 19; }
.woven-break .hair-two { stroke-width: 15; }
.woven-break .hair-three { stroke-width: 17; }
.woven-break .hair-four { stroke-width: 12; }
.woven-break .strand-glint { stroke: rgba(245,216,196,.24); stroke-width: 2; }
.woven-core {
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 126px;
  height: 326px;
  transform: translate(-50%, -50%) rotate(90deg) scale(var(--core-scale));
  opacity: var(--core-opacity);
  filter: drop-shadow(0 15px 15px rgba(0,0,0,.58));
}
.woven-core .braid-continuity { stroke-width: 62; }
.woven-core .plait-gloss { stroke-width: 4; }
.tightening-label {
  bottom: 12px;
  padding: 7px 11px;
  color: rgba(243,226,211,.72);
  border: 1px solid rgba(243,226,211,.13);
  border-radius: 999px;
  background: rgba(15,8,6,.42);
  font-size: 8px;
  letter-spacing: .16em;
}

/* Consistent section surfaces and spacing */
.service-section,
.reviews-section,
.catalogue-section,
.full-gallery {
  background:
    radial-gradient(circle at 90% 12%, rgba(151,72,47,.13), transparent 32rem),
    var(--v4-night) !important;
}
.gallery-section,
.about-section,
.faq-section,
.booking-section,
.portfolio-intro {
  background:
    radial-gradient(circle at 10% 16%, rgba(181,94,62,.13), transparent 30rem),
    var(--v4-cream) !important;
}
.care-note,
.gallery-book,
.service-help { background: #321b14 !important; }
.service-card { border-radius: 7px; background: rgba(255,255,255,.035); }
.service-card-body { background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }

/* Home gallery: all eight images form a deliberate editorial composition. */
.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, clamp(76px, 7vw, 112px));
  grid-auto-rows: unset;
  gap: 10px;
}
.gallery-item { border-radius: 4px; box-shadow: 0 14px 34px rgba(62,32,22,.09); }
.gallery-item:nth-child(1) { grid-area: 1 / 1 / 4 / 3; }
.gallery-item:nth-child(2) { grid-area: 1 / 3 / 3 / 4; }
.gallery-item:nth-child(3) { grid-area: 1 / 4 / 4 / 5; }
.gallery-item:nth-child(4) { grid-area: 4 / 1 / 7 / 2; }
.gallery-item:nth-child(5) { grid-area: 3 / 3 / 5 / 4; }
.gallery-item:nth-child(6) { grid-area: 4 / 2 / 7 / 3; }
.gallery-item:nth-child(7) { grid-area: 4 / 4 / 7 / 5; }
.gallery-item:nth-child(8) { grid-area: 5 / 3 / 7 / 4; }
.gallery-item:nth-child(n) img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.025); }
.gallery-item:hover img { filter: saturate(1) contrast(1.02); }
.gallery-item::after {
  content: "View style";
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  color: #fffaf4;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(22,11,8,.75);
  backdrop-filter: blur(8px);
}

/* Full gallery: fixed editorial grid replaces unpredictable masonry columns. */
.full-gallery { padding-top: clamp(75px, 8vw, 120px); }
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  columns: unset;
}
.portfolio-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 4px;
  background: #26140f;
}
.portfolio-photo:nth-child(1),
.portfolio-photo:nth-child(8) { grid-column: span 2; aspect-ratio: 2 / 1.22; }
.portfolio-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.portfolio-photo > span {
  inset: auto 8px 8px;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 3px;
  background: rgba(21,10,7,.74);
  backdrop-filter: blur(7px);
}
.portfolio-photo strong { font-size: 17px; }

/* Secondary page braid is the same construction, cropped as a signature. */
.page-braid {
  right: clamp(8px, 2vw, 28px);
  bottom: -82px;
  width: 96px;
  height: 360px;
  transform: rotate(8deg);
  opacity: .92;
  filter: drop-shadow(0 20px 16px rgba(0,0,0,.5));
}
.page-braid .braid-continuity { stroke-width: 68; }

/* Phone and tablet */
@media (max-width: 1180px) {
  .site-header { grid-template-columns: minmax(180px,1fr) auto minmax(180px,1fr); }
  .site-nav a { padding-inline: 10px; }
  .brand span { display: none; }
  .hero-braid { left: 54%; width: 224px; }
  .hero-braid .braid-nav { display: none; }
}

@media (max-width: 900px) {
  :root { --header: 78px; }
  .site-header {
    inset: 10px 10px auto;
    height: 62px;
    padding: 0 8px 0 15px;
    grid-template-columns: 1fr auto auto;
    border-radius: 6px;
  }
  .site-header::before { left: 17px; right: 17px; bottom: -4px; }
  .brand { grid-template-columns: 92px; }
  .brand img { width: 92px; height: 31px; }
  .menu-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 6px;
    order: 2;
    border: 1px solid rgba(246,228,211,.19);
    border-radius: 50%;
    background: rgba(255,255,255,.035);
  }
  .menu-toggle span:not(.sr-only) { width: 17px; height: 1px; background: #f6e4d3; }
  .header-actions { order: 3; }
  .language-toggle { width: 40px; height: 40px; }
  .header-book { display: none !important; }
  .site-nav {
    position: fixed;
    inset: 82px 10px auto;
    z-index: 99;
    padding: 12px;
    display: grid;
    gap: 3px;
    border-radius: 6px;
    background: rgba(21,11,8,.97);
    box-shadow: 0 22px 60px rgba(0,0,0,.45);
    transform: translateY(-12px) scale(.985);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav a { min-height: 50px; justify-content: start; padding: 0 17px; border-radius: 3px; font-size: 12px; }

  .hero { padding-top: 78px; padding-bottom: 74px; }
  .hero-media { top: 0; width: 100%; height: min(57svh, 580px); }
  .hero-copy { position: relative; z-index: 9; padding-right: 54px; }
  .hero-braid {
    top: 190px;
    right: -19px;
    left: auto;
    width: 152px;
    height: 780px;
    transform: rotate(3deg);
    opacity: .96;
  }
  .hero-braid .braid-pin { width: 88px; padding: 5px 5px 13px; }
  .hero-braid .braid-pin.pin-one { left: -35px; top: 11%; }
  .hero-braid .braid-pin.pin-two { display: none; }
  .hero-braid .braid-bead { width: 27px; height: 18px; }
  .braid-aura { display: block; inset-inline: -12px; }

  .woven-break { height: 170px; margin-block: -28px; }
  .woven-core { width: 90px; height: 250px; }
  .woven-break .hair-shadow { stroke-width: 23; }
  .woven-break .hair-strand { stroke-width: 14; }
  .woven-break .hair-two { stroke-width: 11; }
  .woven-break .hair-four { stroke-width: 8; }

  .gallery-grid { grid-template-rows: repeat(6, 92px); }
  .full-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .hero-media { min-height: 420px; height: 54svh; }
  .hero-copy { padding-right: 18px; }
  .hero-copy h1 { font-size: clamp(52px, 15.8vw, 70px); }
  .hero-braid { display: none; }

  .woven-break { height: 145px; margin-block: -22px; }
  .woven-core { width: 74px; height: 205px; }
  .tightening-label { bottom: 7px; font-size: 6px; letter-spacing: .11em; }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(8, 104px);
    gap: 7px;
  }
  .gallery-item:nth-child(1) { grid-area: 1 / 1 / 4 / 3; }
  .gallery-item:nth-child(2) { grid-area: 4 / 1 / 6 / 2; }
  .gallery-item:nth-child(3) { grid-area: 4 / 2 / 7 / 3; }
  .gallery-item:nth-child(4) { grid-area: 6 / 1 / 9 / 2; }
  .gallery-item:nth-child(5) { grid-area: 7 / 2 / 9 / 3; }
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(8) { grid-area: auto; min-height: 210px; }
  .gallery-grid { grid-auto-flow: dense; grid-auto-rows: 104px; }

  .full-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .portfolio-photo:nth-child(1),
  .portfolio-photo:nth-child(8) { grid-column: span 2; aspect-ratio: 1.55 / 1; }
  .portfolio-photo > span { inset: auto 5px 5px; padding: 8px; }
  .portfolio-photo strong { font-size: 14px; }
  .portfolio-photo small { font-size: 7px; }

  .mobile-book {
    min-width: 170px;
    min-height: 54px;
    left: 50%;
    right: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    color: #fffaf4;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: linear-gradient(135deg, #d6724e, #ae452a);
    box-shadow: 0 14px 34px rgba(49,17,10,.38);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woven-break .loose-strands { transform: scaleY(1); }
}
