/* Multi-page layout: page titles, home "explore" row, services grid, footer */

/* ---------- shared ---------- */
.skip { position: fixed; left: 12px; top: -60px; z-index: 120; padding: 10px 16px; border-radius: 999px; background: var(--gold-hi); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
main h1:not(.hero__name) { font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.services .section-head .lead { margin-top: 1.4rem; max-width: 640px; }
/* inner pages: the first section starts below the floating nav, and the nav is always solid */
body:not(.page-home) main > section:first-child { padding-top: clamp(130px, 14vw, 200px); }
body:not(.page-home) .nav { background: rgba(12, 7, 8, .86); }
.nav__links a[aria-current="page"], .menu > a[aria-current="page"] { color: var(--gold-hi); }
.nav__rating { transition: background .3s; border-radius: 0 999px 999px 0; }
.nav__rating:hover { background: rgba(243,217,161,.08); }
.nav__rating[aria-current="page"] b { text-decoration: underline; text-underline-offset: 4px; }
.menu > a[aria-current="page"]::before { content: '✦ '; font-size: .5em; vertical-align: middle; }
#planner, #faq, .svc, .course { scroll-margin-top: 110px; }

/* page-to-page fade: the nav stays put while the page changes */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
::view-transition-old(root) { animation: vtOut .25s ease both; }
::view-transition-new(root) { animation: vtIn .4s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* ---------- services: one service per row, big photo + text, alternating sides ---------- */
.srows { display: grid; gap: clamp(70px, 9vw, 140px); }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; scroll-margin-top: 100px; }
.srow:nth-child(even) .srow__img { order: 2; }
.srow__img { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; max-height: 78vh; box-shadow: 0 40px 80px rgba(0,0,0,.45); border: 1px solid var(--line); }
.srow__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.4s var(--ease); }
.srow:hover .srow__img img { transform: scale(1.04); }
.srow__text { max-width: 540px; }
.srow__no { display: block; font: 400 clamp(3.4rem, 6vw, 5.4rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 1rem; }
.srow h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: .6rem; }
.srow__tag { font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.35 var(--serif); color: var(--gold-hi); }
.srow__text > p:not(.srow__tag) { color: var(--ivory-2); font-size: 1.02rem; }
.srow .chips { margin: 1.4rem 0 2rem; }
.srow .chips li { font-size: .78rem; padding: 7px 14px; }


/* ---------- about: vision statement ---------- */
.vision { max-width: 980px; margin: clamp(60px, 8vw, 110px) auto 0; padding: clamp(28px, 4vw, 56px); border-radius: 28px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, var(--crimson-deep), var(--ink-2) 75%); border: 1px solid var(--line); }
.vision .eyebrow { color: var(--gold-hi); }
.vision__text { margin: 0; font: 400 clamp(1.3rem, 2.2vw, 1.9rem)/1.45 var(--serif); color: var(--ivory); }

/* ---------- about: awards, dark like every other page ---------- */
.awards { background: var(--ink); color: var(--ivory); }
.awards .foil { --foil-a: #b8893f; --foil-b: #f3d9a1; --foil-hi: #fffaf0; }
.award { background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.award b { color: var(--ivory); }
.award span { color: var(--gold); }

/* ---------- portfolio: dark like every other page ---------- */
.work { background: var(--ink); color: var(--ivory); }
.work .foil { --foil-a: #b8893f; --foil-b: #f3d9a1; --foil-hi: #fffaf0; }
.filters button { border-color: rgba(243,217,161,.3); color: var(--ivory-2); }
.filters button.is-active, .filters button:hover { background: var(--gold-hi); color: var(--ink); border-color: var(--gold-hi); }
.g { background: var(--ink-2); border: 1px solid var(--line); }
.g figcaption { background: rgba(12,7,8,.78); color: var(--ivory); }

/* ---------- real brides: dark like every other page ---------- */
.stories { background: var(--ink); color: var(--ivory); }
.stories .foil { --foil-a: #b8893f; --foil-b: #f3d9a1; --foil-hi: #fffaf0; }
.story__kicker { color: var(--gold); }
.story__text > p:not(.story__kicker) { color: var(--ivory-2); }
.story__chips li { border-color: rgba(243,217,161,.35); color: var(--gold-hi); }
.story blockquote { color: var(--ivory); border-left-color: var(--gold); }
.story cite { color: var(--muted); }
.story__img { box-shadow: 0 30px 60px rgba(0,0,0,.45); }

/* ---------- map card: a small Google map in the footer; the whole card opens Google Maps ---------- */
.mapcard { position: relative; width: 100%; max-width: 320px; aspect-ratio: 16/11; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #1d1416;
  box-shadow: 0 16px 36px rgba(0,0,0,.4); transition: transform .4s var(--ease), border-color .3s; }
.mapcard:hover { transform: translateY(-3px); border-color: var(--gold); }
/* dark, slightly warm map centred on the studio; Google's credit line stays visible at the bottom */
.mapcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95) sepia(.15); }
/* our own gold pin over the studio (the map's centre) */
.mapcard__pin { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-13px, -34px); display: flex; align-items: flex-start; gap: 6px; color: var(--gold-hi); pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.mapcard__pin b { margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(12,7,8,.82); border: 1px solid var(--line); font: 600 .72rem/1.3 var(--sans); color: var(--gold-hi); white-space: nowrap; }
.mapcard__open { position: absolute; inset: 0 0 22px; z-index: 2; }   /* the whole card (except Google's credit line) opens Google Maps */
.footer__map { justify-self: end; }

/* ---------- home: cards linking to every page, phones only (desktop has the menu bar) ---------- */
.explore { display: none; }
.tcard { position: relative; display: block; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.tcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,7,8,.92) 15%, transparent 60%); }
.tcard__body { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 4px; }
.tcard__body b { font: 400 1.25rem/1.15 var(--serif); }
.tcard__body span { font-size: .74rem; color: var(--gold-hi); letter-spacing: .03em; }

/* ---------- products Tama uses: an even row of ivory brand logos ---------- */
.brands-strip { text-align: center; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); }
.brands-strip .eyebrow { color: var(--gold); }
.brands-strip__title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.brands-strip__lead { max-width: 560px; margin: 1.2rem auto clamp(36px, 5vw, 60px); color: var(--ivory-2); }
.brands-strip__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(26px, 4vw, 54px) clamp(30px, 5vw, 70px); }
.brands-strip__list img { display: block; height: auto; max-width: 100%; opacity: .78; transition: opacity .4s, transform .4s var(--ease); }
.brands-strip__list li:hover img { opacity: 1; transform: translateY(-2px); }

/* ---------- footer ---------- */
.footer { text-align: left; padding-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.footer__logo { margin: 0 0 18px; width: clamp(130px, 14vw, 180px); }
.footer__line { max-width: 34ch; }
.footer h2 { font: 600 .74rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4rem; }
.footer__contact a { color: var(--ivory-2); transition: color .3s; }
.footer__contact a:hover { color: var(--gold-hi); }
.footer__contact { text-align: center; }
.footer__contact p { color: var(--muted); font-size: .95rem; }

/* ---------- smaller laptops: six links + rating + CTA need tighter spacing ---------- */
@media (max-width: 1280px) {
  .nav__links a { padding: 12px 10px; font-size: .88rem; }
}
@media (max-width: 1100px) {
  .nav__rating { display: grid; padding: 4px 12px; }   /* style.css hides it here; the bar has room now */
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__map { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 1000px) {
  .nav__links a { padding: 12px 7px; font-size: .84rem; }
  .nav__brand { padding-right: 10px; margin-right: 2px; }
  .nav__brand img { height: 36px; }
}
/* ---------- phones ---------- */
@media (max-width: 800px) {
  body:not(.page-home) main > section:first-child { padding-top: 120px; }
  .nav__rating { display: none; }   /* phones: Reviews is in the menu */
  .explore { display: block; padding-top: 40px; }
  /* reviews videos: a 2-column grid instead of a sideways row, so no clip is cut off at the edge; clear of the icon column */
  .reels { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; margin: 0; padding: 0 26px; gap: 12px; }
  .reel figcaption { left: 10px; right: 10px; bottom: 10px; }
  .reel figcaption b { font-size: 1rem; }
  .reel figcaption span { font-size: .62rem; }
  .reel__sound { right: 8px; top: 8px; width: 32px; height: 32px; }
  /* phones: three small logos per row instead of one big logo per line */
  .brands-strip__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 14px; justify-items: center; padding: 0 30px; }   /* clear of the floating icon column on the right */
  .brands-strip__list img { width: auto; height: auto; max-width: 100%; max-height: 30px; }
  .explore__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .srow { grid-template-columns: 1fr; gap: 24px; }
  .srow:nth-child(even) .srow__img { order: 0; }
  .srow__img { aspect-ratio: 4/5; max-height: none; }
  .srow__no { font-size: 3rem; margin-bottom: .6rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
  .footer__meta { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- social icons: a quiet column of dark circles with gold icons on the right edge (phones too, smaller) ---------- */
.page-contact .social { display: none; }   /* the booking page keeps its own contact details; no floating icons */
.social { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 55; display: grid; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(12,7,8,.82); color: var(--gold-hi);
  border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.social svg { width: 17px; height: 17px; }
.social a:hover, .social a:focus-visible { background: var(--gold-hi); color: var(--ink); border-color: var(--gold-hi); }
@media (max-width: 800px) {
  /* phones: the same five icons in a slim column on the right edge (as before), in the desktop colours */
  .social { right: 6px; gap: 5px; }
  .social a { width: 30px; height: 30px; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
  .social svg { width: 13px; height: 13px; }
}
