/* =============================================
   THE FORTE BUILDER — MAIN STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700&family=Inter:wght@300;400;500&family=Space+Mono:wght@400;700&display=swap');

:root {
  --navy:      #112042;
  --navy-deep: #0b1730;
  --blue:      #4a6796;
  --blue-soft: #c4cfe2;
  --paper:     #f2f2f0;
  --white:     #ffffff;
  --ink:       #1c2434;
  --muted:     #6c7488;
  --line:      #d6d9e0;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Archivo', sans-serif; color: var(--navy); text-transform: uppercase; line-height: 1.06; letter-spacing: 0.01em; font-weight: 700; }

/* UTILITY */
.wrap         { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.eyebrow      { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--blue); }
.reveal       { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in    { opacity: 1; transform: translateY(0); }

/* BUTTONS */
.btn-solid  { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 16px 28px; background: var(--navy); color: #fff; border: none; cursor: pointer; transition: background .2s; }
.btn-solid:hover  { background: var(--navy-deep); color: #fff; }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 26px; background: transparent; color: var(--navy); border: 1px solid var(--navy); cursor: pointer; transition: all .2s; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* =============================================
   HEADER / NAV
   ============================================= */
.tfb-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.tfb-nav    { display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; max-width: 1240px; margin: 0 auto; }
.tfb-logo   { display: flex; align-items: center; gap: 12px; }
.tfb-logo img { height: 32px; width: auto; }
.tfb-logo-text .name { font-family: 'Archivo', sans-serif; font-size: 13px; letter-spacing: 0.08em; font-weight: 700; color: var(--navy); display: block; line-height: 1.2; text-transform: uppercase; }
.tfb-logo-text .sub  { font-family: 'Space Mono', monospace; font-size: 8px; letter-spacing: 0.3em; color: var(--muted); display: block; text-transform: uppercase; }

/* Main Menu */
.tfb-menu { display: flex; gap: 32px; align-items: center; list-style: none; }
.tfb-menu a { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); position: relative; padding-bottom: 3px; }
.tfb-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--navy); transition: width .25s; }
.tfb-menu a:hover::after,
.tfb-menu .current-menu-item a::after { width: 100%; }
.tfb-nav-cta { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 22px; background: var(--navy); color: #fff; transition: background .2s; }
.tfb-nav-cta:hover { background: var(--navy-deep); color: #fff; }

/* Mobile burger */
.tfb-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.tfb-burger span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* =============================================
   FOOTER
   ============================================= */
.tfb-footer { padding: 32px 0; border-top: 1px solid var(--line); background: var(--paper); }
.tfb-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.tfb-footer-left, .tfb-footer-right { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }

/* =============================================
   HOME — HERO
   ============================================= */
.hero { overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 40px; }
.hero-text h1 { font-size: clamp(48px, 6vw, 80px); margin: 18px 0 0; }
.hero-lead { font-size: 16px; color: var(--muted); max-width: 400px; margin: 20px 0 32px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-tags { display: flex; gap: 20px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.hero-tags span { position: relative; padding-left: 16px; }
.hero-tags span::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border: 1px solid var(--blue); transform: translateY(-50%) rotate(45deg); }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { position: absolute; bottom: 40px; left: -20px; background: #fff; padding: 24px 28px; box-shadow: 0 20px 60px rgba(17,32,66,0.25); min-width: 220px; }
.hero-card ul { list-style: none; }
.hero-card li { font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.hero-card li:last-child { border: none; }
.hero-card li::before { content: ""; width: 5px; height: 5px; background: var(--navy); flex: none; }

/* =============================================
   HOME — SERVICES STRIP
   ============================================= */
.home-services { padding: 100px 0; border-top: 1px solid var(--line); }
.home-services .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.home-services h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 0; }
.svc-list { margin-top: 20px; }
.svc-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-num   { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--blue); padding-top: 2px; }
.svc-title { font-family: 'Archivo', sans-serif; font-size: 13px; letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase; font-weight: 700; }
.svc-desc  { font-size: 13px; color: var(--muted); margin-top: 6px; max-width: 300px; line-height: 1.6; }
.svc-link  { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--navy); white-space: nowrap; align-self: center; }
.home-services-photo { aspect-ratio: 3/4; overflow: hidden; }
.home-services-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   WHY SECTION
   ============================================= */
.why-section { padding: 90px 0; background: #fff; border-top: 1px solid var(--line); }
.section-center { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-center h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 12px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.why-card { background: #fff; padding: 36px 28px; }
.why-card .num { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--blue); }
.why-card h3 { font-size: 13px; margin: 16px 0 10px; letter-spacing: 0.04em; }
.why-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* CTA STRIP */
.cta-strip { padding: 60px 0; text-align: center; }
.cta-strip h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 12px 0 28px; }

/* =============================================
   HOME — PROJECTS GRID
   ============================================= */
.home-projects { padding: 100px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; }
.section-header h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 12px; }
.section-header p  { max-width: 300px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj-card .frame { aspect-ratio: 4/5; overflow: hidden; }
.proj-card img    { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.proj-card:hover img { transform: scale(1.05); }
.proj-meta  { padding-top: 18px; }
.proj-num   { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--blue); }
.proj-card h4 { font-size: 16px; margin: 8px 0 12px; letter-spacing: 0.02em; }
.proj-specs { display: flex; gap: 18px; font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; }
.proj-specs div { line-height: 1.8; }
.proj-specs span { display: block; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--ink); text-transform: none; }

/* =============================================
   HOME — APPROACH
   ============================================= */
.approach-section { padding: 100px 0; background: #fff; border-top: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.approach-step .step-num { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--blue); }
.approach-step h4 { font-size: 13px; margin: 14px 0 8px; letter-spacing: 0.04em; }
.approach-step p  { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.approach-step .frame { aspect-ratio: 1; overflow: hidden; }
.approach-step .frame img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   WHERE WE WORK
   ============================================= */
.where-section { padding: 100px 0; }
.where-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.where-section h2 { font-size: clamp(36px, 5vw, 64px); margin: 12px 0 0; }
.where-lead { font-size: 14.5px; color: var(--muted); margin: 20px 0 40px; line-height: 1.7; max-width: 280px; }
.where-stat .big-num { font-family: 'Archivo', sans-serif; font-size: 72px; color: var(--navy); line-height: 1; font-weight: 700; }
.where-stat .label   { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.15em; color: var(--blue); text-transform: uppercase; margin-top: 6px; }

/* =============================================
   CLIENT STORIES
   ============================================= */
.stories-section { padding: 100px 0; background: #fff; border-top: 1px solid var(--line); }
.stories-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 50px; }
.story-card { position: relative; min-height: 360px; overflow: hidden; display: flex; align-items: flex-end; }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,23,48,.85) 0%, transparent 55%); }
.story-content { position: relative; z-index: 2; padding: 32px; color: #fff; }
.story-content .story-num { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--blue-soft); margin-bottom: 10px; }
.story-content blockquote { font-size: 15px; line-height: 1.6; max-width: 320px; margin: 0 0 14px; }
.story-content .who { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: #b8c4d8; }
.stories-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }

/* =============================================
   FINAL CTA (blueprint)
   ============================================= */
.final-cta { padding: 120px 0 100px; position: relative; overflow: hidden; }
.final-cta h2 { font-size: clamp(36px, 6vw, 72px); max-width: 700px; }
.final-cta .btn-outline { margin-top: 36px; }
.final-cta .coord { position: absolute; top: 40px; right: 40px; font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); text-align: right; line-height: 1.8; }
.final-cta .bp-svg { position: absolute; right: -40px; bottom: -30px; width: 52%; opacity: .85; }

/* =============================================
   SERVICES PAGE
   ============================================= */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; overflow: hidden; }
.page-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 40px; }
.page-hero-text h1 { font-size: clamp(52px, 7vw, 96px); margin: 16px 0 0; }
.page-hero-text .lead { font-size: 16px; color: var(--muted); max-width: 380px; margin: 20px 0 34px; line-height: 1.7; }
.page-hero-text .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-photo { overflow: hidden; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.svc-rows { padding: 0; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.svc-row.reverse { direction: rtl; }
.svc-row.reverse > * { direction: ltr; }
.svc-row-photo { overflow: hidden; }
.svc-row-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-row:hover .svc-row-photo img { transform: scale(1.04); }
.svc-row-content { display: flex; flex-direction: column; justify-content: center; padding: 60px 56px; background: #fff; border-bottom: 1px solid var(--line); }
.svc-row-content .num { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--blue); }
.svc-row-content h3 { font-size: clamp(20px, 2.4vw, 28px); margin: 16px 0 14px; }
.svc-row-content p  { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 380px; }
.svc-row-content .learn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--navy); margin-top: 24px; border-bottom: 1px solid var(--navy); padding-bottom: 4px; }

.why-strip { padding: 90px 0; background: var(--paper); border-top: 1px solid var(--line); }
.why-strip h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 40px; }
.why-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.why-col .title { font-family: 'Archivo', sans-serif; font-size: 12px; letter-spacing: 0.06em; color: var(--navy); text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.why-col p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* =============================================
   PROJECTS PAGE
   ============================================= */
.proj-hero { padding: 80px 0 60px; position: relative; overflow: hidden; }
.proj-hero h1 { font-size: clamp(42px, 6vw, 80px); margin: 16px 0 0; }
.proj-hero .lead { font-size: 14.5px; color: var(--muted); max-width: 340px; margin-top: 18px; line-height: 1.7; }
.featured-project { padding: 60px 0; border-top: 1px solid var(--line); }
.featured-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: center; }
.featured-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--blue); text-transform: uppercase; margin-bottom: 16px; }
.featured-meta h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 20px; }
.detail-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.detail-row svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--blue); }
.featured-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 20px 0 28px; }
.featured-photo { aspect-ratio: 16/10; overflow: hidden; }
.featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.all-projects { padding: 80px 0; }
.projects-archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.archive-card .frame { aspect-ratio: 4/5; overflow: hidden; }
.archive-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.archive-card:hover img { transform: scale(1.05); }
.archive-meta { padding-top: 16px; }
.archive-num  { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--blue); }
.archive-card h4 { font-size: 16px; margin: 6px 0 6px; }
.archive-loc  { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.archive-link { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 2px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); overflow: hidden; }
.contact-left { padding: 80px 60px 80px 40px; display: flex; flex-direction: column; justify-content: center; }
.contact-left h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 20px; }
.contact-lead { font-size: 15px; color: var(--muted); max-width: 420px; line-height: 1.75; margin-bottom: 48px; }
.info-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-block:first-child { border-top: 1px solid var(--line); }
.info-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.info-value { font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.info-value a { color: var(--navy); }
.info-value a:hover { text-decoration: underline; }
.contact-right { position: relative; overflow: hidden; background: var(--paper); }
.contact-right svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-grid, .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .why-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner, .home-services .inner, .where-inner,
  .stories-grid, .page-hero, .svc-row,
  .featured-inner, .contact-page { grid-template-columns: 1fr; }
  .svc-row.reverse { direction: ltr; }
  .hero-text, .page-hero-text, .contact-left { padding: 60px 20px; }
  .proj-grid, .projects-archive { grid-template-columns: 1fr 1fr; }
  .stories-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .tfb-menu { display: none; }
  .tfb-burger { display: flex; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 600px) {
  .why-grid, .approach-grid, .proj-grid,
  .projects-archive, .why-strip-grid { grid-template-columns: 1fr; }
  .stories-side { grid-template-columns: 1fr; }
}

/* Mobile menu open */
.tfb-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--paper);
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  z-index: 200;
}
