/* ===========================================================
   INK YOUR SPACE — Wall & Floor Graphics
   Premium minimal styling (Apple / TAG Heuer inspired)
   =========================================================== */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1d1d1f;
  --grey: #6e6e73;
  --grey-light: #86868b;
  --line: #e3e3e6;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --accent: #d11a2a;          /* refined ink red accent */
  --c: #00b6e3; --m: #ec008c; --y: #ffd200; --k: #1a1a1a; /* CMYK */
  --max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink-soft);
  overflow-x: hidden;
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-light);
}
.lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--grey); font-weight: 400; line-height: 1.5; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 34px; width: auto; display: block; }
.footer .brand-mark { height: 32px; }
.brand-name { font-weight: 700; letter-spacing: 0.04em; font-size: 16px; color: var(--ink); }
.brand-name small { display: block; font-size: 9.5px; letter-spacing: 0.28em; font-weight: 600; color: var(--grey-light); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 18px; border-radius: 980px;
  font-size: 13px; font-weight: 600; transition: transform .2s var(--ease), background .2s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 980px; font-size: 15px; font-weight: 600;
  transition: transform .2s var(--ease), background .25s, color .25s, border-color .25s;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: #fff; color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--accent); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 6s linear; }
.hero-slide.is-active { opacity: .85; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.78) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 9vh; max-width: 860px; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); color: #fff; margin: 14px 0 22px; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .eyebrow { color: rgba(255,255,255,.7); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin: 14px 0 18px; }
.alt { background: var(--bg-alt); }
.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .lede, .dark p { color: rgba(255,255,255,.72); }
.dark .eyebrow { color: rgba(255,255,255,.5); }

/* ---------- Feature row ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .8s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-body h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 20px; }
.split-body p { color: var(--grey); font-size: 17px; margin-bottom: 14px; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.22); border-color: transparent; }
.card .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .14em; }
.card h3 { font-size: 21px; margin: 16px 0 10px; }
.card p { color: var(--grey); font-size: 15.5px; }

/* ---------- Showcase slideshow ---------- */
.slideshow { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.slides { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.slide.is-active img { transform: scale(1); }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 36px 28px; color: #fff;
  font-size: 17px; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
}
.slide .tag { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 5px; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1;
  backdrop-filter: blur(6px); transition: background .25s, transform .2s var(--ease);
  display: grid; place-items: center;
}
.slide-nav:hover { background: rgba(255,255,255,.34); }
.slide-nav.prev { left: 18px; } .slide-nav.next { right: 18px; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; gap: 9px; justify-content: center; }
.slide-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.45); transition: background .25s, width .25s var(--ease);
}
.slide-dots button.is-active { background: #fff; width: 26px; border-radius: 5px; }
@media (max-width: 560px) {
  .slides { aspect-ratio: 4 / 3; }
  .slide figcaption { font-size: 15px; padding: 44px 22px 22px; }
  .slide-nav { width: 40px; height: 40px; font-size: 21px; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border-radius: 16px; background: var(--bg-alt); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 18px;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  opacity: 0; transform: translateY(10px); transition: .4s var(--ease);
}
.tile:hover figcaption { opacity: 1; transform: translateY(0); }
.tile .tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); display: block; margin-bottom: 3px; }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; } .span-3 { grid-column: span 3; }
.tall { grid-row: span 2; }
.tile.tall img { min-height: 100%; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat .n { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.dark .stat .n { color: #fff; }
.stat .l { font-size: 13px; color: var(--grey-light); letter-spacing: .06em; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 5vw, 60px); margin-bottom: 18px; }
.cta-band .lede { margin: 0 auto 34px; max-width: 560px; }

/* ---------- Enquiry form ---------- */
.form-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,.45); }
.form-aside { background: var(--ink); color: #fff; padding: 52px 46px; }
.form-aside h2 { color: #fff; font-size: 32px; margin-bottom: 18px; }
.form-aside p { color: rgba(255,255,255,.72); font-size: 15.5px; margin-bottom: 30px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-line .ico { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; font-size: 16px; }
.contact-line .lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.contact-line .val { font-size: 15px; color: #fff; }
.contact-line a.val:hover { color: var(--y); }
.form-main { background: #fff; padding: 52px 46px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg-alt);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink); background: #fff;
  box-shadow: 0 0 0 4px rgba(10,10,10,.06);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 12.5px; color: var(--grey-light); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; font-size: 13px; color: var(--grey); line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.consent a { color: var(--accent); text-decoration: underline; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #137333; }
.form-status.err { display: block; color: var(--accent); }
button.btn-submit {
  width: 100%; background: var(--ink); color: #fff; border: 0; padding: 16px; border-radius: 12px;
  font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background .25s, transform .2s var(--ease);
}
button.btn-submit:hover { background: var(--accent); transform: translateY(-2px); }
button.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Page header (about/enquiry) ---------- */
.page-head { padding: clamp(70px,10vw,120px) 0 clamp(40px,5vw,60px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(38px, 6vw, 72px); margin: 16px 0 18px; }
.page-head .lede { max-width: 600px; }

/* ---------- Legal / prose ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--grey); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .meta { font-size: 13px; color: var(--grey-light); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 70px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { display: block; font-size: 14.5px; color: rgba(255,255,255,.7); margin-bottom: 11px; transition: color .2s; }
.footer a:hover { color: var(--y); }
.footer .blurb { font-size: 14.5px; max-width: 300px; line-height: 1.6; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Large tablets / small laptops */
@media (max-width: 1100px) {
  :root { --max: 960px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-shell { box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
}

/* Portrait tablets */
@media (max-width: 1024px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { padding: 44px 40px; }
}

/* Mobile + small tablets */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 60px 0 auto 0; background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    flex-direction: column; gap: 0; padding: 12px 0; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 14px 28px; }
  .nav-links .nav-cta { margin: 10px 28px; text-align: center; }
  .nav-toggle { display: block; }
  .split, .form-shell { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .span-6,.span-8 { grid-column: span 6; } .span-4,.span-3 { grid-column: span 3; }
  .tall { grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .span-6,.span-8,.span-4,.span-3 { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
  .form-aside, .form-main { padding: 38px 26px; }
  .hero { min-height: 88svh; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 8px; letter-spacing: .2em; }
  .brand-mark { height: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .span-6,.span-8,.span-4,.span-3 { grid-column: span 1; }
}

/* Short landscape phones — keep hero usable */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 460px; }
  .hero-content { padding-bottom: 6vh; }
}
