/* Hallmark · v2.0.0 · genre: modern-minimal · theme: walnut-amber-salon (custom) · signature: Dribbble 27458425 clean layout + Bru warm white, walnut brown, and golden-orange */
:root {
  --bg: #ffffff;
  --bg-alt: #faf7f2;
  --ink: #241912;
  --ink-muted: #5e4f43;
  --ink-subtle: #786759;
  --ink-ghost: #eadfd0;
  --ink-on-dark: #ffffff;
  --amber: #d99226;
  --amber-hover: #c58019;
  --ink-on-amber: #1f140d;
  --amber-text: #995c08;
  --line: #e9e0d4;
  --line-dark: #241912;
  --focus-accent: #c47b14;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
  line-height: 1.55;
}

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

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-brand {
  color: var(--amber-text);
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.btn-outline {
  display: inline-block;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--ink-on-dark);
}

/* 1. Dribbble 27458425 50/50 Hero */
.hero-band {
  background: var(--bg);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-text);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-dark {
  display: inline-block;
  background: var(--amber);
  color: var(--ink-on-amber);
  border: 1px solid var(--amber);
  border-radius: 0;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn-dark:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
}

.btn-dark:active, .btn-outline:active, .tab-btn:active, .row-arrow:active {
  transform: scale(0.98);
}

.link-arrow {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.kpi-row {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kpi-item strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kpi-item span {
  font-size: 13px;
  color: var(--ink-subtle);
}

.hero-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  width: 100%;
  background: var(--bg-alt);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

/* 2. Dribbble What We Offer 4-Column Sharp Architectural Cards */
.offer-band {
  background: var(--bg-alt);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 32px;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.offer-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.offer-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.offer-card:hover::after {
  transform: scaleX(1);
}

.ghost-num {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-ghost);
  line-height: 1;
}

.offer-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.offer-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  flex: 1;
}

.offer-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber-text);
}

/* 3. What Makes Us Different */
.diff-band {
  background: var(--bg);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.diff-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.diff-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  width: 100%;
  background: var(--bg-alt);
  overflow: hidden;
}

.diff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-mark {
  width: 24px;
  height: 24px;
  border: 1px solid var(--amber);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.check-list p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* 4. 21st.dev @balick/services-01 Hairline Ledger + Uiverse Search */
.menu-band {
  background: var(--bg-alt);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.menu-head h2 {
  margin-bottom: 0;
}

.menu-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.uiverse-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0 12px;
  height: 40px;
  width: 260px;
}

.uiverse-search::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms ease;
}

.uiverse-search:focus-within::after {
  transform: scaleX(1);
}

.uiverse-search svg {
  color: var(--ink-subtle);
  flex-shrink: 0;
}

.uiverse-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink);
}

.uiverse-search input:focus {
  outline: none;
}

.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg);
  color: var(--ink-muted);
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.tab-btn.active {
  background: var(--ink);
  color: var(--ink-on-dark);
  border-color: var(--ink);
}

.svc-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.svc-row {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.svc-row:hover {
  background: var(--bg-alt);
}

.svc-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-subtle);
}

.svc-title strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.svc-title span {
  font-size: 13px;
  color: var(--ink-subtle);
}

.svc-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.row-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.svc-row:hover .row-arrow {
  background: var(--ink);
  color: var(--ink-on-dark);
}

/* 5. Visit, Google Map & Appointment Form */
.visit-band {
  background: var(--bg);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.fact-list {
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.fact-list dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-subtle);
  margin-bottom: 4px;
}

.fact-list dd {
  margin: 0;
  font-size: 14.5px;
}

.fact-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

.studio-map {
  border: 1px solid var(--line);
  height: 220px;
  background: var(--bg-alt);
}

.studio-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.book-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.form-note {
  margin: -8px 0 4px;
  font-size: 13px;
  color: var(--ink-muted);
}

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

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input, .field select {
  width: 100%;
  padding: 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
}

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

.confirm-msg {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.confirm-msg a {
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 13px;
  color: var(--ink-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .hero-band {
    padding: 36px 0 44px;
  }
  .hero-grid, .diff-grid, .visit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .svc-desc {
    grid-column: 2 / -1;
  }
}

@media (max-width: 600px) {
  .offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .uiverse-search {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Preview Password Gate */
body.preview-locked {
  overflow: hidden;
}

body.preview-locked > header,
body.preview-locked > main,
body.preview-locked > footer {
  filter: blur(18px);
  pointer-events: none;
  user-select: none;
}

.preview-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28, 18, 12, 0.84);
  backdrop-filter: blur(8px);
}

.preview-gate[hidden] {
  display: none;
}

.preview-gate-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #eadfd2;
  border-top: 4px solid #d97706;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.preview-gate-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b45309;
}

.preview-gate-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #1c120c;
}

.preview-gate-copy {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #574337;
}

.preview-gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-gate-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d6c8b8;
  border-radius: 8px;
  outline: none;
}

.preview-gate-form input:focus {
  border-color: #d97706;
}

.preview-gate-form button {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: #1c120c;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.preview-gate-form button:hover {
  background: #d97706;
}

.preview-gate-error {
  margin: 12px 0 0;
  font-size: 13px;
  color: #b91c1c;
}

.preview-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(28, 18, 12, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  pointer-events: none;
}

/* Gallery Page */
.main-nav a.nav-active {
  color: var(--amber-text);
  font-weight: 700;
}

.gallery-hero {
  padding: 56px 0 36px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.gallery-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.gallery-band {
  padding: 56px 0;
  background: var(--bg-alt);
}

.gallery-band-alt {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.gallery-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
}

.gallery-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.video-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-card video,
.media-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  display: block;
  background: #1c120c;
}

.media-card figcaption {
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.gallery-cta {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.gallery-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-cta-inner h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.gallery-cta-inner p {
  margin: 0;
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .video-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .video-grid,
  .photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
