/* ===========================
   XYNA DESIGN — GLOBAL STYLES
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- TOKENS --- */
:root {
  --teal:        #4ECDC4;
  --teal-dark:   #38b2aa;
  --teal-deep:   #2a9d96;
  --teal-light:  #e6f7f6;
  --teal-ultra:  #f0fafa;
  --black:       #111111;
  --ink:         #1e1e1e;
  --gray-dark:   #3a3a3a;
  --gray-mid:    #6b6b6b;
  --gray-light:  #a8a8a8;
  --gray-rule:   #e0e0e0;
  --offwhite:    #f8f9f9;
  --white:       #ffffff;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-w:       1200px;
  --nav-h:       72px;
  --section-gap: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; }

.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-dark);
  font-weight: 300;
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: var(--section-gap) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }

.btn-outline { border: 1.5px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); transform: translateY(-1px); }

.btn-teal { background: var(--teal); color: var(--black); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ===================
   NAV
   =================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  border-bottom-color: var(--gray-rule);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg { width: 20px; height: 20px; }

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active { color: var(--black); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* CTA pill in nav */
.nav-cta {
  padding: 10px 24px !important;
  min-height: 42px;
  background: var(--teal) !important;
  color: var(--black) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px) !important;
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.28s var(--ease-out);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile slide-down menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-rule);
  padding: 8px 0 24px;
  transform: translateY(-105%);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
  z-index: 199;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  padding: 16px 32px;
  border-bottom: 1px solid var(--gray-rule);
  transition: background 0.15s, color 0.15s;
  display: block;
}

.nav-mobile a:last-child {
  border-bottom: none;
  margin: 16px 24px 0;
  padding: 14px 24px;
  background: var(--teal);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
}

.nav-mobile a:hover { background: var(--offwhite); color: var(--black); }
.nav-mobile a:last-child:hover { background: var(--teal-dark); }

/* ===================
   PAGE HERO (inner pages)
   =================== */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background: var(--offwhite);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .label { margin-bottom: 16px; }
.page-hero h1 { max-width: 700px; margin-bottom: 24px; }
.page-hero .lead { max-width: 580px; }

/* ===================
   FOOTER
   =================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
}

.footer-upper { padding: 72px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand .nav-logo-mark { background: var(--teal); }

.footer-brand p {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: rgba(255,255,255,0.55);
}

.social-icon:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(78,205,196,0.08);
}

.social-icon svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 14px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  display: block;
  padding: 2px 0;
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: none;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--teal); }

.footer-gdpr {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
}

/* ===================
   SHARED UI
   =================== */
.divider { width: 48px; height: 2px; background: var(--teal); margin: 20px 0; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.card-body { padding: 28px; }
.card-body h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card-body p { font-size: 0.875rem; color: var(--gray-mid); }

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-intro .label { text-align: center; }
.section-intro h2 { margin-bottom: 16px; }
.section-intro p { color: var(--gray-mid); font-size: 1rem; }

/* ===================
   MARKETING COLLATERAL MOCKUPS (CSS ART)
   =================== */

/* Magazine */
.mag-mockup {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f0ede8;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mag-mockup-cover {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
}

.mag-bg-block {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2a2a 0%, #2a3f3e 60%, var(--teal-deep) 100%);
}

.mag-bg-accent {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 65%;
  background: var(--teal-light);
  opacity: 0.12;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
}

.mag-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--teal);
}

.mag-logo {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.mag-title-block { position: relative; z-index: 1; }

.mag-issue {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.mag-title-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 10px;
}

.mag-subtitle-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

.mag-lines {
  position: absolute;
  top: 30%; right: 20px;
  display: flex; flex-direction: column; gap: 5px;
  z-index: 1;
}

.mag-lines span { display: block; height: 1.5px; background: rgba(255,255,255,0.15); }

.mag-barcode {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 36px;
  display: flex; flex-direction: row; align-items: flex-end; gap: 2px;
  z-index: 1;
}

.mag-barcode span { width: 2px; background: rgba(255,255,255,0.4); }

/* Brand identity */
.brand-mockup {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--offwhite);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.brand-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.brand-card-logo { background: var(--black); grid-column: 1; grid-row: 1 / 3; }

.brand-logo-mark {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

.brand-logo-mark svg { width: 32px; height: 32px; }

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-wordmark-sub {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.brand-card-palette { background: var(--white); border-bottom: 1px solid var(--gray-rule); }
.brand-swatches { display: flex; gap: 6px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; }

.brand-card-type {
  background: var(--teal-ultra);
  border-left: 1px solid var(--gray-rule);
  align-items: flex-start;
  padding: 16px 20px;
}

.type-sample { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--black); line-height: 1; }
.type-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-mid); margin-top: 4px; }

/* Browser / website mockup */
.browser-mockup {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-rule);
  display: flex;
  flex-direction: column;
}

.browser-bar {
  height: 36px;
  background: #f0f0f0;
  display: flex; align-items: center;
  padding: 0 14px; gap: 12px;
  flex-shrink: 0;
  border-bottom: 1px solid #e0e0e0;
}

.browser-dots { display: flex; gap: 5px; flex-shrink: 0; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff6058; }
.browser-dots span:nth-child(2) { background: #ffa130; }
.browser-dots span:nth-child(3) { background: #29c940; }

.browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 4px; height: 20px;
  border: 1px solid #ddd;
  display: flex; align-items: center; padding: 0 8px;
  font-size: 0.6rem; color: var(--gray-light);
  max-width: 220px;
}

.browser-content { flex: 1; overflow: hidden; position: relative; }

.site-a-hero {
  height: 55%;
  background: linear-gradient(135deg, #1a2a2a 0%, #2a4040 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 24px; position: relative; overflow: hidden;
}

.site-a-nav {
  position: absolute; top: 0; left: 0; right: 0;
  height: 28px; display: flex; align-items: center;
  padding: 0 16px; justify-content: space-between;
}

.site-a-nav-logo { font-size: 0.55rem; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 0.1em; text-transform: uppercase; }
.site-a-nav-links { display: flex; gap: 10px; }
.site-a-nav-links span { width: 20px; height: 1px; background: rgba(255,255,255,0.3); }

.site-a-hero-text { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: #fff; max-width: 160px; line-height: 1.2; position: relative; z-index: 1; }
.site-a-hero-sub { font-size: 0.5rem; color: rgba(255,255,255,0.5); margin-top: 6px; position: relative; z-index: 1; }
.site-a-hero-dot { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 50%; background: var(--teal); opacity: 0.25; }

.site-a-body { height: 45%; background: var(--white); padding: 12px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; }
.site-a-card { background: var(--offwhite); border-radius: 3px; height: 40px; position: relative; overflow: hidden; }
.site-a-card::after { content: ''; position: absolute; top: 8px; left: 8px; right: 8px; height: 2px; background: var(--teal); border-radius: 1px; }

/* Print / brochure */
.print-mockup {
  width: 100%;
  aspect-ratio: 4/3;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; padding: 12px;
  background: #e8e8e8;
  border-radius: var(--radius-sm);
}

.print-page { background: var(--white); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.print-page-cover { flex: 1; position: relative; overflow: hidden; }
.print-cover-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--teal-deep) 0%, #1a3030 100%); }
.print-cover-shapes { position: absolute; inset: 0; }
.print-shape-1 { position: absolute; width: 80%; height: 80%; top: 10%; right: -20%; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.1); }
.print-shape-2 { position: absolute; width: 50%; height: 50%; bottom: 0; left: -10%; background: rgba(255,255,255,0.05); }
.print-cover-text { position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 1; }
.print-cover-t1 { font-family: var(--font-serif); font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.1; }
.print-cover-t2 { font-size: 0.5rem; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.print-page-inner { padding: 12px; }
.print-inner-line { height: 4px; background: var(--teal); width: 24px; border-radius: 2px; margin-bottom: 8px; }
.print-inner-rows { display: flex; flex-direction: column; gap: 4px; }
.print-inner-rows span { display: block; height: 3px; border-radius: 2px; background: var(--gray-rule); }
.print-inner-rows span:last-child { width: 60%; }

/* ===================
   HOME PAGE
   =================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: var(--nav-h);
}

.hero-bg-teal {
  position: absolute;
  top: 0; right: 0;
  width: 42%; height: 100%;
  background: var(--teal-ultra);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-bg-circle {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid var(--teal-light);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--teal-deep); }

.hero-lead {
  font-size: 1.05rem;
  color: var(--gray-dark);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 460px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gray-light), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.hero-visual { position: relative; z-index: 1; }

.hero-mockup-stack { position: relative; display: flex; justify-content: center; align-items: center; }

.hero-mockup-main {
  width: 100%; max-width: 360px;
  position: relative; z-index: 2;
  border-radius: var(--radius-md); overflow: hidden;
}

.hero-mockup-back {
  position: absolute;
  width: 65%; z-index: 1;
  bottom: -20px; right: -20px;
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* About section */
.about-section { background: var(--white); }
.about-text .label { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--gray-dark); margin-bottom: 16px; font-size: 0.95rem; }

.about-values { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }

.value-item { display: flex; gap: 16px; align-items: flex-start; }

.value-icon {
  width: 42px; height: 42px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal-deep);
}

.value-icon svg { width: 18px; height: 18px; }
.value-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.value-text p { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 0; }

.about-visual { position: relative; }

.about-collateral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-collateral-grid > *:nth-child(1) { grid-column: 1 / 3; }

/* Stats strip */
.stats-strip { background: var(--black); padding: 72px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-top: 10px;
  text-transform: uppercase;
}

/* Services */
.services-section { background: var(--offwhite); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-rule);
  transition: all 0.3s var(--ease-out);
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(78,205,196,0.12);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-deep);
  transition: background 0.3s;
}

.service-card:hover .service-icon { background: var(--teal); color: var(--white); }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--gray-mid); }

/* Process */
.process-section { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--gray-rule);
}

.process-step { text-align: center; padding: 0 16px; }

.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  transition: all 0.3s;
}

.process-step:hover .process-num { background: var(--teal); border-color: var(--teal); color: var(--white); }
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 0.8rem; color: var(--gray-mid); }

/* Testimonials */
.testimonial-section { background: var(--teal-ultra); }
.testimonial-grid { gap: 24px; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--teal-light);
}

.testimonial-stars { color: var(--teal); font-size: 0.875rem; margin-bottom: 16px; }
.testimonial-text {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--teal-deep);
  flex-shrink: 0;
}

.author-name { font-size: 0.875rem; font-weight: 600; }
.author-role { font-size: 0.75rem; color: var(--gray-light); }

/* CTA */
.cta-section { background: var(--black); padding: 96px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.5); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===================
   CASE STUDIES
   =================== */
.cs-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cs-filter-btn {
  padding: 10px 22px;
  min-height: 44px;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-rule);
  color: var(--gray-dark);
  transition: all 0.2s;
  white-space: nowrap;
}

.cs-filter-btn:hover,
.cs-filter-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }

.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.cs-card {
  background: var(--white);
  border: 1px solid var(--gray-rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}

.cs-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); transform: translateY(-6px); }

.cs-card-visual { padding: 32px; background: var(--offwhite); }
.cs-card-body { padding: 28px 32px 32px; }
.cs-card-body .card-tag { margin-bottom: 10px; }
.cs-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cs-card-body p { font-size: 0.875rem; color: var(--gray-mid); line-height: 1.7; margin-bottom: 16px; }

.cs-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--gray-rule);
  font-size: 0.75rem;
  color: var(--gray-light);
}

.cs-meta span strong {
  display: block;
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.cs-featured {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cs-featured .cs-card-visual {
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  min-height: 280px;
}

.cs-featured .cs-card-body { padding: 40px; }
.cs-featured h3 { font-size: 1.4rem; }

/* ===================
   CONTACT
   =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .label { margin-bottom: 16px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info .lead { margin-bottom: 40px; }

.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal-deep);
}

.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-text h4 { font-size: 0.875rem; color: var(--gray-mid); font-family: var(--font-sans); font-weight: 400; margin-bottom: 4px; }
.contact-detail-text a,
.contact-detail-text p { font-size: 1rem; font-weight: 500; color: var(--black); }
.contact-detail-text a:hover { color: var(--teal-deep); }

.contact-form-box {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--gray-rule);
}

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

.form-group label {
  display: block;
  font-size: 0.8rem; font-weight: 500;
  color: var(--gray-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(78,205,196,0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-notice { font-size: 0.75rem; color: var(--gray-mid); margin-top: 12px; line-height: 1.6; }

/* ===================
   FIND US
   =================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--gray-rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.location-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.09); transform: translateY(-4px); }

.location-map { height: 180px; background: var(--offwhite); position: relative; overflow: hidden; }

.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--gray-rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-rule) 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-roads { position: absolute; inset: 0; }
.map-road-h { position: absolute; left: 0; right: 0; height: 6px; background: rgba(255,255,255,0.85); }
.map-road-v { position: absolute; top: 0; bottom: 0; width: 6px; background: rgba(255,255,255,0.85); }

.map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
}

.map-pin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.map-pin-shadow { width: 8px; height: 4px; background: rgba(0,0,0,0.15); border-radius: 50%; margin-top: 2px; }
.map-pin-ring { position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--teal); opacity: 0.4; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.location-body { padding: 24px; }

.location-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  margin-bottom: 12px;
}

.badge-primary { background: var(--teal-light); color: var(--teal-deep); }
.badge-secondary { background: var(--offwhite); color: var(--gray-mid); border: 1px solid var(--gray-rule); }

.location-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.location-body .location-role { font-size: 0.8rem; color: var(--gray-mid); margin-bottom: 20px; }

.location-detail-row {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.875rem; color: var(--gray-dark);
}

.location-detail-row svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--teal-deep); }

.location-hours { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-rule); }

.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; padding: 6px 0;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--offwhite);
}

.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--gray-mid); }
.hours-row .closed { color: var(--gray-light); font-style: italic; }

/* Transport */
.transport-section { background: var(--teal-ultra); }

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

.transport-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 1px solid var(--teal-light);
  text-align: center;
}

.transport-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--teal-deep);
}

.transport-icon svg { width: 24px; height: 24px; }
.transport-card h4 { font-size: 0.95rem; margin-bottom: 8px; }
.transport-card p { font-size: 0.8rem; color: var(--gray-mid); line-height: 1.65; }

/* ===================
   LEGAL PAGES
   =================== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--section-gap) 0;
}

.legal-content h1 { margin-bottom: 10px; }

.legal-content .legal-meta {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-rule);
}

.legal-content h2 { font-size: 1.3rem; margin-top: 44px; margin-bottom: 16px; }
.legal-content h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 10px; }

.legal-content p { font-size: 0.9375rem; color: var(--gray-dark); line-height: 1.85; margin-bottom: 16px; }

.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.legal-content ul li { font-size: 0.9375rem; color: var(--gray-dark); line-height: 1.75; margin-bottom: 10px; }
.legal-content a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }

.legal-toc {
  background: var(--teal-ultra);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.legal-toc h4 { font-size: 0.9rem; margin-bottom: 14px; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; column-count: 2; column-gap: 24px; }
.legal-toc ul li { margin-bottom: 8px; break-inside: avoid; }
.legal-toc ul li a { font-size: 0.85rem; color: var(--teal-deep); }

/* ===================
   ANIMATIONS
   =================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===================
   RESPONSIVE — 1024px (tablet landscape)
   =================== */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .container { padding: 0 32px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .process-step { padding: 0; }

  .transport-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-brand p { max-width: 400px; }

  .hero-grid { gap: 40px; }
  .hero-mockup-main { max-width: 300px; }

  .contact-grid { gap: 48px; }
  .cs-grid { gap: 24px; }
}

/* ===================
   RESPONSIVE — 860px (tablet portrait / large phone)
   =================== */
@media (max-width: 860px) {
  /* Nav: switch to hamburger */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav { padding: 0 24px; }

  /* Hero: single column */
  .hero-grid { grid-template-columns: 1fr; padding: 72px 0 56px; }
  .hero-visual { display: none; }
  .hero-bg-teal { display: none; }
  .hero-bg-circle { display: none; }
  .hero { min-height: auto; }
  .hero-scroll { display: none; }
  .hero-lead { max-width: 100%; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 56px; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* About */
  .about-collateral-grid { grid-template-columns: 1fr 1fr; }
  .about-collateral-grid > *:nth-child(1) { grid-column: 1 / 3; }

  /* Case studies */
  .cs-grid { grid-template-columns: 1fr; gap: 24px; }
  .cs-featured { grid-column: 1; grid-template-columns: 1fr; }
  .cs-featured .cs-card-visual { min-height: 220px; }
  .cs-featured .cs-card-body { padding: 28px 32px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }

  /* Legal */
  .legal-toc ul { column-count: 1; }
}

/* ===================
   RESPONSIVE — 600px (small / most phones)
   =================== */
@media (max-width: 600px) {
  :root { --section-gap: 56px; }

  .container { padding: 0 20px; }

  .site-nav { padding: 0 20px; }

  /* Typography */
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Hero */
  .hero { padding-top: var(--nav-h); }
  .hero-grid { padding: 56px 0 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr; gap: 32px; }

  /* Case studies filters */
  .cs-filter { gap: 8px; }
  .cs-filter-btn { font-size: 0.78rem; padding: 9px 16px; }

  /* About collateral */
  .about-collateral-grid { grid-template-columns: 1fr; }
  .about-collateral-grid > *:nth-child(1) { grid-column: 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-brand p { max-width: 100%; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }

  /* Location cards */
  .locations-grid { grid-template-columns: 1fr; }

  /* Transport */
  .transport-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .transport-card { padding: 20px 16px; }

  /* Stats strip */
  .stats-strip { padding: 48px 0; }
  .stat-item .stat-num { font-size: 2.4rem; }

  /* Section intro */
  .section-intro { margin-bottom: 40px; }

  /* Legal ToC */
  .legal-toc { padding: 20px; }

  /* CTA section */
  .cta-section { padding: 64px 0; }
  .cta-section p { margin-bottom: 32px; }

  /* Buttons full-width in CTAs */
  .cta-section .hero-actions { justify-content: center; }
}
