/* =============================================
   SITE 1: TrueNorth Commercial Cleaning
   CONCEPT: Editorial Luxury Minimalism
   VIBE: Aesop meets corporate — massive type,
   hairline dividers, monochrome + single accent,
   generous whitespace, horizontal rhythm
   ============================================= */

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

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

:root {
  --black: #111111;
  --white: #FAFAFA;
  --offwhite: #F0EEEB;
  --cream: #E8E4DF;
  --mid: #999999;
  --accent: #2A5FE7;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

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

/* UTILITY */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hairline {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000;
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand svg { width: 30px; height: 30px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.35s;
}

.main-nav a:hover { color: var(--black); }

.header-cta {
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  color: var(--black) !important;
  font-weight: 600 !important;
  border: 1px solid var(--black);
  padding: 10px 24px;
  transition: all 0.35s !important;
}

.header-cta:hover {
  background: var(--black) !important;
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--black);
  transition: 0.3s;
}

/* ============ HERO — FULL-BLEED EDITORIAL ============ */
.hero-editorial {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
  position: relative;
  overflow: hidden;
  background: var(--offwhite);
}

.hero-editorial::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: url('hero.png') center/cover no-repeat;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  animation: fadeIn 1s 0.3s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 900px;
  position: relative;
  z-index: 2;
  animation: revealUp 1.2s 0.5s both cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
  z-index: 2;
  animation: fadeIn 1s 1s both;
}

.hero-desc {
  font-size: 1rem;
  color: var(--mid);
  max-width: 380px;
  line-height: 1.7;
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 16px 36px;
  background: none;
  cursor: pointer;
  transition: all 0.4s;
  color: var(--black);
  font-family: var(--font-body);
}

.btn-editorial:hover {
  background: var(--black);
  color: var(--white);
}

.btn-editorial .arrow {
  transition: transform 0.3s;
}

.btn-editorial:hover .arrow {
  transform: translateX(4px);
}

/* ============ MARQUEE TICKER ============ */
.ticker {
  padding: 18px 0;
  background: var(--black);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.ticker-item {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 0 40px;
}

.ticker-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* ============ SPLIT SECTIONS ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split-media {
  overflow: hidden;
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split:hover .split-media img {
  transform: scale(1.03);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px;
}

.split-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.split-content h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.split-content p {
  font-size: 0.95rem;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin: 24px 0;
}

.check-list li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============ NUMBERS BAR ============ */
.numbers-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.number-cell {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.number-cell:last-child { border-right: none; }

.number-val {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  display: block;
}

.number-unit {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 12px;
  display: block;
}

/* ============ SERVICES — EDITORIAL LIST ============ */
.services-editorial {
  padding: 120px 0;
}

.services-editorial .section-intro {
  max-width: 500px;
  margin-bottom: 80px;
}

.section-intro .label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: padding-left 0.4s, background 0.4s;
}

.service-row:hover {
  padding-left: 20px;
  background: rgba(0,0,0,0.015);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--mid);
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.service-row p {
  display: none;
}

.service-arrow {
  font-size: 1.2rem;
  color: var(--mid);
  transition: transform 0.3s, color 0.3s;
}

.service-row:hover .service-arrow {
  transform: translateX(6px);
  color: var(--accent);
}

/* ============ FULL IMAGE BREAK ============ */
.full-image {
  width: 100%;
  height: 60vh;
  overflow: hidden;
  position: relative;
}

.full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.full-image-overlay blockquote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: #fff;
  max-width: 600px;
  line-height: 1.4;
}

.full-image-overlay cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ CONTACT — ASYMMETRIC ============ */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 80vh;
}

.contact-left {
  background: var(--black);
  color: var(--white);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
  line-height: 1.15;
}

.contact-info-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.08); }

.contact-info-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

.contact-info-value a {
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
}

.contact-info-value a:hover { color: var(--accent); }

.contact-right {
  background: var(--offwhite);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-form {
  max-width: 480px;
}

.editorial-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 40px;
}

.form-field {
  margin-bottom: 32px;
}

.form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  transition: border-color 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-field textarea {
  resize: none;
  height: 100px;
}

.form-field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.map-embed {
  margin-top: 40px;
  height: 200px;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.4s;
}

.map-embed:hover { filter: grayscale(0); }

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============ BLOG — MINIMAL LIST ============ */
.blog-section {
  padding: 100px 0;
}

.blog-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: start;
  transition: background 0.3s;
}

.blog-entry:hover { background: rgba(0,0,0,0.01); }

.blog-date {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  padding-top: 6px;
}

.blog-entry h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.blog-entry:hover h3 { color: var(--accent); }

.blog-entry p {
  font-size: 0.9rem;
  color: var(--mid);
}

/* ============ FOOTER — EDITORIAL ============ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-col .brand-name { color: var(--white); font-size: 1.3rem; }

.footer-brand-col p {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

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

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer-col ul a:hover { color: #fff; }

.footer-contact-col p {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-contact-col a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer-contact-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.75rem;
}

.footer-legal a {
  margin-left: 24px;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============ COOKIE BANNER ============ */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 24px;
  z-index: 9999;
  pointer-events: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s;
}

.cookie-notice.hidden {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}

.cookie-notice p {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cookie-notice a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--black);
  transition: all 0.3s;
}

.btn-cookie-accept {
  background: var(--black);
  color: var(--white);
}

.btn-cookie-accept:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--black);
}

.btn-cookie-decline:hover {
  background: var(--offwhite);
}

/* ============ PAGE INTRO (inner pages) ============ */
.page-intro {
  padding: 180px 0 80px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 700px;
}

.page-intro p {
  font-size: 1rem;
  color: var(--mid);
  max-width: 500px;
  margin-top: 20px;
}

/* ============ ARTICLE PROSE ============ */
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 20px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}

.prose ul, .prose ol {
  margin: 16px 0;
  padding-left: 24px;
  color: #444;
}

.prose li { margin-bottom: 8px; font-size: 0.95rem; }

.prose .article-byline {
  font-size: 0.8rem;
  color: var(--mid);
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ============ LEGAL ============ */
.legal-prose {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 12px;
}

.legal-prose p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 16px;
}

.legal-prose ul {
  margin: 12px 0 20px;
  padding-left: 20px;
  color: #555;
}

.legal-prose li { margin-bottom: 6px; font-size: 0.9rem; }

/* ============ THANK YOU ============ */
.thankyou-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--offwhite);
  padding: 160px 0 80px;
}

.thankyou-hero .icon-check {
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 1.5rem;
}

.thankyou-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 16px;
}

.thankyou-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.step-card {
  padding: 30px 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--mid);
}

/* ============ SERVICE DETAIL — SIDEBAR ============ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  padding: 80px 0;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.sidebar-nav a {
  font-size: 0.85rem;
  color: var(--mid);
  transition: color 0.3s;
}

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

.sidebar-contact {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.sidebar-contact p {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 6px;
}

.sidebar-contact a {
  color: var(--accent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .wrap { padding: 0 30px; }
  .split { grid-template-columns: 1fr; }
  .split-content { padding: 60px 30px; }
  .numbers-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-block { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 60px 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .detail-layout { grid-template-columns: 1fr; }
  .thankyou-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .hero-editorial { padding: 0 20px 60px; }
  .hero-editorial::before { width: 100%; opacity: 0.2; }
  .hero-bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
  .main-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(250,250,250,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: flex; }
  .service-row { grid-template-columns: 40px 1fr; gap: 20px; }
  .service-arrow { display: none; }
  .blog-entry { grid-template-columns: 1fr; gap: 8px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .numbers-bar { grid-template-columns: 1fr 1fr; }
  .number-cell { padding: 30px 20px; }
  .split-content h2 { font-size: 2rem; }
}
