/* ============================================================
   TERRAVISION MEDIA GROUP — WHITE EDITORIAL DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;
  --soft:         #F2F1ED;
  --card:         #EDECE8;
  --border:       #E0DED7;
  --border-light: #EEECE7;

  --ink:          #0A0A0A;
  --ink-70:       #3A3A3A;
  --ink-50:       #6B6B6B;
  --ink-30:       #A8A8A8;

  --red:          #C8332E;
  --red-hover:    #A8211D;

  --font-display: 'Anton', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:        72px;
  --max:          1360px;
  --radius:       2px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  padding-top: var(--nav-h);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  transition: background var(--transition) !important;
  white-space: nowrap;
  margin-left: 12px;
}
.nav-cta:hover { background: var(--red-hover) !important; }

/* hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink);
  transition: var(--transition);
}

/* mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 40px;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-drawer .drawer-cta {
  margin-top: 8px;
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 18px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius);
  width: 100%;
  text-align: center;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; line-height: 1.3; }
.overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 10px;
}
.overline::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.overline-red { color: var(--red); }
.overline-red::before { background: var(--red); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }
.section-alt { background: var(--off-white); }
.section-soft { background: var(--soft); }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.divider-thick { border: none; border-top: 2px solid var(--ink); margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.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; gap: 8px;
  padding: 14px 32px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-70); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-red { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }

/* ── CARDS ────────────────────────────────────────────────── */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.card-white { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* ── IMAGE TREATMENTS ─────────────────────────────────────── */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-aspect-4-5 { aspect-ratio: 4/5; overflow: hidden; }
.img-aspect-3-4 { aspect-ratio: 3/4; overflow: hidden; }
.img-aspect-16-9 { aspect-ratio: 16/9; overflow: hidden; }
.img-aspect-1-1 { aspect-ratio: 1/1; overflow: hidden; }
.img-zoom img { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.img-zoom:hover img { transform: scale(1.04); }

/* ── TAGS ─────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 1px;
}
.tag-red { background: var(--red); color: var(--white); }
.tag-ink { background: var(--ink); color: var(--white); }
.tag-outline { border: 1px solid var(--border); color: var(--ink-50); }

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--border); }
.page-hero-eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 130px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin-bottom: 24px;
}
.page-hero p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ink-50);
  max-width: 520px;
  line-height: 1.5;
}

/* ── SERVICE BLOCKS ───────────────────────────────────────── */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); }
.service-block-reverse .service-media { order: -1; }
.service-text { padding: 72px 60px; display: flex; flex-direction: column; justify-content: center; }
.service-text h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); text-transform: uppercase; line-height: 0.95; margin: 16px 0 20px; }
.service-text p { font-size: 15px; color: var(--ink-50); line-height: 1.75; max-width: 420px; margin-bottom: 32px; }
.service-media { background: var(--soft); overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }

/* ── PRICING TILES ────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pricing-tile { background: var(--white); padding: 48px 36px; position: relative; }
.pricing-tile.featured { background: var(--ink); color: var(--white); }
.pricing-tile .tier-name { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 16px; }
.pricing-tile.featured .tier-name { color: rgba(255,255,255,0.45); }
.pricing-tile .price { font-family: var(--font-display); font-size: 56px; line-height: 1; margin-bottom: 24px; }
.pricing-tile .price span { font-family: var(--font-body); font-size: 18px; font-weight: 300; }
.pricing-tile ul { display: flex; flex-direction: column; gap: 10px; }
.pricing-tile ul li { font-size: 14px; color: var(--ink-70); padding-left: 16px; position: relative; }
.pricing-tile ul li::before { content: '–'; position: absolute; left: 0; color: var(--red); }
.pricing-tile.featured ul li { color: rgba(255,255,255,0.7); }
.pricing-tile .featured-badge { position: absolute; top: 20px; right: 20px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--white); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-brand img { height: 32px; filter: brightness(0) invert(1); }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-social a:hover { color: var(--white); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: 11px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-block { grid-template-columns: 1fr; }
  .service-block-reverse .service-media { order: 0; }
  .service-text { padding: 48px 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .page-hero { padding: 40px 0 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .nav-drawer { padding: 32px 20px; }
  .service-text { padding: 40px 20px; }
}
