
/* StudioLK site styles */
/* Palette taken from the StudioLK logo: chocolate brown and cream. */
:root {
  --paper: #F4EDE4;
  --surface: #FBF7F1;
  --ink: #2E1D14;
  --muted: #7A6455;
  --line: #DFD2C3;
  --accent: #3B2418;
  --latte: #DCC3A8;
  --on-accent: #F2E6D6;
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --thin: "Josefin Sans", "Futura", "Helvetica Neue", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1C130D; --surface: #271B13; --ink: #F1E6D8; --muted: #B8A493;
    --line: #3C2C21; --accent: #E6D3BD; --latte: #7D5B45; --on-accent: #24170F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1C130D; --surface: #271B13; --ink: #F1E6D8; --muted: #B8A493;
  --line: #3C2C21; --accent: #E6D3BD; --latte: #7D5B45; --on-accent: #24170F;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  padding-inline: clamp(16px, 4vw, 48px); padding-block: 0;
}
.wrap { max-width: 1160px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.05; margin: 0; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.label {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

/* Nav */
nav.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.mark { font-family: var(--thin); font-weight: 300; font-size: 1.3rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.mark span { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
nav.top ul { list-style: none; display: flex; gap: clamp(12px, 3vw, 28px); margin: 0; padding: 0; flex-wrap: wrap; }
nav.top ul a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav.top ul a:hover { color: var(--accent); }

/* Hero */
.hero { padding-block: clamp(48px, 9vw, 110px) clamp(40px, 6vw, 72px); display: grid; gap: 40px; }
.hero h1 {
  font-family: var(--thin); font-weight: 200; text-transform: uppercase;
  font-size: clamp(3.4rem, 15vw, 12rem); letter-spacing: -0.01em; line-height: 0.9;
}
.hero h1 .lk { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; position: relative; z-index: 0; }
.hero-meta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero-meta .lede { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; max-width: 34ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem; border: 1.5px solid var(--ink); cursor: pointer;
  font-family: var(--body); background: transparent; color: var(--ink);
  transition: background .2s, color .2s, transform .2s;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:hover { transform: translateY(-2px); }

/* Spec sheet annotation in hero */
.spec { border-top: 1px solid var(--ink); padding-top: 14px; display: grid; gap: 14px; }
.spec-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: grid; gap: 6px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.chip i { display: block; width: 64px; height: 44px; border-radius: 6px; border: 1px solid var(--line); }
.specimen { display: flex; align-items: baseline; gap: 16px; }
.specimen b { font-family: var(--display); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.specimen em { font-style: normal; font-family: var(--thin); font-weight: 200; font-size: 2.6rem; line-height: 1; }

/* Marquee */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 16px; margin-inline: calc(-1 * clamp(16px, 4vw, 48px)); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: slide 38s linear infinite; font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; }
.ticker-track span::after { content: "✦"; color: var(--accent); margin-left: 40px; font-size: 0.7em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding-block: clamp(64px, 9vw, 112px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 5vw, 64px); margin-bottom: clamp(36px, 5vw, 56px); align-items: end; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -0.02em; }
.sec-head p { color: var(--muted); max-width: 52ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.svc { padding: clamp(24px, 3vw, 36px) clamp(0px, 2vw, 28px) clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; min-width: 0; }
.svc:nth-child(odd) { border-right: 1px solid var(--line); padding-right: clamp(20px, 3vw, 40px); }
.svc:nth-child(even) { padding-left: clamp(20px, 3vw, 40px); }
.svc h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; letter-spacing: -0.01em; }
.svc p { color: var(--muted); max-width: 46ch; }
.svc ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 0.85rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }

/* Profile */
.profile { background: var(--accent); color: var(--on-accent); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.profile .label { color: var(--on-accent); opacity: 0.75; }
.profile h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 400; letter-spacing: -0.02em; margin-block: 14px 22px; }
.profile .about { display: grid; gap: 16px; max-width: 58ch; }
.facts { margin: 0; display: grid; align-content: start; }
.facts div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding-block: 14px; border-top: 1px solid color-mix(in srgb, var(--on-accent) 30%, transparent); }
.facts div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--on-accent) 30%, transparent); }
.facts dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 0.8rem; color: var(--accent); }
.step h3 { font-size: 1.5rem; font-weight: 400; }
.step p { color: var(--muted); font-size: 0.97rem; }
.step .time { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }

/* Values / quote */
.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.manifesto blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; font-style: italic; letter-spacing: -0.01em; line-height: 1.15; }
.manifesto blockquote mark { background: var(--latte); color: var(--ink); padding-inline: 0.1em; }
.values { display: grid; gap: 22px; }
.values div { display: grid; gap: 4px; }
.values h3 { font-size: 1.2rem; font-weight: 600; font-family: var(--body); }
.values p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: -0.025em; }
.contact .info { display: grid; gap: 22px; align-content: start; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 400; user-select: all; word-break: break-all; }
.copy { font-family: var(--mono); font-size: 0.75rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { text-decoration: none; font-weight: 500; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
input, textarea, select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.sent { font-weight: 500; color: var(--accent); }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-meta, .sec-head, .profile, .manifesto, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-child(odd) { border-right: 0; padding-right: 0; }
  .svc:nth-child(even) { padding-left: 0; }
  .steps, .two { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  nav.top ul { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Multi-page additions ---------- */
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
nav.top ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Image placeholder: swap for <img> when real photos arrive */
.ph {
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, var(--latte), var(--line));
  display: grid; place-items: center; color: var(--muted);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 16px;
}
.ph.wide { aspect-ratio: 4 / 3; }
.ph.square { aspect-ratio: 1; border-radius: 10px; }
.ph img, .media img { width: 100%; height: 100%; object-fit: cover; }
.media { width: 100%; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }

/* Page header for inner pages */
.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(28px, 4vw, 48px); display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.03em; }
.page-head h1 em { font-family: var(--thin); font-style: normal; font-weight: 200; text-transform: uppercase; letter-spacing: 0; }
.page-head p { color: var(--muted); max-width: 56ch; font-size: 1.15rem; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.project { display: grid; gap: 12px; text-decoration: none; min-width: 0; }
.project h3 { font-size: 1.45rem; font-weight: 400; }
.project p { color: var(--muted); font-size: 0.95rem; }
.project:hover .ph, .project:hover .media { transform: translateY(-4px); }
.project .ph, .project .media { transition: transform .3s; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.more { display: flex; justify-content: flex-end; margin-top: 28px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.story { display: grid; gap: 18px; max-width: 60ch; }
.story h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; font-variation-settings: "opsz" 11; letter-spacing: -0.01em; }
.story .sig { font-family: var(--display); font-style: italic; font-size: 1.6rem; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.pkg.featured { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pkg.featured .label, .pkg.featured .price small { color: var(--on-accent); opacity: 0.75; }
.pkg h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; }
.price { font-family: var(--display); font-size: 1.6rem; }
.price small { font-family: var(--body); font-size: 0.85rem; color: var(--muted); margin-left: 6px; }
.pkg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pkg li { padding-left: 22px; position: relative; }
.pkg li::before { content: "✦"; position: absolute; left: 0; font-size: 0.7em; top: 0.35em; opacity: 0.7; }
.pkg .btn { justify-self: start; }
.pkg.featured .btn { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.3rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--thin); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 64ch; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.review .stars { letter-spacing: 3px; color: var(--accent); }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.45; }
.review cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }
.review.empty blockquote { color: var(--muted); font-style: italic; }

/* Instagram */
.insta { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.insta a { display: block; text-decoration: none; }
.insta-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.insta-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; }

@media (max-width: 860px) {
  .work-grid, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .packages { grid-template-columns: minmax(0, 1fr); }
  .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .work-grid, .reviews { grid-template-columns: minmax(0, 1fr); }
}

/* Quick contact buttons */
.quick { display: flex; gap: 10px; flex-wrap: wrap; }
footer .wrap { align-items: center; }
footer .socials a { font-size: 0.9rem; padding: 6px 12px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); transition: transform .2s;
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Booking cell that completes the services grid */
.svc-cta { background: var(--surface); border-radius: 0; }
.svc-cta h3 { font-weight: 500; }
.logo-tile { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.media.portrait { background: #FFFFFF; }
.media.portrait img { object-position: center top; }
.insta-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-block: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px); }
.insta-banner h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 500; }
.insta-banner h2 a { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.project.coming .ph { aspect-ratio: 4 / 5; }
@media (min-width: 861px) {
  .work-grid > .project:nth-child(3n+1) + .project.coming:last-child { grid-column: span 2; }
  .work-grid > .project:nth-child(3n+1) + .project.coming:last-child .ph { aspect-ratio: auto; height: calc(100% - 0px); min-height: 240px; }
  .project.coming { grid-template-rows: 1fr auto auto auto; }
}
.form-note { font-size: 0.85rem; color: var(--muted); }
