/* =========================================================
   Salon Maryam — global stylesheet
   Palette: black #111111, white #ffffff, warm taupe #b8a99a
   Type: Cormorant Garamond (headings) + Inter (body/UI)
   ========================================================= */

:root {
  --black: #111111;
  --white: #ffffff;
  --taupe: #b8a99a;
  --taupe-soft: #ece7e1;
  --taupe-line: #e3ddd5;
  --ink-60: #4a4540;
  --ink-45: #6f6862;
  --bg: #ffffff;
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --shadow: 0 18px 50px -28px rgba(17, 17, 17, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--black);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
}
h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

p {
  margin: 0 0 1.1rem;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--taupe);
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-60);
  max-width: 60ch;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.muted {
  color: var(--ink-45);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover {
  background: #2a2622;
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover {
  background: var(--taupe-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 1.15rem 2.2rem;
  font-size: 1rem;
}

.link-underline {
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}
.link-underline:hover {
  border-color: var(--black);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--taupe-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.brand-name span {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 2px;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.85rem;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.25s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--black);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-cta .btn {
  padding: 0.7rem 1.3rem;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.18);
  transform-origin: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(17, 17, 17, 0.35) 0%,
      rgba(17, 17, 17, 0.45) 40%,
      rgba(17, 17, 17, 0.88) 100%
    ),
    radial-gradient(
      120% 90% at 30% 100%,
      rgba(17, 17, 17, 0.55) 0%,
      rgba(17, 17, 17, 0) 60%
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  max-width: 720px;
}
.hero .eyebrow {
  color: #f1e7dc;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero h1,
.hero-tagline {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.hero h1 {
  margin-bottom: 0.25em;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* ---------- Page heading (interior pages) ---------- */
.page-head {
  background: var(--taupe-soft);
  border-bottom: 1px solid var(--taupe-line);
  text-align: center;
}
.page-head .container {
  padding-block: clamp(3rem, 7vw, 5rem);
}

/* ---------- Intro / story ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: 3px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ---------- Service snapshot cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.svc-card {
  border: 1px solid var(--taupe-line);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--taupe);
}
.svc-card .svc-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--taupe-soft);
}
.svc-card .svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.svc-card:hover .svc-media img {
  transform: scale(1.05);
}
.svc-card .svc-body {
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.svc-card h3 {
  margin: 0;
}
.svc-card p {
  margin: 0;
  color: var(--ink-45);
  font-size: 0.95rem;
}
.svc-card .svc-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--taupe);
  font-size: 1.2rem;
}

/* ---------- Events highlight ---------- */
.events {
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.events h2 {
  color: var(--white);
}
.events p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  margin-inline: auto;
}
.events .hero-actions {
  justify-content: center;
  margin-top: 1.6rem;
}
.event-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 760px;
  margin: 3rem auto 0;
}
.event-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.event-thumbs img:hover {
  transform: translateY(-4px);
}
@media (max-width: 640px) {
  .event-thumbs {
    gap: 0.75rem;
  }
}

/* ---------- Info / hours block ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--taupe-line);
  font-size: 0.98rem;
}
.hours-table th {
  font-weight: 500;
  color: var(--ink-60);
}
.hours-table td {
  text-align: right;
  font-weight: 500;
}
.hours-table tr.closed td,
.hours-table tr.closed th {
  color: var(--ink-45);
}
address {
  font-style: normal;
  line-height: 1.8;
}

/* ---------- Gallery teaser / grid ---------- */
.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.thumb-row img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-grid button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 3px;
}
.gallery-grid img {
  transition: transform 0.5s ease, filter 0.4s ease;
}
.gallery-grid button:hover img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

/* ---------- Services menu ---------- */
.menu-group {
  margin-bottom: 3rem;
}
.menu-group h2 {
  border-bottom: 1px solid var(--taupe-line);
  padding-bottom: 0.6rem;
  margin-bottom: 1.4rem;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--taupe-line);
}
.menu-item:last-child {
  border-bottom: 0;
}
.menu-item .name {
  font-weight: 500;
  font-size: 1.05rem;
}
.menu-item .dots {
  flex: 1;
  border-bottom: 1px dotted #cfc7bd;
  transform: translateY(-4px);
}
.menu-item .price {
  font-family: var(--serif);
  font-size: 1.2rem;
  white-space: nowrap;
  color: var(--black);
}
.menu-note {
  background: var(--taupe-soft);
  border-left: 3px solid var(--taupe);
  padding: 1.25rem 1.5rem;
  font-size: 0.97rem;
  color: var(--ink-60);
  margin-top: 2rem;
}

/* ---------- Callout band ---------- */
.callout {
  background: var(--taupe-soft);
  text-align: center;
}
.callout .hero-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

/* ---------- Contact big buttons ---------- */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 560px;
  margin-inline: auto;
}
.map-embed {
  margin-top: 2.5rem;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 560px;
  border: 0;
}
.storefront-photo {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .map-embed iframe {
    height: 420px;
  }
  .storefront-photo {
    height: 300px;
  }
}

/* ---------- Careers points ---------- */
.points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-60);
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--taupe);
  border-radius: 50%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.site-footer h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.site-footer a:hover {
  color: var(--white);
}
.footer-brand .brand-name {
  color: var(--white);
}
.footer-nav ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(17, 17, 17, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  border-radius: 3px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}
.lightbox-prev {
  left: 1.25rem;
}
.lightbox-next {
  right: 1.25rem;
}

/* ---------- Fade-in animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--taupe-line);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
  }
  .primary-nav.open {
    transform: translateY(0);
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .primary-nav li {
    border-bottom: 1px solid var(--taupe-line);
  }
  .primary-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
  }
  .header-cta .btn-call-text {
    display: none;
  }
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn,
  .events .hero-actions .btn,
  .callout .hero-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--taupe-soft);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.reviews-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-inline: auto;
}
@media (max-width: 860px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--taupe-line);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--taupe);
}
.review-card .source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.review-card .source-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.review-card .platform-tag {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: var(--white);
}
.platform-tag.yelp {
  background: #d32323;
}
.platform-tag.google {
  background: #4285f4;
}
.platform-tag.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.review-card .stars {
  color: #e8a33d;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}
.review-card .rating-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.review-card .rating-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.review-card .rating-meta {
  color: var(--ink-45);
  font-size: 0.85rem;
}
.review-card p {
  margin: 0;
  color: var(--ink-45);
  font-size: 0.95rem;
  flex: 1;
}
.review-card .review-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.review-card .review-link:hover {
  color: var(--taupe);
}

/* ---------- Footer social ---------- */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.footer-social a svg {
  display: block;
}
.social-ig {
  background: radial-gradient(circle at 30% 110%, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}
.social-google {
  background: #fff;
}
.social-yelp {
  background: #d32323;
}
.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  filter: brightness(1.05);
}

/* ---------- Instagram grid ---------- */
.instagram-section {
  background: var(--taupe-soft);
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}
@media (max-width: 860px) {
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 460px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.insta-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: var(--taupe-line);
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.insta-tile:hover img {
  transform: scale(1.06);
}
.insta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.insta-tile:hover .insta-overlay,
.insta-tile:focus-visible .insta-overlay {
  opacity: 1;
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 820px;
  margin: 2.5rem auto 0;
}
.faq details {
  border-bottom: 1px solid var(--taupe-line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--taupe);
  flex: none;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin: 0 0 1.4rem;
  color: var(--ink-60);
  max-width: 70ch;
}

/* ---------- Nav: Services dropdown ---------- */
.primary-nav .caret {
  font-size: 0.6em;
  margin-left: 0.3em;
  vertical-align: middle;
  opacity: 0.7;
}
.has-submenu {
  position: relative;
}
.submenu-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.primary-nav .submenu {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--taupe-line);
  box-shadow: var(--shadow);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-nav .submenu li {
  border: 0;
}
.primary-nav .submenu a {
  display: block;
  padding: 0.65rem 1.3rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}
.primary-nav .submenu a::after {
  display: none;
}
.primary-nav .submenu a:hover,
.primary-nav .submenu a[aria-current="page"] {
  color: var(--black);
  background: var(--taupe-soft);
}

@media (max-width: 760px) {
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3.4rem;
    transition: transform 0.25s ease;
  }
  .has-submenu.open .submenu-toggle {
    transform: rotate(180deg);
  }
  .primary-nav .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.28s ease;
  }
  .has-submenu.open .submenu {
    max-height: 260px;
  }
  .primary-nav .submenu a {
    padding: 0.7rem 0 0.7rem 1.25rem;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.06em;
    color: var(--ink-45);
  }
  .primary-nav .caret {
    display: none;
  }
}
