/* ==========================================================================
   Bishoen Kyoto — Wedding Photo Studio LP
   ========================================================================== */

:root {
  --color-bg: #fbf9f8;
  --color-bg-alt: #f5f2ed;
  --color-surface: #FFFFFF;
  --color-charcoal: #211B15;
  --color-charcoal-2: #2B241C;
  --color-text: #2B2620;
  --color-text-soft: #6E6656;
  --color-accent: #B5722E;
  --color-accent-dark: #8F5722;
  --color-gold: #C08A2E;
  --color-premium-gold: #ceb41f;
  --color-border: #E5DAC3;
  --color-cream-line: #E9E0CB;
  --color-black: #000000;

  --font-display: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;

  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-card: 0 10px 30px -14px rgba(43, 38, 32, .28);
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--color-charcoal);
}

/* language toggling --------------------------------------------------- */
html[data-lang="en"] .lang.ja {
  display: none;
}

html[data-lang="ja"] .lang.en {
  display: none;
}

html[data-lang="ja"] body {
  font-feature-settings: "palt";
}

/* placeholder image blocks --------------------------------------------- */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, #E4D7BC 0%, #D3C5A2 45%, #E4D7BC 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c6c46;
}

.ph::before {
  content: attr(data-ph);
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .02em;
  text-align: center;
  padding: 0 10%;
  opacity: .85;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 2px, transparent 2px 14px);
  pointer-events: none;
}

/* layout helpers -------------------------------------------------------- */
.section {
  padding: 56px 0;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow-inner {
  max-width: 820px;
}

.alt-bg {
  background: var(--color-bg-alt);
}

.eyebrow {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  margin: 0 0 8px;
}

.eyebrow.center {
  text-align: center;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

.body-text {
  color: var(--color-text-soft);
  font-size: .96rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 2px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  width: 100%;
  margin-top: 18px;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-lg {
  padding: 15px 30px;
  font-size: .9rem;
}

.full {
  width: 100%;
}

.view-all-mobile {
  display: inline-flex;
}

.view-all-desktop {
  display: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 246, 238, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Fixed header compensation */
main {
  padding-top: var(--header-h);
}

/* row 1 — utility bar, PC/desktop only */
.header-top {
  display: none;
}

.header-top-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

/* row 2 — logo / nav / CTA */
.header-main {
  border-bottom: 1px solid var(--color-border);
}

.header-main-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  height: 40px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .03em;
  line-height: 1.15;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--color-text-soft);
}

.logo-text.light {
  color: #F3E7CE;
}

.logo-text.light small {
  color: #C9BB99;
}

.btn-header {
  display: none;
  padding: 11px 20px;
}

.menu-area_sp {
  position: relative;
  display: flex;
  gap: 15px;
}

.lang-switch,
.lang-switch_sp {
  position: relative;
}

.lang-switch,
.lang-switch_sp >button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 12px;
}

.lang-switch img {
  display: inline;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-width: 120px;
  z-index: 5;
}

.lang-menu li {
  padding: 10px 14px;
  font-size: .82rem;
  cursor: pointer;
}

.lang-menu li:hover {
  background: var(--color-bg-alt);
}

.hamburger {
  width: 34px;
  height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--color-charcoal);
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: min(80vw, 320px);
  background: var(--color-surface);
  clip-path: inset(0 0 0 100%);
  -webkit-clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path .3s ease, visibility 0s linear .3s;
  overflow-y: auto;
  padding: 26px 24px 40px;
  box-shadow: -8px 0 30px -12px rgba(0, 0, 0, .2);
  z-index: 91;
  contain: paint;
}

.main-nav.open {
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  visibility: visible;
  transition: clip-path .3s ease;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 0;
}

.main-nav a {
  display: block;
  padding: 12px 4px;
  font-size: .98rem;
  border-bottom: 1px solid var(--color-cream-line);
}

/* PC-only inline nav, hidden below 1024px (the drawer above is used instead) */
.desktop-nav {
  display: none;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 500;
}

.contact-pill.line {
  border-color: #06C755;
  color: #06C755;
}

.contact-pill.whatsapp {
  border-color: #25D366;
  color: #25D366;
}

/* drawer-only extras: language toggle, contact pills, CTA — all the
   controls that move into row 1 / btn-header once the PC header appears */
.drawer-extra {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--color-cream-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin: 0 0 8px;
}

.drawer-lang-options {
  display: flex;
  gap: 8px;
}

.drawer-lang-options button {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 9px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.drawer-lang-options button.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-contact img {
  display: inline;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 10, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 90;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--color-charcoal);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 10, .15) 0%, rgba(18, 14, 9, .55) 55%, rgba(15, 11, 7, .88) 100%);
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .75);
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px 36px;
  width: 100%;
  max-width: 640px;
}

.hero h1 {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.35;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.hero-sub {
  font-size: .92rem;
  color: #F1E9D8;
  margin-bottom: 22px;
  max-width: 480px;
}

.hero .btn-primary {
  margin-bottom: 18px;
}

.hero-quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 150px;
  background: rgba(250, 246, 238, .96);
  color: var(--color-charcoal);
  border-radius: 30px;
  padding: 8px 16px 8px 8px;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45);
  transition: background .2s ease, transform .2s ease;
}

.hero-quick-link:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero-quick-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-quick-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--color-accent);
}

.hero-badge-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 5px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  padding-top: 20px;
}

.hero-badge {
  position: relative;
  padding: 10px 15px;
  text-align: center;
}

.badge-text {
  font-size: 12px;
  margin-block-start: 35px;
}

.badge-icon-left {
  position: absolute;
  color: var(--color-gold);
  top: 15%;
  right: 78%;
}

.badge-icon-right {
  position: absolute;
  color: var(--color-gold);
  top: 15%;
  left: 78%;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.intro-media {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.intro-media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease;
}

.intro-media-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.tag-list li {
  display: contents;
}

.tag-btn {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .76rem;
  color: var(--color-text-soft);
  background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tag-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.tag-btn.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid {
  margin-top: 28px;
}

.why-card {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 80px 1fr;
  gap: 5px;
  text-align: left;
  padding: 6px 8px;
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.why-card h3 {
  font-size: 1.02rem;
  color: var(--color-gold);
  height: 90px;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.why-card p {
  font-size: .86rem;
  color: var(--color-text-soft);
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

/* ==========================================================================
   locations
   ========================================================================== */
.location-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.location-list::-webkit-scrollbar {
  height: 6px;
}

.location-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.location-card {
  position: relative;
  flex: 0 0 62%;
  scroll-snap-align: start;
  height: 130px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  
  .location-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg, transparent, rgba(15, 11, 7, .75));
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
  }
  
  .location-label small {
    font-weight: 400;
    font-size: .7rem;
    opacity: .85;
  }
  

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "eyebrow"
    "heading"
    "rule"
    "desc"
    "media"
    "badges";
  row-gap: 14px;
}

.team-eyebrow-row {
  grid-area: eyebrow;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.team-eyebrow {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-eyebrow::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--color-border);
}

.team-mon {
  color: var(--color-gold);
  opacity: .8;
  flex-shrink: 0;
}

.team-heading {
  grid-area: heading;
  margin: 0;
}

.team-rule {
  grid-area: rule;
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

.team-desc {
  grid-area: desc;
  margin: 0;
}

.team-desc-lead {
  margin: 0;
}

/* supplementary paragraphs under the intro: manager / photographers / structure */
.team-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-cream-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-detail .body-text {
  margin: 0;
  font-size: .9rem;
}

.team-media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* signature + label overlays are a PC-only flourish (see Team_B / SP mock) */
.team-signature,
.team-photo-label {
  display: none;
}

.team-badges {
  grid-area: badges;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.team-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.team-badge-text strong {
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.team-badge-text small {
  font-size: .72rem;
  color: var(--color-text-soft);
  font-weight: 500;
}

/* ==========================================================================
   Horizontal scroll row helper (photographers / gallery / plans)
   ========================================================================== */
.photographer-scroll,
.gallery-scroll,
.plan-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.photographer-scroll::-webkit-scrollbar,
.gallery-scroll::-webkit-scrollbar,
.plan-scroll::-webkit-scrollbar {
  height: 6px;
}

.photographer-scroll::-webkit-scrollbar-thumb,
.gallery-scroll::-webkit-scrollbar-thumb,
.plan-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

/* photographers */
.photographer-card {
  flex: 0 0 62%;
  scroll-snap-align: start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.photographer-photo {
  aspect-ratio: 3/4;
}

.photographer-card h3 {
  font-size: 1.02rem;
  padding: 14px 14px 4px;
}

.photographer-card p {
  font-size: .8rem;
  color: var(--color-text-soft);
  padding: 0 14px 16px;
}

/* gallery */
.gallery-item {
  position: relative;
  display: block;
  flex: 0 0 72%;
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: #E9DFC9;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* "there's more to the right" arrows for the gallery scroller */
.gallery-wrap {
  position: relative;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  margin-top: -25px; /* centres on the photos (scroller has 6px bottom padding) */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 18px -6px rgba(43, 38, 32, .5);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.gallery-arrow[hidden] {
  display: none;
}

.gallery-arrow:hover {
  background: var(--color-accent);
  color: #fff;
}

.gallery-arrow-prev {
  left: 8px;
}

.gallery-arrow-next {
  right: 8px;
}

/* Instagram link button under the gallery */
.gallery-insta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-insta {
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 390px;
  padding: 14px 22px;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  color: var(--color-accent-dark);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.gallery-insta:hover {
  background: rgba(181, 114, 46, .08);
  border-color: var(--color-accent-dark);
}

.gallery-insta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.gallery-insta-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-charcoal);
}

.gallery-insta-sub {
  font-size: .6rem;
  letter-spacing: .26em;
  color: var(--color-accent);
}

.gallery-insta-arrow {
  justify-self: end;
}

.gallery-more {
  background: var(--color-charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  padding: 0 16px;
}

/* ==========================================================================
   PLANS
   ========================================================================== */

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.plan-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* photo + overlay tagline ------------------------------------------------ */
.plan-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.plan-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px 20px;
  color: #fff;
  background: linear-gradient(0deg, rgba(15, 11, 7, .68) 0%, rgba(15, 11, 7, .15) 55%, transparent 100%);
}

.plan-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 12px;
}

.plan-photo-rule {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 10px;
}

.plan-photo-label {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.6;
  margin: 0;
  opacity: .9;
}

/* content panel ----------------------------------------------------------- */
.plan-body {
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
}

.plan-body-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--color-accent);
  margin: 0;
  padding-top: 8px;
  position: relative;
}

.plan-number::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color-border);
  margin-left: 10px;
  vertical-align: middle;
}

.plan-mon {
  color: var(--color-gold);
  flex-shrink: 0;
  opacity: .85;
}

.plan-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.plan-title-row h3 {
  font-size: 1.3rem;
}

.plan-flag {
  background: var(--color-accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: .03em;
  white-space: nowrap;
}

.plan-desc {
  font-size: .86rem;
  color: var(--color-text-soft);
  margin: 8px 0 0;
  line-height: 1.7;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 14px 0 0;
}

.plan-price small {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  color: var(--color-text-soft);
  margin-left: 4px;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--color-cream-line);
  margin: 16px 0;
}

.plan-section-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-accent);
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-note {
  font-size: .7rem;
  font-weight: 500;
  color: var(--color-text-soft);
  letter-spacing: 0;
}

.plan-includes {
  display: flex;
  flex-direction: column;
}

.plan-includes li {
  font-size: .82rem;
  color: var(--color-text-soft);
  padding-left: 15px;
  position: relative;
}

.plan-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.plan-annotation {
  margin-top: 20px;
}

.plan-location-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-location-thumb {
  flex: 1;
  min-width: 90px;
  text-align: center;
}

.plan-location-thumb .ph,
.plan-location-thumb img {
  margin: 0 auto;
  border-radius: 8px;
  margin-bottom: 6px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.plan-location-thumb span {
  font-size: .7rem;
  color: var(--color-text-soft);
}

.plan-contact-cta {
  margin-top: 28px;
  padding: 30px 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-cream-line);
  text-align: center;
}

.plan-contact-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 10px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.plan-contact-eyebrow::before,
.plan-contact-eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: var(--color-border);
}

.plan-contact-cta h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.6;
}

.plan-contact-text {
  margin: 8px 0 18px;
  color: var(--color-text-soft);
  font-size: .82rem;
  line-height: 1.8;
}

.plan-contact-button {
  width: 100%;
  max-width: 460px;
  min-height: 58px;
  padding: 10px 18px;
  gap: 12px;
  text-align: left;
}

.plan-contact-button > span {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  line-height: 1.35;
}

.plan-contact-button small {
  display: block;
  margin-top: 3px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .16em;
}

.plan-contact-arrow {
  flex-shrink: 0;
  margin-left: auto;
} 

.plan-cta {
  margin-top: 24px;
  width: 100%;
}

.compare-toggle {
  margin-top: 16px;
}

/* PC comparison table (hidden on mobile) */
.plan-compare-table {
  display: none;
}

.premium {
  border: 5px solid var(--color-premium-gold);
  background-color: var(--color-black);
}


.premium h3 {
  color: var(--color-gold);
}

.premium .plan-desc,
.premium li,
.premium .plan-note,
.premium .plan-location-thumb span {
  color: var(--color-surface)
}

.premium-badge {
  position: absolute;
  width: 100px;
  z-index: 10;
  top: 10px;
  left: 15px;
}

/* ==========================================================================
   FLOW
   ========================================================================== */
.flow-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.steps-list {
  position: relative;
  margin-top: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0 20px;
}

.step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
}

.step-item + .step-item {
  border-top: 1px solid var(--color-cream-line);
}

/* connecting line running through the icon circles */
.step-item::before,
.step-item::after {
  content: "";
  position: absolute;
  left: 21px;
  width: 1px;
  background: var(--color-border);
}

.step-item::before {
  top: 0;
  height: 22px;
}

.step-item::after {
  top: 66px;
  bottom: 0;
}

.step-item:first-child::before {
  display: none;
}

.step-item:last-child::after {
  display: none;
}

.step-icon-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
  padding-top: 2px;
}

.step-num {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 2px;
}

.step-title {
  font-weight: 700;
  font-size: .96rem;
  color: var(--color-charcoal);
  margin: 0 0 6px;
}

.step-desc {
  font-size: .83rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.65;
}

.video-caption {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 12px;
}

.video-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  position: relative;
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.video-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 3px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.reviews-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 18px 0 20px;
}

.reviews-label {
  font-weight: 600;
  font-size: .86rem;
  margin-bottom: 6px;
}

.reviews-score {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0;
}

.stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.reviews-count {
  font-size: .78rem;
  color: var(--color-text-soft);
  margin: 2px 0 10px;
}

.reviews-copy {
  font-size: .86rem;
  color: var(--color-text-soft);
  max-width: 340px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  overflow-x: hidden;
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.testimonial-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
}

.testimonial-photo::before {
  font-size: .55rem;
}

.quote {
  font-size: .88rem;
  color: var(--color-text);
  margin-bottom: 12px;
}

.testimonial-card .stars {
  margin-bottom: 8px;
  display: block;
}

.attribution {
  font-size: .8rem;
  color: var(--color-text-soft);
  font-weight: 600;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.t-prev,
.t-next {
  font-size: 1.6rem;
  color: var(--color-accent);
  line-height: 1;
}

.t-dots {
  display: flex;
  gap: 6px;
}

.t-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  display: block;
}

.t-dots i.active {
  background: var(--color-accent);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  margin-top: 20px;
  border-top: 1px solid var(--color-cream-line);
}

.faq-item {
  border-bottom: 1px solid var(--color-cream-line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
}

.faq-icon {
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-item:has(.faq-q[aria-expanded="true"]) .faq-a {
  max-height: 1000px; /* answers can now run to several paragraphs */
}

.faq-a p {
  font-size: .84rem;
  color: var(--color-text-soft);
  margin: 0;
  padding: 0 4px 10px;
}

.faq-a p:last-child {
  padding-bottom: 16px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--color-text);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.channel-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.channel-buttons img {
  height: 60px;
}

.channel-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 10px;
  background-color: var(--color-bg);
}

.channel-btn span:first-child {
  font-size: 1.5rem;
}

.channel-btn.line {
  color: #06C755;
}

.channel-btn.whatsapp {
  color: #25D366;
}

.contact-form .contact-message {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* same look as the other field labels */
.contact-form .field-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-charcoal);
  color: #D8CDB4;
  padding: 44px 0 20px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-langs {
  display: flex;
  gap: 14px;
  margin: 16px 0 14px;
  font-size: .76rem;
  color: #B8AC8C;
}

.footer-social {
  display: flex;
  gap: 14px;
  font-size: 1.1rem;
  color: #B8AC8C;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-heading {
  font-weight: 700;
  color: #F3E7CE;
  font-size: .82rem;
  margin-bottom: 10px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: .8rem;
  color: #B8AC8C;
}

.footer-copy {
  text-align: center;
  font-size: .7rem;
  color: #8B8064;
  margin: 32px 0 0;
  padding: 0 20px;
}

/* ==========================================================================
   MOBILE SAFETY FIXES — iOS Safari
   --------------------------------------------------------------------------
   Keep the mobile header opaque and avoid backdrop-filter compositing around
   the full-screen hero. The hamburger drawer stays inside the viewport and
   is clipped rather than translated outside the viewport.
   ========================================================================== */
@media (max-width:767px) {
  .site-header {
    background: rgba(250, 246, 238, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-media,
  .hero-gradient,
  .hero-slide {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .hero-media {
    isolation: isolate;
    position: absolute;
    inset: 0;
  }

  .hero 
  {
    position: relative;
    isolation: isolate;
  }

  .hero-slide,
  .hero-gradient {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .testimonial-track {
    display: flex;
    overflow: hidden;
  }

  .hero-content {
    max-width: 450px;
  }

  .why-card h3 {
    height: auto;
  }

  .badge-icon-left,
  .badge-icon-right
  {
    top: 0;
  }

  .badge-text {
    font-size: 14px;
    margin-block-start: 30px;
  }

  .google-review-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }

  .google-review-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
    line-height: 1.7;
  }
  .testimonial-track {
    display: block;
    overflow: hidden;
    width: 100%;
  }

  .testimonial-track .google-review-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    flex: none;
  }

  .google-review-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
    line-height: 1.7;
  }

  .google-review-card-link {
    margin-top: 10px;
  }

  .testimonial-nav {
    display: flex;
  }

  .testimonial-nav button:disabled {
    opacity: .45;
    cursor: default;
  }

  .t-dots i {
    cursor: pointer;
  }

  #googleReviewsTrack.testimonial-track,
  .testimonial-track {
    display: flex !important;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
  }

  #googleReviewsTrack.testimonial-track::-webkit-scrollbar,
  .testimonial-track::-webkit-scrollbar {
    display: none;
  }

  #googleReviewsTrack .google-review-card,
  .testimonial-track .google-review-card {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    scroll-snap-align: start;
  }

  .google-review-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
    line-height: 1.7;
  }

  .testimonial-nav {
    display: flex !important;
  }

  .testimonial-nav button:disabled {
    opacity: .45;
    cursor: default;
  }

  .t-dots i {
    cursor: pointer;
  }

}

/* ==========================================================================
   TABLET / DESKTOP (≥768px) — "並べる" pattern per spec
   ========================================================================== */
@media (min-width:768px) {
  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    max-width: 640px;
    padding: 0 48px 60px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-badge-list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .hero-quick-link {
    flex: initial;
    min-width: 200px;
    padding: 10px 22px 10px 10px;
    font-size: .85rem;
  }

  .hero-quick-icon {
    width: 38px;
    height: 38px;
  }

  .hero-dots {
    bottom: 24px;
    gap: 10px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .intro-grid {
    display: grid;
    grid-template-columns: 50% 1fr;
    flex-direction: row;
    gap: 80px;
  }

  .intro-text {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
 
  .intro-grid > picture img {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    margin: auto 0;
    width: 100%;
    height: auto;
  }

  .intro-castomer {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  .why-grid {
    display: flex;
  }

  .why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
  }

  .team-grid {
    row-gap: 18px;
  }

  .team-eyebrow-row {
    max-width: 480px;
  }

  .photographer-scroll,
  .location-list,
  .plan-scroll {
    display: grid;
    overflow: visible;
    gap: 20px;
  }

  .photographer-scroll {
    grid-template-columns: repeat(4, 1fr);
  }

  /* gallery stays a horizontal scroller on tablet/PC: 3 photos visible at a time */
  .gallery-scroll {
    gap: 20px;
  }

  .gallery-arrow {
    width: 46px;
    height: 46px;
    margin-top: -29px;
  }

  .gallery-arrow-prev {
    left: 14px;
  }

  .gallery-arrow-next {
    right: 14px;
  }

  .gallery-item {
    flex: 0 0 calc((100% - 40px) / 3);
  }

  .location-card,
  .photographer-card {
    scroll-snap-align: none;
  }

  .location-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-head-row {
    margin-bottom: 32px;
  }

  .view-all-desktop {
    display: inline-flex;
    width: auto;
    margin-top: 0;
    padding: 12px 22px;
  }

  .view-all-mobile {
    display: none;
  }

  .flow-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .flow-steps {
    flex: 1.1;
  }

  .flow-video {
    flex: 1;
    position: sticky;
    top: 100px;
  }

  .steps-list {
    padding: 0 28px;
  }

  .step-item {
    padding: 26px 0;
    gap: 20px;
  }

  .step-item::after {
    top: 74px;
  }

  .step-icon-wrap {
    width: 48px;
    height: 48px;
  }

  .step-item::before,
  .step-item::after {
    left: 23px;
  }

  .testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    overflow: visible;
  }

  .testimonial-nav {
    display: none;
  }

  .reviews-summary {
    max-width: 420px;
    margin: 18px 0 32px;
    text-align: left;
    padding: 26px 30px;
  }

  .faq-list {
    column-count: 2;
    column-gap: 32px;
  }

  .faq-item {
    break-inside: avoid;
  }

  .contact-grid {
    flex-direction: row;
    gap: 60px;
  }

  .contact-form-wrap {
    flex: 1.2;
  }

  .contact-channels {
    flex: 1;
  }

  .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-form label.full,
  .contact-form button.full {
    grid-column: 1 / -1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }

  .footer-brand {
    grid-template-columns: 1fr 1fr;
    flex: 1;
    max-width: 280px;
  }

  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    flex: 2;
    gap: 32px;
  }



    .back-to-top {
      right: 28px;
      bottom: 28px;
      width: 50px;
      height: 50px;
    }
  


    .google-review-quote {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 9;
      overflow: hidden;
    }
  
    .google-review-card {
      min-height: 360px;
    }
  
}

@media (max-width:540px) {

  .hero {
    min-height: calc(700px - var(--header-h));
  }

  .hero-content {
    padding: 0 20px 28px;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: .82rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .hero .btn-primary {
    margin-bottom: 14px;
  }

  .hero-quick-links {
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero-quick-link {
    min-width: 0;
    padding: 7px 12px 7px 6px;
    font-size: .72rem;
    gap: 8px;
  }

  .hero-quick-icon {
    width: 28px;
    height: 28px;
  }

  .hero-quick-icon img {
    width: 14px;
    height: 14px;
  }

  .hero-badge-list {
    gap: 4px 2px;
    padding-top: 12px;
  }

  .hero-badge {
    padding: 5px 10px;
  }

  .badge-text {
    font-size: .72em;
    margin-block-start: 18px;
  }

  .badge-icon-left {
    top: 0;
    right: 80%;
  }
  
  .badge-icon-right {
    top: 0;
    left: 80%;
  }

  .btn-lg {
    max-width: 200px;
  }
}

/* ==========================================================================
   DESKTOP (≥1024px) — full header nav becomes visible, hamburger hidden
   ========================================================================== */
@media (min-width:1024px) {/* PC: utility bar (38px) + main header (64px) */
  :root {
    --header-h: 102px;
  }

  main {
    padding-top: var(--header-h);
  }

  
  html {
    scroll-padding-top: calc(38px + 78px + 12px);
  }

  /* row 1 utility bar becomes visible */
  .header-top {
    display: block;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-contact {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .contact-pill {
    padding: 7px 14px;
    font-size: .75rem;
  }

  /* row 2 becomes the full nav row; hamburger + drawer are no longer used */
  .header-main-inner {
    height: 78px;
    padding: 0 32px;
    gap: 24px;
  }

  .hamburger,
  .lang-switch_sp {
    display: none;
  }

  .nav-overlay {
    display: none;
  }

  /* the fixed drawer isn't used on desktop at all now — .desktop-nav
     (a separate, simple in-flow element) handles the nav row instead */
  .main-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .desktop-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .desktop-nav a {
    padding: 6px 0;
    font-size: .86rem;
    font-weight: 500;
    white-space: nowrap;
  }

  .desktop-nav a:hover {
    color: var(--color-accent);
  }

  /* everything here lives in row 1 / btn-header on PC */
  .btn-header {
    display: inline-flex;
  }

  .section-inner {
    padding: 0 32px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 560px;
  }

  .hero-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .why-grid {
    gap: 36px;
  }

  .team-grid {
    grid-template-columns: 42% 1fr;
    grid-template-areas:
      "eyebrow media"
      "heading media"
      "rule    media"
      "desc    media"
      "badges  media";
    column-gap: 64px;
    row-gap: 14px;
    align-items: start;
  }

  .team-eyebrow-row {
    max-width: none;
  }

  .team-badges {
    margin-top: 12px;
  }

  .team-media {
    align-self: stretch;
  }

  .team-photo {
    height: 100%;
    aspect-ratio: auto;
  }

  .team-signature {
    display: block;
    position: absolute;
    top: 28px;
    right: 26px;
    margin: 0;
    font-family: "Dancing Script", cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    writing-mode: vertical-rl;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  }

  .team-photo-label {
    display: block;
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #fff;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.65;
  }

  .team-photo-label::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-gold);
    margin-bottom: 9px;
  }

  .photographer-scroll {
    gap: 28px;
  }

  .plan-card {
    flex-direction: row;
    align-items: stretch;
  }

  .plan-photo {
    flex: 0 0 42%;
    aspect-ratio: 4/5;
  }

  .plan-body {
    flex: 1;
    padding: 32px 40px 36px;
  }

  .plan-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 6px;
  }

  .plan-title-row h3 {
    font-size: 1.5rem;
  }

  .plan-price {
    font-size: 2rem;
    margin-top: 10px;
  }

  .plan-divider {
    margin: 14px 0;
  }

  .plan-location-thumbs {
    width: 100%;
  }

  .plan-cta {
    width: auto;
    min-width: 260px;
    margin-top: 20px;
  }

  .plan-contact-cta {
    margin-top: 32px;
    padding: 34px 32px;
  }

  .plan-contact-cta h3 {
    font-size: 1.45rem;
  }

  .plan-contact-text {
    font-size: .88rem;
    margin-bottom: 20px;
  }

  .plan-contact-button {
    min-height: 62px;
    padding: 11px 24px;
  }

  .contact-form {
    gap: 18px;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}

@media (min-width:1400px) {
  .section-inner {
    padding: 0 20px;
  }
}

/* reduced motion ---------------------------------------------------------- */
/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
   .back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 95;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -10px rgba(43, 38, 32, .5);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  
  .back-to-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(43, 38, 32, .55);
  }
  
  .back-to-top:active {
    transform: translateY(0);
  }
  
  

/* reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

/* focus visibility --------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   MOBILE HEADER / SAFARI V2
   --------------------------------------------------------------------------
   Explicitly pin the logo and SP controls inside the viewport.
   This avoids flex-layout compression/overflow issues on real iPhones.
   ========================================================================== */

@media (max-width: 1023px) {

  /* Keep the page from becoming horizontally scrollable. */
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 246, 238, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* The fixed header overlays the hero on SP/tablet.
     Do not add a blank block below the header. */
  main {
    padding-top: 0;
  }

  .header-main {
    width: 100%;
  }

  .header-main-inner {
    position: relative;
    width: 100%;
    max-width: none;
    height: var(--header-h);
    min-height: var(--header-h);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  /* Logo: always visible on SP/tablet. */
  .logo {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 150px);
  }

  .logo-mark {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
  }

  .logo-mark img {
    display: block;
    width: auto;
    height: 40px;
    max-width: 40px;
  }

  .logo-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 1 auto;
    min-width: 0;
    font-size: .92rem;
    line-height: 1.15;
    white-space: nowrap;
    color: var(--color-gold);
  }

  .logo-text small {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: .55rem;
    white-space: nowrap;
  }

  /* SP controls: always visible; desktop media query hides them only at >=1024px. */
  .menu-area_sp {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    width: auto;
    transform: translateY(-50%);
  }

  .lang-switch_sp {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .lang-switch_sp > button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 6;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .hamburger span {
    display: block !important;
    width: 20px;
    height: 2px;
    flex: 0 0 2px;
    background: var(--color-charcoal);
  }

  /* Closed drawer: keep it off-canvas, but do not use clip-path/contain. */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(80vw, 320px);
    max-width: 320px;
    height: auto;
    background: var(--color-surface);
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    visibility: hidden;
    opacity: 1;
    clip-path: none;
    -webkit-clip-path: none;
    contain: none;
    transition:
      transform .3s ease,
      visibility 0s linear .3s;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 26px 24px 40px;
    box-shadow: -8px 0 30px -12px rgba(0, 0, 0, .2);
    z-index: 101;
  }

  .main-nav.open {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
    transition:
      transform .3s ease,
      visibility 0s;
  }

  /* Overlay must not create horizontal overflow. */
  .nav-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
}

/* Very narrow phones: reduce only the logo text, not the controls. */
@media (max-width: 380px) {
  .logo {
    max-width: calc(100% - 140px);
  }

  .logo-text {
    font-size: .82rem;
  }

  .logo-text small {
    font-size: .49rem;
  }

  .menu-area_sp {
    right: 12px;
    gap: 10px;
  }
}

/* ==========================================================================
   MOBILE HERO SAFARI STABILITY
   ========================================================================== */



/* ==========================================================================
   GOOGLE REVIEWS — dynamic Places API reviews
   ========================================================================== */
.google-reviews-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.google-reviews-attribution {
  margin: 8px 0 0;
  font-size: .68rem;
  color: var(--color-text-soft);
}

.google-review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 12px;
}

.google-review-author-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 38px;
}

.google-review-author-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.google-review-date {
  display: block;
  margin-top: 2px;
  font-size: .68rem;
  font-weight: 400;
  color: var(--color-text-soft);
}

.google-review-card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: .7rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.google-review-quote {
  white-space: pre-line;
}

.google-review-error {
  width: 100%;
  padding: 22px;
  text-align: center;
  font-size: .8rem;
  color: var(--color-text-soft);
}
/* ==========================================================================
   GOOGLE REVIEWS — display adjustment
   ========================================================================== */

   .google-review-quote {
    line-height: 1.7;
  }
  
  /* PC / tablet: limit long reviews */
  
  
  /* Smartphone: slightly shorter cards */
  


/* ==========================================================================
   GOOGLE REVIEWS — FINAL MOBILE CAROUSEL FIX
   All review cards remain in the track. One card is visible in the viewport.
   ========================================================================== */



/* ==========================================================================
   SHARED IMAGE LIGHTBOX  (index.html gallery + locations.html)
   Markup is injected by js/script.js; trigger = [data-lightbox] on a button.
   ========================================================================== */
body.lb-lock {
  overflow: hidden;
}

.lb {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 12px 40px;
  background: rgba(15, 11, 7, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.lb.is-open {
  opacity: 1;
  visibility: visible;
}

.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.lb-img {
  display: block;
  max-width: min(94vw, 1100px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #1c1610;
}

.lb-cap {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: .8rem;
  color: #F3E7CE;
  letter-spacing: .04em;
}

.lb-count {
  color: #B8AC8C;
  font-size: .74rem;
}

.lb-btn {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  transition: background .2s ease;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, .28);
}

.lb-close {
  top: 12px;
  right: 12px;
}

.lb-prev,
.lb-next {
  top: 50%;
  margin-top: -21px;
}

.lb-prev {
  left: 6px;
}

.lb-next {
  right: 6px;
}

@media (min-width: 900px) {
  .lb-btn {
    width: 50px;
    height: 50px;
  }

  .lb-close {
    top: 20px;
    right: 24px;
  }

  .lb-prev {
    left: 24px;
  }

  .lb-next {
    right: 24px;
  }
}
