/* AUOD STUDIO — site styles */
:root {
  --ink: #1A1A1A;
  --ink-2: #444444;
  --muted: #6E6E6E;
  --line: #E0E0E0;
  --placeholder: #E6E4E0;
  --bg: #FFFFFF;
  --dark: #141210;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #767676; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 64px; }

/* ---------- Header ---------- */
.site-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.logo img { width: 200px; height: auto; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.menu-btn {
  width: 48px; height: 44px; border: 1.5px solid var(--ink); background: var(--bg);
  cursor: pointer; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-end; gap: 6px; padding: 0 8px;
}
.menu-btn span { display: block; width: 28px; height: 1.5px; background: var(--ink); }
.menu-btn span:nth-child(2) { width: 20px; }
.social { display: flex; gap: 6px; }
.social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.social a:hover { color: #767676; }

.menu {
  margin-top: 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 24px 0; display: flex; flex-wrap: wrap; gap: 32px 56px;
  font-size: 14px; letter-spacing: 0.14em;
}
.menu[hidden] { display: none; }
.menu-col { display: flex; flex-direction: column; gap: 6px; }
.menu-col .label { font-weight: 600; }
.menu-col a { text-decoration: none; color: #555555; padding: 2px 0; }
.menu-col a.strong { color: var(--ink); font-weight: 600; }
.menu-col a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Headings / nav rows ---------- */
.page-title { margin: 64px 0 0; font-size: 26px; font-weight: 600; letter-spacing: 0.08em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; font-size: 16px; letter-spacing: 0.06em; }
.tabs a { text-decoration: none; color: #767676; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::before { content: ""; display: inline-block; width: 36px; height: 1.5px; background: var(--ink); }

.back-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.back { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: 0.06em; min-height: 44px; }
.back::before { content: ""; display: inline-block; width: 52px; height: 1.5px; background: var(--ink); }
.pager { display: flex; gap: 40px; font-size: 17px; letter-spacing: 0.06em; }
.pager a { text-decoration: none; color: #767676; }
.pager a:hover { color: var(--ink); }

/* ---------- Project grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 24px; margin-top: 48px; }
.card { text-decoration: none; display: block; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s ease; }
.card:hover img { opacity: .88; }
.card-title { margin: 14px 0 0; font-size: 16px; letter-spacing: 0.04em; }
.card-meta { margin: 0; font-size: 14px; color: var(--muted); }
.empty { margin-top: 48px; padding: 56px 24px; background: #F5F4F1; text-align: center; color: var(--ink-2); }
.empty a { font-weight: 500; }

/* ---------- Project gallery ---------- */
.gallery { display: flex; flex-direction: column; gap: 24px; margin-top: 56px; }
.gallery img { width: 100%; height: auto; background: var(--placeholder); }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pair img { height: 100%; object-fit: cover; }
.r-5-7 img { aspect-ratio: 5 / 7; }
.r-4-5 img { aspect-ratio: 4 / 5; }
.r-1-1 img { aspect-ratio: 1 / 1; }
.r-3-2 img { aspect-ratio: 3 / 2; }

.project-info { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px; }
.project-info > div { flex: 1 1 300px; }
.project-info h2 { margin: 0; font-size: 28px; font-weight: 400; letter-spacing: 0.04em; }
.project-info .type { margin: 4px 0 0; font-size: 18px; color: var(--ink-2); }
.details { flex: 1 1 300px; margin: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 16px; font-size: 15px; }
.details dt { color: var(--muted); letter-spacing: 0.06em; }
.details dd { margin: 0; }

/* ---------- About ---------- */
.banner { margin-top: 56px; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.split { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.split + .split { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 40px; }
.split > h2 { flex: 1 1 240px; margin: 0; font-size: 22px; font-weight: 400; letter-spacing: 0.04em; }
.split > h2.small { font-size: 14px; font-weight: 600; letter-spacing: 0.24em; }
.split > h2 small { display: block; font-size: 16px; color: var(--muted); }
.split > .body { flex: 2 1 420px; font-size: 16px; color: var(--ink-2); }
.split > .body p { margin: 0 0 18px; }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; font-size: 15px; color: var(--ink); }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 56px; }
.contact .details { flex: 1 1 320px; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-content: start; }
.enquiry { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.enquiry .label { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.2em; }
.enquiry .hint { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: none; border-bottom: 1px solid var(--ink); border-radius: 0; background: var(--bg);
  font: inherit; font-size: 16px; color: var(--ink); padding: 8px 2px;
}
.field input, .field select { height: 44px; }
.field textarea { resize: vertical; min-height: 88px; }
.btn {
  align-self: flex-start; min-height: 48px; padding: 0 32px; background: var(--ink); color: #fff;
  border: none; font: inherit; font-size: 14px; letter-spacing: 0.16em; cursor: pointer;
}
.btn:hover { background: #333; }
.map-link {
  margin-top: 64px; aspect-ratio: 21 / 9; background: var(--placeholder); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 14px; letter-spacing: 0.14em;
}

/* ---------- Footer & WhatsApp ---------- */
.site-footer {
  margin-top: 72px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 13px; letter-spacing: 0.08em; color: var(--muted);
}
.site-footer a { color: var(--muted); }
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.wa-float:hover { color: #fff; background: #333; }
.wa-float.light { background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }

/* ---------- Landing ---------- */
.landing { background: var(--dark); color: #fff; }
.landing a { color: #fff; }
.landing a:hover { color: #D8D2C8; }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1);
  transition: opacity 1.8s ease-in-out, transform 0s linear 1.8s;
}
.slide.is-active { opacity: 1; transform: scale(1.08); transition: opacity 1.8s ease-in-out, transform 7s linear; }
.hero-shade { position: absolute; inset: 0; background: rgba(20, 18, 16, .38); }
.hero-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between;
  align-items: center; padding: 28px clamp(20px, 4vw, 48px);
}
.hero-top .logo img { width: clamp(120px, 12vw, 170px); }
.menu-btn.light { background: transparent; border: none; width: 48px; height: 48px; align-items: center; gap: 7px; }
.menu-btn.light span, .menu-btn.light span:nth-child(2) { width: 30px; background: #fff; }
.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 clamp(20px, 4vw, 48px) 36px; display: flex; flex-direction: column; gap: 28px;
}
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.hero-row p { margin: 0; max-width: 640px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 300; line-height: 1.7; }
.view-works {
  text-decoration: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: 72px;
  font-size: 14px; letter-spacing: 0.2em; border-bottom: 1px solid rgba(255, 255, 255, .7);
}
.dots { display: flex; justify-content: center; gap: 6px; }
.dots button { width: 28px; height: 28px; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dots button span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.dots button[aria-current="true"] span { background: #fff; }

.overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(20, 18, 16, .96); display: flex; flex-direction: column;
  padding: 28px clamp(20px, 4vw, 48px);
}
.overlay[hidden] { display: none; }
.overlay-top { display: flex; justify-content: space-between; align-items: center; }
.overlay-top img { width: clamp(120px, 12vw, 170px); }
.close-btn { width: 48px; height: 48px; background: transparent; border: none; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.overlay nav { margin: auto 0; display: flex; flex-direction: column; gap: 18px; font-size: clamp(22px, 3vw, 34px); font-weight: 300; letter-spacing: 0.1em; }
.overlay nav a { text-decoration: none; }
.overlay .place { margin: 0; font-size: 12px; letter-spacing: 0.14em; color: #BDB5A8; }

@media (max-width: 600px) {
  .wrap { padding-top: 28px; }
  .logo img { width: 150px; }
  .page-title { margin-top: 48px; }
  .pager { gap: 24px; font-size: 15px; }
  .details { grid-template-columns: 120px minmax(0, 1fr); }
  .view-works { margin-right: 0; }
  .hero-bottom { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transform: none; transition: opacity .6s ease; }
}
