/* ============================================
   SEVEN TWENTY NORTH — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --bg-3: #1a1a1a;
  --text: #f5f5f0;
  --text-mute: #8a8a85;
  --text-dim: #555550;
  --accent: #ffd60a;
  --accent-dim: #b89800;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Geist', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 60px);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.display .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--text-mute);
}

h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; }
h4 { font-size: 1.25rem; font-weight: 500; font-family: var(--font-body); letter-spacing: -0.01em; }

p { font-size: 1.0625rem; line-height: 1.7; color: var(--text); max-width: 65ch; }

.lede { font-size: 1.25rem; line-height: 1.6; color: var(--text); font-weight: 300; max-width: 60ch; }

.label, .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.label-mute { color: var(--text-mute); }

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-links a {
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
}

/* ============ LAYOUT ============ */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { padding: clamp(80px, 12vw, 160px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}

@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad) 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, transparent 30%, transparent 50%, rgba(10,10,10,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-meta span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.hero-meta span:first-child { color: var(--accent); }

.hero h1 {
  margin-bottom: 32px;
  max-width: 14ch;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) {
  .hero-foot { flex-direction: column; align-items: flex-start; }
}
.hero-foot p { max-width: 38ch; font-size: 0.95rem; color: var(--text); }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 18px 32px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
}
.btn-primary:hover { background: #fff; transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============ MARQUEE ============ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 300;
}
.marquee-track span { display: flex; align-items: center; gap: 80px; color: var(--text-mute); }
.marquee-track span::after {
  content: '✦';
  color: var(--accent);
  font-style: normal;
  font-size: 0.7em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SERVICES GRID ============ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  position: relative;
  transition: background 0.4s;
}
.service-card:hover { background: var(--bg-2); }

.service-card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 60px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.service-card h3 .italic { font-style: italic; color: var(--text-mute); }

.service-card p {
  color: var(--text-mute);
  font-size: 0.95rem;
  margin-bottom: 32px;
  flex-grow: 1;
}
.service-card .link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.service-card .link .arrow { transition: transform 0.3s; }
.service-card:hover .link .arrow { transform: translateX(6px); }
.service-card:hover .link { color: var(--accent); }

/* ============ FEATURE / SPLIT ============ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > *:first-child { order: 0; }
}

.split-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.split-img:hover img { transform: scale(1.05); }

.split-img .tag {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  padding: 8px 14px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}

.split-text .label { margin-bottom: 24px; display: block; }
.split-text h2 { margin-bottom: 28px; }
.split-text p { margin-bottom: 20px; }

/* ============ SPECS / NUMBERS ============ */

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) { .specs { grid-template-columns: repeat(2, 1fr); } }

.spec {
  padding: 50px 30px;
  border-right: 1px solid var(--line);
  position: relative;
}
.spec:last-child { border-right: none; }
@media (max-width: 768px) {
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(1), .spec:nth-child(2) { border-bottom: 1px solid var(--line); }
}

.spec .label { display: block; margin-bottom: 16px; color: var(--text-mute); }
.spec .value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.spec .unit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============ GALLERY ============ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-grid .g-item {
  position: relative;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-grid .g-item:hover img { transform: scale(1.04); }

.g1 { grid-column: span 8; aspect-ratio: 16/10; }
.g2 { grid-column: span 4; aspect-ratio: 4/5; }
.g3 { grid-column: span 4; aspect-ratio: 4/5; }
.g4 { grid-column: span 8; aspect-ratio: 16/10; }
.g5 { grid-column: span 6; aspect-ratio: 4/3; }
.g6 { grid-column: span 6; aspect-ratio: 4/3; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .g-item { grid-column: 1; aspect-ratio: 4/3; }
}

/* ============ TESTIMONIALS ============ */

.testimonial {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--text);
}
.testimonial cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  font-style: normal;
}

/* ============ FAQ ============ */

.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 30px;
}
.faq-item .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.faq-item p { color: var(--text-mute); font-size: 0.98rem; }

/* ============ FORM ============ */

.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--bg); }

.field-full { grid-column: 1 / -1; }

/* ============ BLOG CARDS ============ */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post-card .post-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.post-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.post-card:hover img { transform: scale(1.05); }

.post-card .meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
}
.post-card .meta .cat { color: var(--accent); }
.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--text-mute); font-size: 0.95rem; }

/* ============ ARTICLE ============ */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 140px;
}
.article .meta {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: 32px;
}
.article .meta .cat { color: var(--accent); }

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.article .lede {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.article-feature {
  margin: 60px 0;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.article-feature img { width: 100%; height: 100%; object-fit: cover; }

.article-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-top: 60px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 18px;
}
.article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text);
}
.article-body p strong { color: var(--accent); font-weight: 500; }
.article-body ul, .article-body ol { margin: 24px 0 24px 24px; color: var(--text); }
.article-body li { margin-bottom: 12px; line-height: 1.7; }
.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 30px;
  margin: 40px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
}

/* ============ FOOTER ============ */

footer {
  border-top: 1px solid var(--line);
  padding: 80px var(--pad) 40px;
  background: var(--bg);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  max-width: 14ch;
  line-height: 1.1;
}
.footer-brand p { color: var(--text-mute); font-size: 0.92rem; max-width: 38ch; }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* ============ PAGE HEADER (non-home pages) ============ */

.page-header {
  padding: 200px var(--pad) 100px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .label { display: block; margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 32px;
}
.page-header h1 .italic { font-style: italic; color: var(--text-mute); }
.page-header p { font-size: 1.15rem; max-width: 50ch; color: var(--text-mute); }

/* ============ FLOATING WHATSAPP ============ */

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 8px 30px rgba(255, 214, 10, 0.3);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ============ MOBILE NAV ============ */

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.open { display: flex; }
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 60px;
  }
  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
  }
  .mobile-nav a.active { color: var(--accent); font-style: italic; }
}

/* ============ ANIMATIONS ============ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
