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

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

:root{
  --sand:#f5f0e8;
  --linen:#ede8dc;
  --stone:#c8c0b0;
  --bark:#7a6f5e;
  --ink:#1a1714;
  --deep:#2d2720;
  --sage:#8a9e8c;
  --white:#ffffff;
  --accent:#b5a48a;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'DM Sans',system-ui,sans-serif;
  --mono:'Space Mono',monospace;
  --r:0.375rem;
  --transition:0.3s ease;
}

html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--sans);background:var(--sand);color:var(--ink);line-height:1.7;-webkit-font-smoothing:antialiased}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
ul,ol{list-style:none}

.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.5rem}

/* PAGE LOADER */
#page-loader{position:fixed;inset:0;background:var(--deep);display:flex;align-items:center;justify-content:center;z-index:9999;transition:opacity 0.5s ease,visibility 0.5s ease}
#page-loader.hidden{opacity:0;visibility:hidden}
.loader-inner{display:flex;flex-direction:column;align-items:center;gap:1.5rem}
.loader-line{width:60px;height:1px;background:var(--stone);position:relative;overflow:hidden}
.loader-line::after{content:'';position:absolute;left:-100%;top:0;width:100%;height:100%;background:var(--white);animation:loaderSlide 1s ease infinite}
.loader-text{font-family:var(--mono);font-size:0.7rem;letter-spacing:0.2em;color:var(--stone);text-transform:uppercase}
@keyframes loaderSlide{to{left:100%}}

/* COOKIE */
#cookie-banner{position:fixed;bottom:2rem;left:50%;transform:translateX(-50%);width:calc(100% - 3rem);max-width:680px;background:var(--deep);color:var(--linen);padding:1.5rem 2rem;border-radius:var(--r);z-index:8888;display:none;box-shadow:0 8px 40px rgba(0,0,0,0.3)}
#cookie-banner.visible{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}
#cookie-banner p{font-size:0.85rem;flex:1;min-width:200px;line-height:1.6}
#cookie-banner p a{color:var(--accent);text-decoration:underline}
.cookie-btns{display:flex;gap:0.75rem;flex-shrink:0}
.btn-cookie{padding:0.5rem 1.25rem;border:1px solid var(--stone);border-radius:var(--r);font-size:0.8rem;cursor:pointer;transition:var(--transition);font-family:var(--mono);letter-spacing:0.05em}
.btn-cookie.accept{background:var(--accent);border-color:var(--accent);color:var(--deep)}
.btn-cookie.reject{background:transparent;color:var(--linen)}
.btn-cookie:hover{opacity:0.8}

/* HEADER */
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;padding:1.25rem 0;transition:background 0.4s ease,backdrop-filter 0.4s ease}
.site-header.scrolled{background:rgba(245,240,232,0.92);backdrop-filter:blur(12px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:flex;align-items:center;gap:0.75rem}
.logo-mark{width:36px;height:36px;border:1.5px solid var(--ink);display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:0.65rem;font-weight:700;letter-spacing:0.05em;flex-shrink:0}
.logo-text{font-family:var(--serif);font-size:1.1rem;font-weight:600;letter-spacing:0.02em;line-height:1.2}
.logo-sub{display:block;font-family:var(--sans);font-size:0.65rem;font-weight:300;letter-spacing:0.12em;text-transform:uppercase;color:var(--bark)}

.main-nav{display:flex;align-items:center;gap:2rem}
.main-nav a{font-size:0.82rem;font-weight:400;letter-spacing:0.06em;text-transform:uppercase;color:var(--deep);position:relative;padding-bottom:2px}
.main-nav a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--bark);transition:width var(--transition)}
.main-nav a:hover::after{width:100%}

.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px}
.burger span{display:block;width:24px;height:1.5px;background:var(--ink);transition:var(--transition)}

.mobile-nav{display:none;position:fixed;inset:0;background:var(--deep);z-index:99;flex-direction:column;align-items:center;justify-content:center;gap:2rem;opacity:0;transition:opacity 0.35s ease}
.mobile-nav.open{display:flex;opacity:1}
.mobile-nav a{font-family:var(--serif);font-size:2rem;font-weight:300;color:var(--linen);letter-spacing:0.04em}
.mobile-nav a:hover{color:var(--accent)}
.mobile-close{position:absolute;top:1.5rem;right:1.5rem;background:none;border:none;cursor:pointer;color:var(--linen);font-size:1.5rem;line-height:1}

/* HERO */
.hero{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden}
.hero-content{display:flex;flex-direction:column;justify-content:flex-end;padding:8rem 3rem 5rem;position:relative;z-index:2;background:var(--sand)}
.hero-tag{font-family:var(--mono);font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--bark);margin-bottom:1.5rem;display:flex;align-items:center;gap:0.75rem}
.hero-tag::before{content:'';display:block;width:30px;height:1px;background:var(--bark)}
.hero-title{font-family:var(--serif);font-size:clamp(2.8rem,5vw,4.5rem);font-weight:300;line-height:1.1;letter-spacing:-0.01em;margin-bottom:1.5rem}
.hero-title em{font-style:italic;color:var(--bark)}
.hero-desc{font-size:1rem;font-weight:300;color:var(--bark);max-width:400px;margin-bottom:2.5rem;line-height:1.75}
.hero-cta{display:inline-flex;align-items:center;gap:0.75rem;font-family:var(--mono);font-size:0.75rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--deep);border-bottom:1px solid var(--ink);padding-bottom:4px;transition:gap var(--transition)}
.hero-cta:hover{gap:1.25rem}

.hero-image{position:relative;overflow:hidden}
.hero-image img{width:100%;height:100%;object-fit:cover}
.hero-image::after{content:'';position:absolute;left:0;top:0;bottom:0;width:60px;background:linear-gradient(to right,var(--sand),transparent)}

/* INTRO STRIP */
.intro-strip{background:var(--deep);padding:1.25rem 0}
.intro-strip-inner{display:flex;gap:3rem;align-items:center;overflow:hidden}
.intro-strip span{font-family:var(--mono);font-size:0.7rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--stone);white-space:nowrap;flex-shrink:0}
.intro-strip span::before{content:'—  ';opacity:0.5}

/* SECTION TITLES */
.section-label{font-family:var(--mono);font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--bark);margin-bottom:0.75rem}
.section-title{font-family:var(--serif);font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:300;line-height:1.2;letter-spacing:-0.01em}
.section-title em{font-style:italic}

/* FEATURED ARTICLES */
.featured{padding:6rem 0}
.featured-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:3.5rem;gap:2rem;flex-wrap:wrap}
.featured-header .section-title{max-width:400px}
.view-all{font-family:var(--mono);font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--bark);display:flex;align-items:center;gap:0.5rem;border-bottom:1px solid var(--stone);padding-bottom:3px;transition:color var(--transition)}
.view-all:hover{color:var(--ink)}

.articles-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px;background:var(--stone)}
.article-card{background:var(--sand);overflow:hidden;display:flex;flex-direction:column}
.article-card:first-child{grid-row:span 2;background:var(--linen)}
.card-image{aspect-ratio:4/3;overflow:hidden}
.article-card:first-child .card-image{aspect-ratio:unset;flex:1;min-height:280px}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s ease}
.article-card:hover .card-image img{transform:scale(1.04)}
.card-body{padding:1.75rem}
.card-tag{font-family:var(--mono);font-size:0.62rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--bark);margin-bottom:0.75rem}
.card-title{font-family:var(--serif);font-size:1.35rem;font-weight:400;line-height:1.3;margin-bottom:0.75rem}
.article-card:first-child .card-title{font-size:1.7rem}
.card-excerpt{font-size:0.875rem;color:var(--bark);line-height:1.7;margin-bottom:1.25rem}
.card-link{font-family:var(--mono);font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--deep);display:inline-flex;align-items:center;gap:0.5rem;border-bottom:1px solid var(--stone);padding-bottom:2px;transition:gap var(--transition)}
.card-link:hover{gap:0.85rem}

/* PRINCIPLES SECTION */
.principles{padding:6rem 0;background:var(--linen)}
.principles-inner{display:grid;grid-template-columns:1fr 2fr;gap:6rem;align-items:start}
.principles-sticky{position:sticky;top:7rem}
.principles-list{display:flex;flex-direction:column;gap:0}
.principle-item{padding:2rem 0;border-bottom:1px solid var(--stone);display:grid;grid-template-columns:3rem 1fr;gap:1.5rem;align-items:start}
.principle-num{font-family:var(--mono);font-size:0.7rem;color:var(--stone);padding-top:0.3rem}
.principle-content h3{font-family:var(--serif);font-size:1.3rem;font-weight:400;margin-bottom:0.6rem}
.principle-content p{font-size:0.875rem;color:var(--bark);line-height:1.75}

/* SPLIT SECTION */
.split-section{padding:6rem 0}
.split-inner{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:520px}
.split-image{overflow:hidden}
.split-image img{width:100%;height:100%;object-fit:cover}
.split-content{background:var(--deep);color:var(--linen);padding:4rem;display:flex;flex-direction:column;justify-content:center}
.split-content .section-label{color:var(--stone)}
.split-content .section-title{color:var(--white);margin-bottom:1.5rem}
.split-content p{color:var(--stone);font-size:0.9rem;line-height:1.8;margin-bottom:1rem}
.split-content a.btn-outline{display:inline-flex;align-items:center;gap:0.75rem;margin-top:1.5rem;font-family:var(--mono);font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--linen);border:1px solid var(--stone);padding:0.75rem 1.5rem;border-radius:var(--r);transition:var(--transition)}
.split-content a.btn-outline:hover{background:var(--accent);border-color:var(--accent);color:var(--deep)}

/* ABOUT STRIP */
.about-strip{padding:5rem 0;background:var(--sand)}
.about-strip-inner{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.about-stats{display:flex;gap:3rem;flex-wrap:wrap}
.stat{text-align:left}
.stat-num{font-family:var(--serif);font-size:3rem;font-weight:300;line-height:1;color:var(--deep)}
.stat-label{font-family:var(--mono);font-size:0.65rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--bark);margin-top:0.4rem}

/* ARTICLE PAGES */
.article-hero{padding:9rem 0 4rem;background:var(--linen)}
.article-hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:end}
.article-meta{font-family:var(--mono);font-size:0.68rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--bark);margin-bottom:1.25rem;display:flex;gap:1.5rem;flex-wrap:wrap}
.article-title{font-family:var(--serif);font-size:clamp(2rem,4vw,3.5rem);font-weight:300;line-height:1.15;letter-spacing:-0.01em}
.article-image-wrap{overflow:hidden;aspect-ratio:4/3}
.article-image-wrap img{width:100%;height:100%;object-fit:cover}

.article-body{padding:4rem 0 6rem}
.article-body-inner{display:grid;grid-template-columns:2fr 1fr;gap:5rem;align-items:start}
.article-content{max-width:720px}
.article-content h2{font-family:var(--serif);font-size:1.75rem;font-weight:400;margin:2.5rem 0 1rem;line-height:1.3}
.article-content h3{font-family:var(--serif);font-size:1.25rem;font-weight:400;margin:2rem 0 0.75rem;color:var(--bark)}
.article-content p{font-size:0.95rem;line-height:1.85;margin-bottom:1.25rem;color:var(--deep)}
.article-content ul,.article-content ol{margin:1rem 0 1.25rem 0;display:flex;flex-direction:column;gap:0.5rem}
.article-content ul li,.article-content ol li{font-size:0.95rem;line-height:1.7;color:var(--deep);padding-left:1.5rem;position:relative}
.article-content ul li::before{content:'—';position:absolute;left:0;color:var(--bark)}
.article-content ol{counter-reset:ol-counter}
.article-content ol li{counter-increment:ol-counter}
.article-content ol li::before{content:counter(ol-counter) '.';position:absolute;left:0;color:var(--bark);font-family:var(--mono);font-size:0.8rem}
.article-content a{color:var(--deep);text-decoration:underline;text-underline-offset:3px}
.article-content blockquote{border-left:2px solid var(--accent);padding:1rem 0 1rem 1.5rem;margin:2rem 0;font-family:var(--serif);font-size:1.2rem;font-style:italic;color:var(--bark);line-height:1.6}

.article-sidebar{position:sticky;top:7rem}
.sidebar-box{background:var(--linen);padding:2rem;margin-bottom:2rem}
.sidebar-box h4{font-family:var(--mono);font-size:0.68rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--bark);margin-bottom:1.25rem;padding-bottom:0.75rem;border-bottom:1px solid var(--stone)}
.sidebar-links{display:flex;flex-direction:column;gap:0.75rem}
.sidebar-links a{font-family:var(--serif);font-size:1.05rem;color:var(--deep);line-height:1.3;transition:color var(--transition)}
.sidebar-links a:hover{color:var(--bark)}
.sidebar-links a span{display:block;font-family:var(--sans);font-size:0.75rem;color:var(--bark);margin-top:0.2rem}
.sidebar-updated{font-family:var(--mono);font-size:0.65rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--stone)}

/* PAGE HERO */
.page-hero{padding:9rem 0 4rem;background:var(--linen)}
.page-hero .section-label{margin-bottom:1rem}
.page-hero .section-title{max-width:640px;margin-bottom:1.5rem}
.page-hero p{max-width:560px;color:var(--bark);font-size:0.95rem;line-height:1.8}

/* CONTACT */
.contact-grid{padding:5rem 0;display:grid;grid-template-columns:1fr 1fr;gap:4rem}
.contact-info h3{font-family:var(--serif);font-size:1.4rem;font-weight:400;margin-bottom:1.25rem}
.contact-info p{font-size:0.9rem;line-height:1.8;color:var(--bark);margin-bottom:1rem}
.contact-info a{color:var(--deep);text-decoration:underline;text-underline-offset:3px}
.contact-detail{margin-top:2rem;display:flex;flex-direction:column;gap:1rem}
.contact-detail dt{font-family:var(--mono);font-size:0.65rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--stone)}
.contact-detail dd{font-size:0.9rem;color:var(--deep)}

/* ABOUT PAGE */
.about-grid{padding:5rem 0;display:grid;grid-template-columns:3fr 2fr;gap:5rem}
.about-content h2{font-family:var(--serif);font-size:1.6rem;font-weight:400;margin:2rem 0 0.75rem}
.about-content p{font-size:0.92rem;line-height:1.85;color:var(--deep);margin-bottom:1.1rem}
.about-content a{color:var(--deep);text-decoration:underline;text-underline-offset:3px}
.about-aside{display:flex;flex-direction:column;gap:2rem}
.expertise-box{background:var(--linen);padding:2rem}
.expertise-box h4{font-family:var(--mono);font-size:0.68rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--bark);margin-bottom:1.25rem}
.expertise-box ul li{font-size:0.875rem;color:var(--deep);padding:0.5rem 0;border-bottom:1px solid var(--stone)}

/* POLICY */
.policy-content{padding:5rem 0}
.policy-content h2{font-family:var(--serif);font-size:1.5rem;font-weight:400;margin:2.5rem 0 0.75rem}
.policy-content p,.policy-content li{font-size:0.9rem;line-height:1.85;color:var(--deep);margin-bottom:0.75rem}
.policy-content ul{padding-left:1.5rem;list-style:disc}
.policy-content ul li{list-style:disc}

/* FOOTER */
.site-footer{background:var(--deep);color:var(--linen);padding:4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer-brand .logo-mark{border-color:var(--stone);color:var(--linen)}
.footer-brand .logo-text{color:var(--linen)}
.footer-brand .logo-sub{color:var(--stone)}
.footer-desc{margin-top:1.25rem;font-size:0.82rem;color:var(--stone);line-height:1.7;max-width:240px}
.footer-col h5{font-family:var(--mono);font-size:0.65rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--stone);margin-bottom:1.25rem}
.footer-col ul{display:flex;flex-direction:column;gap:0.6rem}
.footer-col ul li a{font-size:0.85rem;color:var(--stone);transition:color var(--transition)}
.footer-col ul li a:hover{color:var(--linen)}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.08);padding-top:1.75rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.footer-copy{font-size:0.78rem;color:var(--stone)}
.footer-legal{display:flex;gap:1.5rem}
.footer-legal a{font-size:0.78rem;color:var(--stone);transition:color var(--transition)}
.footer-legal a:hover{color:var(--linen)}

/* BREADCRUMB */
.breadcrumb{padding:0.75rem 0;font-family:var(--mono);font-size:0.65rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--stone)}
.breadcrumb a{color:var(--stone);transition:color var(--transition)}
.breadcrumb a:hover{color:var(--bark)}
.breadcrumb span{color:var(--bark)}

/* RESPONSIVE */
@media(max-width:1024px){
  .hero{grid-template-columns:1fr}
  .hero-image{height:380px;order:-1}
  .hero-image::after{display:none}
  .hero-content{padding:3rem 2rem 4rem}
  .principles-inner{grid-template-columns:1fr;gap:3rem}
  .principles-sticky{position:static}
  .split-inner{grid-template-columns:1fr}
  .split-image{height:380px}
  .about-strip-inner{grid-template-columns:1fr}
  .articles-grid{grid-template-columns:1fr 1fr}
  .article-card:first-child{grid-row:auto;grid-column:span 2}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .article-hero-inner{grid-template-columns:1fr}
  .article-body-inner{grid-template-columns:1fr}
  .article-sidebar{position:static}
  .about-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .main-nav{display:none}
  .burger{display:flex}
  .articles-grid{grid-template-columns:1fr;background:transparent;gap:2rem}
  .article-card:first-child{grid-column:auto}
  .footer-grid{grid-template-columns:1fr}
  .intro-strip-inner{gap:2rem}
  .hero-content{padding:2rem 1.25rem 3rem}
  .split-content{padding:2.5rem 1.5rem}
  .about-stats{gap:2rem}
  .principles-inner{gap:2rem}
}
@media(max-width:480px){
  .container{padding:0 1rem}
  .hero-title{font-size:2.4rem}
  .cookie-btns{width:100%}
  .btn-cookie{flex:1;text-align:center}
}
