/* ==========================================================================
   MIKIYA STUDIO MELBOURNE — BESPOKE EDITORIAL APPAREL & TEXTILE WORKSHOP
   Adapted from Editorial Deck Architecture (s-bone, s-ink, s-orange, s-lime,
   meta-card, nav-pills, pill, stage-bg, rel-list, stat-grid, contact-grid)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --ink: #141B18;
  --ink-2: #1D2723;
  --bone: #F5F2EB;
  --bone-2: #EBE6DA;
  --white: #FFFFFF;
  --orange: #9E3B18;
  --orange-soft: #F9EBE5;
  --lime: #2D5A47;
  --lime-soft: #E4EFEA;
  --sage: #88B09A;
  --muted: #4A5751;
  --border: #141B18;
  --border-subtle: #D2CBB8;

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-pixel: 'JetBrains Mono', ui-monospace, monospace;

  --bar: 76px;
  --edge: clamp(18px, 4vw, 52px);
  --max-w: 1220px;
  --shadow-hard: 4px 4px 0 #141B18;
  --shadow-soft: 0 10px 28px rgba(20, 27, 24, 0.07);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   SINGLE-LINE EDITORIAL TOPBAR (.topbar)
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--bar);
  background-color: var(--ink);
  color: var(--bone);
  border-bottom: 3px solid var(--orange);
  display: flex;
  align-items: center;
}

.topbar-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mark img {
  height: 42px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  color: var(--bone);
  padding: 10px 4px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #F4A688;
}

.caret {
  font-size: 11px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 255px;
  background-color: var(--white);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1100;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: var(--lime-soft);
  color: var(--lime);
}

.topright {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background-color: var(--orange);
  color: var(--white);
  padding: 9px 16px;
  border: 2px solid var(--bone);
  white-space: nowrap;
  cursor: pointer;
}

.menu-btn:hover {
  background-color: #7D2D10;
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: var(--ink-2);
  color: var(--bone);
  border: 2px solid var(--bone);
  padding: 7px 11px;
  font-family: var(--font-pixel);
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ink);
    border-bottom: 3px solid var(--orange);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--edge) 22px;
    gap: 6px;
    white-space: normal;
  }
  .nav-main.is-open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(245, 242, 235, 0.12);
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(245, 242, 235, 0.2);
    background-color: var(--ink-2);
    color: var(--bone);
    margin: 4px 0 8px 10px;
    display: none;
  }
  .nav-item.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    color: var(--bone);
    white-space: normal;
  }
  .dropdown-menu li a:hover {
    background-color: rgba(200, 90, 50, 0.25);
    color: var(--white);
  }
  .topright .menu-btn {
    display: none;
  }
}

/* ==========================================================================
   SLIDE SECTIONS & STAGE BACKGROUNDS (.slide, .s-bone, .s-ink, .s-orange, .s-lime)
   ========================================================================== */
.slide {
  position: relative;
  padding: clamp(48px, 6.5vw, 84px) 0;
  border-bottom: 2.5px solid var(--ink);
}

.stage-bg {
  position: relative;
  width: 100%;
}

.s-bone {
  background-color: var(--bone);
  color: var(--ink);
}

.s-white {
  background-color: var(--white);
  color: var(--ink);
}

.s-ink {
  background-color: var(--ink);
  color: var(--bone);
}

.s-orange {
  background-color: var(--orange-soft);
  color: var(--ink);
}

.s-lime {
  background-color: var(--lime-soft);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ==========================================================================
   TYPOGRAPHY & TEMPLATE HELPERS (.kicker, .big, .mid, .lead, .mono, .tags, .tag)
   ========================================================================== */
.kicker {
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 10px;
}

.s-ink .kicker {
  color: #F4A688;
}

h1, .huge-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  color: inherit;
}

h2, .big {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
  color: inherit;
}

h3, .mid {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 10px;
  color: inherit;
}

.lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.65;
  max-width: 66ch;
  margin-bottom: 20px;
}

.mono {
  font-family: var(--font-pixel);
  font-size: 13.5px;
  letter-spacing: 0.6px;
}

.sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  background-color: var(--lime-soft);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  font-family: var(--font-pixel);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1.5px solid currentColor;
  background-color: rgba(255, 255, 255, 0.5);
}

.s-ink .tag {
  background-color: rgba(255, 255, 255, 0.08);
}

.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  padding: 13px 24px;
  border: 2.5px solid var(--ink);
  background-color: var(--ink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--orange);
  cursor: pointer;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--orange);
}

.btn.fill {
  background-color: var(--orange);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.fill:hover {
  background-color: #7D2D10;
}

.btn.ghost {
  background-color: var(--white);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.s-ink .btn.ghost {
  background-color: var(--ink-2);
  color: var(--bone);
  border-color: var(--bone);
  box-shadow: 4px 4px 0 var(--orange);
}

/* ==========================================================================
   TEMPLATE #627 NATIVE COMPONENT GRIDS
   (.bio-grid, .meta-card, .rel-hero, .rel-list, .rel-row, .stat-grid,
    .quote-grid, .tour-list, .contact-grid, .promo-grid, .nav-pills)
   ========================================================================== */
.bio-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

.bio-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .bio-meta {
    grid-template-columns: 1fr;
  }
}

.meta-card {
  border: 2.5px solid var(--ink);
  padding: 18px 20px;
  background-color: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s-ink .meta-card {
  background-color: var(--ink-2);
  color: var(--bone);
  border-color: var(--sage);
  box-shadow: 4px 4px 0 var(--orange);
}

.meta-card .k {
  font-family: var(--font-pixel);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
}

.s-ink .meta-card .k {
  color: #F4A688;
}

.meta-card .v {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.promo {
  border: 2.5px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.promo-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 2.5px solid var(--ink);
}

.promo-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

.stat {
  border: 2.5px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  padding: 22px 20px;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat .n {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--lime);
}

.stat .l {
  font-family: var(--font-pixel);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.rel-hero {
  border: 2.5px solid var(--ink);
  padding: 24px;
  background-color: var(--white);
  box-shadow: var(--shadow-hard);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.rel-list {
  display: flex;
  flex-direction: column;
  border: 2.5px solid var(--ink);
  background-color: var(--white);
  box-shadow: var(--shadow-hard);
}

.rel-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.rel-row:last-child {
  border-bottom: none;
}

@media (max-width: 720px) {
  .rel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.rel-row .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.rel-row .ty {
  font-size: 14.5px;
  color: var(--muted);
}

.rel-row .yr {
  font-family: var(--font-pixel);
  font-weight: 600;
  font-size: 14px;
  color: var(--lime);
}

/* Interactive filter pills (.nav-pills, .pill) */
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.pill:hover,
.pill.active {
  background-color: var(--lime);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.quote {
  border: 2.5px solid var(--ink);
  padding: 24px;
  background-color: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.quote p {
  font-size: 15.5px;
  line-height: 1.6;
}

.quote .src {
  font-family: var(--font-pixel);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--lime);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.cc {
  border: 2.5px solid var(--ink);
  padding: 20px;
  background-color: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
}

.s-ink .cc {
  background-color: var(--ink-2);
  color: var(--bone);
  border-color: var(--sage);
}

.cc .k {
  font-family: var(--font-pixel);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.s-ink .cc .k {
  color: #F4A688;
}

.cc .v {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

/* ==========================================================================
   BESPOKE STUDIO APPAREL CALCULATOR & FORMS
   ========================================================================== */
.calc-box {
  border: 3px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(22px, 3.5vw, 38px);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 860px) {
  .calc-box {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 7px;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--ink);
  background-color: var(--bone);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.form-control:focus {
  outline: 2px solid var(--orange);
  background-color: var(--white);
}

.calc-summary {
  border: 2.5px solid var(--ink);
  background-color: var(--ink);
  color: var(--bone);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-summary .price-big {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  color: #F4A688;
  line-height: 1.1;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 242, 235, 0.16);
}

/* ==========================================================================
   FAQ ACCORDION & TABLES
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  border: 2.5px solid var(--ink);
  background-color: var(--white);
  box-shadow: var(--shadow-hard);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.faq-a {
  padding: 0 22px 18px;
  font-size: 15.5px;
  color: var(--ink);
  border-top: 1.5px solid var(--border-subtle);
  padding-top: 14px;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 2.5px solid var(--ink);
  background-color: var(--white);
  box-shadow: var(--shadow-hard);
  margin: 22px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1.5px solid var(--border-subtle);
  font-size: 14.5px;
}

.spec-table th {
  background-color: var(--ink);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   EDITORIAL FOOTER & PRIVACY ACT COOKIE BAR
   ========================================================================== */
.site-footer {
  background-color: var(--ink);
  color: var(--bone);
  border-top: 4px solid var(--orange);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #F4A688;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 14.5px;
  color: #D9D4C7;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1.5px solid rgba(245, 242, 235, 0.16);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: #C7C1B2;
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  max-width: 960px;
  margin: 0 auto;
  background-color: var(--ink);
  color: var(--bone);
  border: 2.5px solid var(--orange);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  padding: 18px 22px;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-banner.show {
  display: flex;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 12.5px;
  margin-bottom: 14px;
  color: var(--muted);
}

.s-ink .breadcrumb {
  color: #C7C1B2;
}

.hero-img-frame {
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--orange);
  overflow: hidden;
  background-color: var(--ink-2);
}

.btn-block { width: 100%; }
