/* ─── Reset & Base ─────────────────────────────────────────────────────────── */

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

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

:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --ink-muted: #6b6b6b;
  --nav-size: clamp(60px, 14vw, 220px);
  --ballet-size: clamp(60px, 14vw, 220px);
  --max-about: 640px;
  --nav-pad: 16px 24px;

  /* ↓ Adjust this to resize the homepage wordmark */
  --home-wordmark-size: clamp(60px, 544vw, 180px);
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Site logo ─────────────────────────────────────────────────────────────── */

.site-logo-link {
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 200;
  display: block;
  line-height: 0;
}

.site-logo-right {
  left: auto;
  right: 20px;
  z-index: 300;
}

.site-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo-center {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* ─── Navigation ───────────────────────────────────────────────────────────── */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--nav-pad);
  pointer-events: none;
}

.nav-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 150px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.05em;
  line-height: .75;
  pointer-events: all;
  transition: opacity 0.15s ease;
}

.nav-link:hover {
  opacity: 0.45;
}

.nav-active {
  opacity: 0.45;
  pointer-events: none;
}

/* ─── Homepage ─────────────────────────────────────────────────────────────── */

.page-home body,
body.page-home {
  display: flex;
  flex-direction: column;
}

.home-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 0 24px 24px;
  overflow: hidden;
}

.home-center {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-image: url('../images/hero.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center clamp(-80px, -5vw, 0px);
  padding-bottom: 24px;
}

.home-center .wordmark {
  margin-left: -8vw;
  font-size: var(--home-wordmark-size);
  -webkit-text-stroke: 1px var(--ink);
}

.wordmark {
  display: flex;
  font-weight: 600;
  gap: 0.55em;
  font-family: 'Ballet', cursive;
  font-size: var(--ballet-size);
  font-optical-sizing: auto;
  color: var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
  transform: skewX(-25deg);
  transform-origin: center bottom;
  user-select: none;
  line-height: 1;
}

.home-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-footer-rule {
  border: none;
  border-top: 1px solid var(--ink);
  width: 100%;
}

.home-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.home-footer-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.home-footer-links {
  display: flex;
  gap: 24px;
}

.home-footer-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.home-footer-link:hover {
  color: var(--ink);
}

/* ─── Gallery / Slideshow ──────────────────────────────────────────────────── */

body.page-gallery {
  overflow: hidden;
}

.slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.slide-img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* ─── Lightbox ─────────────────────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
  font-family: Arial, sans-serif;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
  padding: 16px;
  font-family: Arial, sans-serif;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

/* ─── About ────────────────────────────────────────────────────────────────── */

.about-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ink);
  background: var(--bg);
}

.about-header-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.about-header-links {
  display: flex;
  gap: 20px;
}

.about-header-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
}

.about-header-link:hover {
  opacity: 0.45;
}

.about-wordmark {
  transform: skewX(-25deg);
  transform-origin: left bottom;
  font-size: 150px;
  text-decoration: none;
  color: inherit;
}

.form-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-intro-headline {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}

.form-intro-sub {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.2;
  max-width: 420px;
}

ul.form-intro-sub {
  list-style: none;
  padding-left: 0;
}

.about-divider {
  border: none;
  border-top: 1px solid var(--ink);
  margin: 0;
}

body.page-about {
  min-height: 100vh;
}

.about-main {
  padding: 64px 36px 80px;
  display: flex;
  justify-content: center;
}

.about-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-bio p {
  font-size: 55px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -.05em;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

.about-services ul {
  letter-spacing: -.05em;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-services li {
  font-size: 14px;
  color: var(--ink-muted);
  padding-left: 14px;
  position: relative;
}

.about-services li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

.about-pricing ul {
  letter-spacing: -.05em;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-pricing li {
  font-size: 14px;
  color: var(--ink-muted);
  padding-left: 14px;
  position: relative;
}

.about-pricing li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

/* ─── Form ─────────────────────────────────────────────────────────────────── */

.about-form {
  letter-spacing: -.05em;
  display: flex;
  flex-direction: column;
  max-width: var(--max-about);

}

#inquiryForm {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  border-top: 1px solid #e0e0e0;
}

.form-row:last-of-type {
  border-bottom: 1px solid #e0e0e0;
}

.form-row input,
.form-row select,
.form-row textarea {
  letter-spacing: -.05em;

  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--ink);
  padding: 14px 0;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-muted);
}

.form-row select {
  color: var(--ink-muted);
  cursor: pointer;
}

.form-row select:focus,
.form-row select.has-value {
  color: var(--ink);
}

.btn-submit {
  margin-top: 24px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: -.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: opacity 0.15s ease;
  align-self: flex-start;
}

.btn-submit:hover {
  opacity: 0.75;
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-status {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}

.form-status.success {
  color: #2a6e2a;
}

.form-status.error {
  color: #a00;
}

/* ─── Social ───────────────────────────────────────────────────────────────── */

.about-social {
  padding-bottom: 8px;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.ig-link:hover {
  color: var(--ink);
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Nav */
  .nav-link {
    font-size: clamp(48px, 12vw, 100px);
    letter-spacing: -0.03em;
    line-height: 1;
  }

  :root {
    --nav-pad: 12px 16px;
    --home-wordmark-size: clamp(36px, 10vw, 72px);
  }

  /* Homepage */
  .home-main {
    padding: 0 16px 16px;
  }

  .home-center {
    background-position: center center;
    padding-bottom: 12px;
  }

  .home-center .wordmark {
    margin-left: -2vw;
  }

  .home-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .home-footer-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  /* About header */
  .about-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-header-links {
    gap: 14px;
  }

  /* About page */
  .about-main {
    padding: 60px 16px 48px;
  }

  .about-wordmark {
    font-size: clamp(48px, 14vw, 100px);
  }

  .about-bio p {
    font-size: clamp(22px, 6vw, 40px);
    line-height: 1.3;
  }

  .about-content {
    gap: 28px;
  }

  /* Logo */
  .site-logo {
    height: 28px;
  }

  /* Form */
  .about-form {
    max-width: 100%;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }
}