/* ==========================================================
   MONO STUDIO — style.css
   Mobile-first. Edit colours and fonts in :root below.
   Light theme is the default; the dark theme is defined
   right after it and switched by the theme button.
   ========================================================== */

:root {
  --bg: #ffffff;
  --surface: #f6f6f4;
  --ink: #1b1b1d;
  --ink-soft: #55555a;
  --line: #e3e3e0;
  --line-strong: #cfcfcb;

  --on-ink: #ffffff;                    /* text on top of --ink (buttons, tags) */
  --btn-hover: #000000;
  --header-bg: rgba(255, 255, 255, .96);
  --code-bg: rgba(0, 0, 0, .06);

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 20px;
  --max: 1120px;
  --header-h: 64px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0e0e0f;
  --surface: #171718;
  --ink: #f2f2f0;
  --ink-soft: #a7a7ab;
  --line: #2a2a2d;
  --line-strong: #3b3b3f;

  --on-ink: #0e0e0f;
  --btn-hover: #ffffff;
  --header-bg: rgba(14, 14, 15, .96);
  --code-bg: rgba(255, 255, 255, .1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--code-bg);
  padding: 1px 5px;
}

[hidden] { display: none !important; }

::selection { background: var(--ink); color: var(--on-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Focus (keyboard users) */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: 12px 16px;
  text-decoration: none;
  font-size: .875rem;
}
.skip-link:focus { top: 12px; }

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

.section { padding: 72px 0; }
.section--tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section__head { margin-bottom: 40px; max-width: 40rem; }

.section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-top: 14px;
}

.section__note {
  margin-top: 16px;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn__arrow { transition: transform .2s ease; }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: .875rem; }

@media (hover: hover) {
  .btn:hover { background: var(--btn-hover); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}
.btn:active { background: var(--btn-hover); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s ease;
}
@media (hover: hover) {
  .link-arrow:hover { text-decoration-color: var(--ink); }
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark__light { font-weight: 400; }

/* Theme button (only shown when JS is on) */
.theme-toggle { display: none; }

.js .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle svg { display: block; width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (hover: hover) {
  .theme-toggle:hover { border-color: var(--ink); }
}

/* Menu button (only shown when JS is on) */
.nav-toggle { display: none; }

.js .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

/* Navigation panel (mobile) */
.site-nav { width: 100%; padding-bottom: 12px; }

.js .site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  padding: 8px var(--gutter) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.js .site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.site-nav__list { display: flex; flex-direction: column; }

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.2;
  text-decoration: none;
}
.site-nav__arrow { font-family: var(--font-sans); font-size: 1.125rem; color: var(--ink-soft); }

.site-nav__cta { display: flex; margin-top: 24px; }

/* Desktop navigation */
@media (min-width: 52em) {
  .js .nav-toggle { display: none; }
  body.menu-open { overflow: auto; }

  .site-nav,
  .js .site-nav {
    position: static;
    order: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    width: auto;
    max-height: none;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .theme-toggle,
  .js .theme-toggle { order: 3; margin-left: 20px; }

  .site-nav__list { flex-direction: row; gap: 36px; }

  .site-nav__link {
    padding: 8px 0;
    border: 0;
    font-family: var(--font-sans);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
    transition: text-decoration-color .2s ease;
  }
  .site-nav__link:hover { text-decoration-color: var(--ink); }
  .site-nav__arrow { display: none; }
  .site-nav__cta { display: inline-flex; margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 12.5vw, 8rem);
  line-height: .95;
  letter-spacing: -.025em;
  margin: 20px 0 28px;
}
.hero__title em { display: block; font-style: italic; }

.hero__lead {
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 36px;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.hero__meta > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero__meta dt {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__meta dd { margin-top: 4px; }

@media (min-width: 52em) {
  .hero { padding: 104px 0 96px; }
  .hero__meta { grid-template-columns: repeat(3, 1fr); margin-top: 96px; }
  .hero__meta > div { border-bottom: 0; padding: 24px 24px 0 0; }
}

/* ---------- Services ---------- */
.service-list { border-top: 1px solid var(--line-strong); }

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 16px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service__main { grid-column: 1 / -1; }

.service__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
}
.service__desc {
  margin-top: 6px;
  max-width: 34rem;
  color: var(--ink-soft);
}

.service__meta {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.service__time { font-size: .875rem; color: var(--ink-soft); }
.service__price {
  font-size: 1.25rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.service__price small {
  margin-left: 6px;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.service__book { justify-self: end; }

@media (min-width: 52em) {
  .service {
    grid-template-columns: minmax(0, 1fr) 260px 120px;
    gap: 32px;
    padding: 36px 0;
  }
  .service__main { grid-column: auto; }
  .service__meta { justify-content: space-between; }
}

/* ---------- About ---------- */
.about { display: grid; gap: 40px; }
.about__body > p + p { margin-top: 16px; color: var(--ink-soft); }
.about__body .lead { color: var(--ink); }

.principles { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.principles li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}
.principles__num {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--ink-soft);
  padding-top: 5px;
}
.principles h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}
.principles p { margin-top: 4px; color: var(--ink-soft); }

@media (min-width: 52em) {
  .about { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04); /* remove this line to show photos in full colour */
  transition: transform .6s ease, filter .4s ease;
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.03); filter: grayscale(.4) contrast(1.04); }
}

.gallery__item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Fallback if an image fails to load: the tile stays tidy and labelled */
.gallery__item.is-broken img { display: none; }
.gallery__item.is-broken::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink-soft);
}

@media (min-width: 52em) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery__item,
  .gallery__item--wide { grid-column: auto; aspect-ratio: 4 / 5; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; }

.contact__intro .lead { margin: 20px 0 28px; max-width: 30rem; }
.contact__hint { margin-top: 14px; font-size: .875rem; color: var(--ink-soft); }

.notice {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: .875rem;
  max-width: 30rem;
}

.contact__details { border-top: 1px solid var(--line-strong); }
.detail { padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.detail__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.detail__tag {
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  font-size: .625rem;
  letter-spacing: .12em;
}

/* WhatsApp number with logo */
.whatsapp-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex: none;
  color: #25d366; /* WhatsApp green. Use "currentColor" for a monochrome logo. */
}
@media (hover: hover) {
  .whatsapp-line:hover span { text-decoration: underline; text-underline-offset: 5px; }
}

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  padding: 8px 0;
  text-align: left;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { font-weight: 600; }
.today-tag {
  margin-left: 8px;
  padding: 2px 7px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (min-width: 52em) {
  .contact { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .875rem; }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
}

/* ---------- Scroll reveal (class added by script.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}