/* =========================================================
   TOGETHER MAGAZINE — EDITORIAL TEAM PAGE
========================================================= */
:root {
  --ink: #20201e;
  --cream: #f6f0e6;
  --terracotta: #cf5d3b;
  --soft: #eee4d5;
  --taupe: #d9c8b2;
  --muted: #7e776f;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Caveat", cursive;
  --site-width: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); color: var(--ink); font: 15px/1.65 var(--sans); }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--terracotta); color: #fff; }

/* Loader */
.page-loader { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink); transition: opacity .45s, visibility .45s; }
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-wordmark { color: var(--cream); font: 400 35px/1 var(--serif); letter-spacing: 2px; }
.loader-wordmark small { display: block; margin-top: 6px; color: var(--terracotta); font: 700 9px/1.5 var(--sans); letter-spacing: 4px; text-align: center; }
.loader-line { width: 145px; height: 2px; margin-top: 20px; background: #4b4640; }
.loader-line span { display: block; width: 0; height: 100%; background: var(--terracotta); animation: loadLine 1.2s ease forwards; }
@keyframes loadLine { to { width: 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; width: 100%; background: rgba(248,244,236,.97); border-bottom: 1px solid var(--taupe); backdrop-filter: blur(12px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 5px 22px #20201e14; }
.header-top { min-height: 24px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 4px 35px; border-bottom: 1px solid var(--taupe); color: #777067; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; line-height: 1.4; }
.header-top span:last-child { color: var(--terracotta); }
.header-main { width: min(var(--site-width),calc(100% - 60px)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; gap: 25px; }
.logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.logo-image { width: auto; height: 90px; max-width: 190px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.desktop-nav a { position: relative; padding: 9px 0; white-space: nowrap; font-size: 16px; font-weight: 500; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--terracotta); transition: width .25s; }
.desktop-nav a:hover::after,.desktop-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--taupe); background: transparent; color: var(--ink); font-size: 14px; }
.search-button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.edition-button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 14px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; transition: background .2s; }
.edition-button:hover { background: var(--terracotta); }
.menu-button { display: none; width: 36px; height: 36px; padding: 4px; border: 0; background: transparent; }
.menu-button span { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--ink); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 5000; overflow-y: auto; background: var(--ink); color: var(--cream); transform: translateX(100%); visibility: hidden; transition: transform .35s,visibility .35s; }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid #ffffff40; border-radius: 50%; background: transparent; color: #fff; font-size: 20px; }
.mobile-menu-inner { min-height: 100%; padding: 75px 25px 24px; display: flex; flex-direction: column; }
.mobile-logo img { width: auto; height: 48px; max-width: 170px; object-fit: contain; }
.mobile-tagline { margin: 10px 0 0; color: #d9bca7; font-size: 13px; }
.mobile-menu nav { margin-top: 25px; }
.mobile-menu nav a { display: grid; grid-template-columns: 28px 1fr 20px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #ffffff24; font-size: 16px; }
.mobile-menu nav a span { color: #a59a8d; font-size: 10px; }
.mobile-menu nav a i { color: var(--terracotta); font-size: 12px; text-align: right; }
.mobile-menu-bottom { margin-top: auto; padding-top: 28px; color: #a59a8d; font-size: 9px; letter-spacing: 1.5px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 6000; display: flex; align-items: center; background: var(--cream); opacity: 0; visibility: hidden; transition: opacity .25s,visibility .25s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-close { position: absolute; top: 20px; right: 22px; width: 42px; height: 42px; border: 1px solid var(--taupe); border-radius: 50%; background: transparent; font-size: 18px; }
.search-content { width: min(850px,calc(100% - 50px)); margin: auto; }
.search-content>span { color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.search-content h2 { margin: 16px 0 0; font: 400 clamp(45px,7vw,82px)/1 var(--serif); }
.search-content h2 em { color: var(--terracotta); }
.search-content form { display: flex; margin-top: 32px; border-bottom: 1px solid var(--ink); }
.search-content input { flex: 1; min-width: 0; padding: 13px 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-content form button { width: 45px; border: 0; background: transparent; font-size: 18px; }
#searchMessage { color: var(--terracotta); font-size: 12px; }

/* Hero */
.editorial-main { width: 100%; overflow: hidden; background: var(--cream); }
.editorial-main section { width: 100%; }
.eyebrow { display: block; color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.5; }
.editorial-hero { display: grid; grid-template-columns: 46% 54%; align-items: stretch; min-height: 326px; background: #f4ede2; }
.editorial-hero-copy { align-self: center; padding: 35px 28px 35px max(2.8vw,35px); }
.editorial-hero-copy h1 { margin: 12px 0; font: 400 clamp(37px,4.1vw,61px)/1.12 var(--serif); letter-spacing: -1.2px; }
.editorial-hero-copy h1 em { color: var(--terracotta); font-weight: 400; }
.editorial-subtitle { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.editorial-hero-image { position: relative; height: 326px; min-width: 0; overflow: hidden; background: #dfd0bd; }
.editorial-hero-image>img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.handwritten-words { position: absolute; top: 50%; right: 4%; transform: translateY(-50%) rotate(-7deg); color: #9a775e; font: 400 clamp(22px,2.2vw,34px)/1.06 var(--script); }
.handwritten-words span { display: block; width: 48px; height: 1px; margin: 10px auto 0; background: currentColor; transform: rotate(-12deg); }

/* Bio and quote */
.section-padding { padding: 34px max(2.8vw,35px); }
.editorial-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: stretch; }
.editorial-bio { max-width: 680px; }
.editorial-bio>.eyebrow { margin-bottom: 12px; }
.editorial-bio p { margin: 0 0 13px; color: #706a62; font-size: 13px; line-height: 1.75; }
.editorial-bio .lead-paragraph { color: #5e5952; }
.editorial-bio .lead-paragraph::first-letter { float: left; padding: 4px 8px 0 0; color: var(--terracotta); font: 400 64px/.78 var(--serif); }
.editorial-quote-card { position: relative; min-height: 310px; padding: 5px 0 0 35px; border-left: 1px solid #d8c8b4; overflow: hidden; }
.quote-mark { position: absolute; top: -20px; left: 25px; color: #d8bba0; font: 700 86px/.9 Georgia,serif; }
.editorial-quote-card blockquote {
    position: relative;
    z-index: 2;
    max-width: 370px;
    margin: 0 0 12px 45px;
    color: white;
    font: 400 clamp(19px,0.2vw,18px)/-0.72 var(--serif);
    font: 400 clamp(23px,2.2vw,24px)/1.28 var(--serif);
}
.editorial-quote-card cite {
    position: relative;
    z-index: 2;
    display: block;
    margin-left: 45px;
    font: italic 17px/1.5 var(--serif);
    color: white;
}
.quote-still-life {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 460px;
    overflow: hidden;
    opacity: .96;
}
.quote-still-life::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--cream) 0%,transparent 50%); }
.quote-still-life img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

/* Values */
.editorial-pillars { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 23px max(2vw,25px); background: #efe5d7; }
.pillar { padding: 5px 15px; text-align: center; border-left: 1px solid #d8c8b4; }
.pillar:first-child { border-left: 0; }
.pillar i { margin-bottom: 8px; color: var(--terracotta); font-size: 28px; }
.pillar h2 { margin: 2px 0 5px; color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.pillar p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

/* Journey */
.editorial-journey { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #f7f0e6; }
.editorial-journey-image { position: relative; min-width: 0; height: 360px; overflow: hidden; background: #d8c8b4; }
.editorial-journey-image>img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.journey-note { position: absolute; top: 13%; left: 7%; transform: rotate(-7deg); color: #f7eadb; font: 400 clamp(23px,2.5vw,36px)/1.02 var(--script); text-shadow: 0 1px 8px #0005; }
.journey-note span { display: block; width: 52px; height: 1px; margin: 9px auto 0; background: currentColor; }
.editorial-journey-copy { align-self: center; padding: 30px max(4.5vw,28px); }
.editorial-journey-copy h2 { margin: 8px 0 24px; font: 400 clamp(32px,3.2vw,48px)/1.1 var(--serif); letter-spacing: -.7px; }
.timeline { position: relative; padding-left: 25px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 4px; width: 1px; background: var(--terracotta); }
.timeline-item { position: relative; display: grid; grid-template-columns: minmax(105px,.7fr) 1.4fr; gap: 14px; padding: 0 0 17px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; top: 5px; left: -25px; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.timeline-date { color: var(--terracotta); font-size: 11px; font-weight: 700; line-height: 1.6; }
.timeline-item p { margin: 0; color: #706a62; font-size: 11px; line-height: 1.65; }

/* Vision */
.editorial-vision { position: relative; min-height: 300px; display: flex; align-items: center; padding: 35px max(6.8vw,35px); overflow: hidden; background: linear-gradient(90deg,rgba(255,239,215,.94) 0%,rgba(255,226,191,.68) 42%,rgba(255,224,187,.06) 100%),url("https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&w=1800&q=90") center 54%/cover no-repeat; }
.editorial-vision-copy { position: relative; z-index: 1; width: min(470px,58%); }
.editorial-vision-copy h2 { margin: 10px 0 8px; font: 400 clamp(35px,3.6vw,52px)/1.08 var(--serif); letter-spacing: -.8px; }
.editorial-vision-copy p { max-width: 460px; margin: 0; color: #4f4942; font-size: 12.5px; line-height: 1.75; }
.vision-script { position: absolute; top: 50%; right: 6%; transform: translateY(-50%) rotate(-7deg); color: #b86f4c; font: 400 clamp(27px,3vw,43px)/1.02 var(--script); text-align: center; }
.vision-script span { display: block; width: 55px; height: 1px; margin: 10px auto 0; background: currentColor; transform: rotate(-12deg); }

/* Footer */
.site-footer { padding: 38px max(5vw,25px) 16px; overflow: hidden; background: var(--ink); color: var(--cream); }
.footer-main { display: grid; grid-template-columns: minmax(220px,.9fr) 1.5fr; gap: 45px; width: min(var(--site-width),100%); margin: 0 auto; }
.footer-wordmark { font: 400 30px/1 var(--serif); letter-spacing: 1.8px; }
.footer-wordmark small { display: block; margin-top: 6px; color: var(--terracotta); font: 700 9px/1.5 var(--sans); letter-spacing: 3px; }
.footer-brand>p { margin: 12px 0 15px; color: #d4cbbf; font-size: 12px; }
.footer-motto { color: #a9a094; font-size: 9px; letter-spacing: 1.5px; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin: 0 0 5px; color: var(--terracotta); font-size: 16px; font-weight: 700; letter-spacing: 1.4px; }
.footer-column a { color: #e4ddd2; font-size: 16px; transition: color .2s; }
.footer-column a:hover { color: var(--terracotta); }
.footer-giant-word { margin-top: 28px; color: #f8f4ec12; font: 400 clamp(58px,12vw,165px)/.9 var(--serif); letter-spacing: -.045em; text-align: center; white-space: nowrap; pointer-events: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(var(--site-width),100%); margin: 13px auto 0; padding-top: 14px; border-top: 1px solid #f8f4ec2e; color: #bdb3a6; font-size: 8px; letter-spacing: 1px; }
.footer-bottom button { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #f8f4ec47; border-radius: 50%; background: transparent; color: var(--cream); }
.footer-bottom button:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* Tablet */
@media (max-width: 1000px) {
  .header-main { width: calc(100% - 35px); gap: 15px; }
  .logo-image { height: 42px; max-width: 150px; }
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 11px; }
  .header-actions { gap: 7px; }
  .edition-button { padding: 11px 9px; font-size: 9px; }
  .editorial-hero-copy { padding-left: 35px; padding-right: 20px; }
  .editorial-hero-copy h1 { font-size: clamp(34px,4.3vw,48px); }
  .section-padding { padding-left: 35px; padding-right: 35px; }
  .editorial-intro { gap: 28px; }
  .editorial-quote-card { padding-left: 20px; }
  .quote-mark { left: 15px; }
  .editorial-quote-card blockquote,.editorial-quote-card cite { margin-left: 35px; }
  .editorial-journey-copy { padding: 28px; }
  .timeline-item { grid-template-columns: 100px 1fr; gap: 10px; }
  .footer-main { gap: 28px; }
}

/* Mobile */
@media (max-width: 700px) {
  .header-top { padding: 5px 14px; font-size: 8px; }
  .header-top span:last-child { display: none; }
  .header-main { width: calc(100% - 25px); min-height: 64px; gap: 8px; }
  .logo-image { height: 39px; max-width: 132px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: 5px; }
  .search-button { width: 31px; height: 31px; border: 0; }
  .edition-button { padding: 10px 8px; font-size: 8px; gap: 5px; }
  .menu-button { display: block; width: 31px; }
  .editorial-hero { grid-template-columns: 1fr; }
  .editorial-hero-copy { padding: 32px 22px 26px; }
  .editorial-hero-copy h1 { font-size: clamp(38px,9vw,52px); letter-spacing: -.8px; }
  .editorial-subtitle { font-size: 13px; }
  .desktop-break { display: none; }
  .editorial-hero-image { height: 280px; }
  .handwritten-words { right: 5%; font-size: 25px; }
  .section-padding { padding: 30px 22px; }
  .editorial-intro { grid-template-columns: 1fr; gap: 25px; }
  .editorial-bio p { font-size: 12px; }
  .editorial-quote-card { min-height: 300px; padding-left: 15px; }
  .quote-mark { left: 10px; }
  .editorial-quote-card blockquote { max-width: 340px; margin-left: 35px; font-size: 26px; }
  .editorial-quote-card cite { margin-left: 35px; }
  .quote-still-life { width: 96%; height: 460px; }
  .editorial-pillars { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 15px 12px; }
  .pillar { padding: 16px 8px; border-left: 0; border-bottom: 1px solid #d8c8b4; }
  .pillar:nth-child(even) { border-left: 1px solid #d8c8b4; }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial-journey { grid-template-columns: 1fr; }
  .editorial-journey-image { height: 280px; }
  .journey-note { font-size: 28px; }
  .editorial-journey-copy { padding: 30px 22px; }
  .editorial-journey-copy h2 { font-size: 38px; }
  .timeline-item { grid-template-columns: 105px 1fr; gap: 10px; }
  .timeline-item p { font-size: 11px; }
  .editorial-vision { min-height: 360px; align-items: flex-start; padding: 30px 22px 120px; background-position: center; }
  .editorial-vision-copy { width: 100%; }
  .editorial-vision-copy h2 { font-size: 39px; }
  .editorial-vision-copy p { max-width: 95%; font-size: 12px; }
  .vision-script { top: auto; right: 22px; bottom: 18px; transform: rotate(-6deg); font-size: 30px; }
  .site-footer { padding: 32px 20px 15px; }
  .footer-main { grid-template-columns: 1fr; gap: 27px; }
  .footer-links { gap: 12px; }
  .footer-column { gap: 7px; }
  .footer-column a { font-size: 10px; }
  .footer-giant-word { margin-top: 25px; }
  .footer-bottom { flex-wrap: wrap; font-size: 7px; }
  .footer-bottom span:nth-child(2) { display: none; }
}
@media (max-width: 370px) {
  .logo-image { max-width: 112px; height: 35px; }
  .edition-button { font-size: 7px; padding: 9px 6px; }
  .header-actions { gap: 2px; }
  .footer-links { gap: 8px; }
  .footer-column a { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
