/* Carlos Alberto Alonso — Coastal Minimal V5, November 2026
   A spare photographic system for the author, the novel, and the recording. */
:root{
 --ink:#101112;--paper:#ece8e1;--muted:#bbb9b3;--soft:#888782;--rule:rgba(242,238,230,.49);
 --sans:'Helvetica Neue',Helvetica,Arial,sans-serif;
 --serif:Georgia,'Times New Roman',serif;
 --edge:clamp(24px,6.15vw,110px);
 --tracking:.42em;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--ink);color:var(--paper);font-family:var(--sans);font-weight:300;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}a{text-decoration:none;color:inherit}button{font:inherit}
a:focus-visible,button:focus-visible{outline:1px solid #e5ca9f;outline-offset:6px}
.visually-hidden{position:absolute!important;clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;overflow:hidden!important}
::selection{background:#b8ad9c;color:#0e0f11}
.site-header{position:absolute;top:0;left:0;width:100%;z-index:10;padding:49px var(--edge) 0;display:flex;align-items:flex-start;justify-content:space-between;gap:30px}
.site-brand,.desktop-nav a,.menu-toggle{color:#efece6;opacity:.94;text-transform:uppercase;font-size:12px;line-height:1.25;font-weight:400;letter-spacing:.55em;white-space:nowrap}
.site-brand{font-size:12px;letter-spacing:.49em}
.desktop-nav{display:flex;align-items:center;gap:51px}
.desktop-nav a{font-size:10px;letter-spacing:.5em;transition:opacity .2s;opacity:.8}
.desktop-nav a:hover,.desktop-nav a[aria-current=page]{opacity:1}
.menu-toggle{display:none;border:0;background:transparent;padding:0;cursor:pointer}
.mobile-nav{display:none}
.hero{height:100svh;min-height:670px;position:relative;isolation:isolate;overflow:hidden;background:#171819}
.hero::before{content:"";position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;background-repeat:no-repeat;transform:scale(1.007)}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 43%,rgba(5,6,8,.14) 63%,rgba(4,5,6,.36) 100%)}
.hero--home::before{background-image:url('../img/umbral-v1.webp');background-position:center 52%}
.hero--home::after{background:linear-gradient(90deg,rgba(6,8,9,.17),transparent 72%),linear-gradient(180deg,rgba(2,4,6,.24) 0%,transparent 38%,rgba(0,0,0,.04) 64%,rgba(11,11,12,.29) 77%,rgba(10,10,11,.86) 100%)}
.hero--book::before{background-image:linear-gradient(90deg,#0e120d 0%,#0e120d 44%,rgba(14,18,13,.78) 57%,rgba(14,18,13,.03) 89%),linear-gradient(180deg,rgba(3,5,3,.7),transparent 27%),url('../img/twru-forest-hero-2026.jpg');background-position:center,center,center}
.hero--litoral::before{background-image:linear-gradient(90deg,#111314 0%,#111314 32%,rgba(17,19,20,.80) 48%,rgba(17,19,20,.03) 89%),linear-gradient(180deg,rgba(6,6,6,.67),transparent 30%),url('../img/litoral-coast-hero-2026.jpg');background-position:center,center,center}
.home-roles{position:absolute;left:var(--edge);top:17.1%;z-index:2}
.short-rule{display:block;width:36px;height:1px;background:var(--rule)}
.home-roles .short-rule{margin-bottom:45px}
.home-roles p{margin:0;text-transform:uppercase;color:#e7e6e3;font-size:11px;line-height:2.4;font-weight:300;letter-spacing:.65em}
.home-roles p span{display:block}
.hero-bottom{position:absolute;left:var(--edge);right:var(--edge);bottom:6.1%;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:4.9%;align-items:start}
.hero-bottom .portal{display:flex;flex-direction:column;align-items:flex-start;min-height:136px;padding-top:1px;transition:transform .2s ease,opacity .2s ease}
.hero-bottom .portal:hover{transform:translateY(-5px)}
.portal .short-rule{margin-bottom:26px}
.portal-title{font-size:20px;line-height:1.43;letter-spacing:.47em;font-weight:300;text-transform:uppercase;margin:0;max-width:100%;white-space:normal}
.portal-detail{display:flex;align-items:center;gap:29px;margin-top:17px;line-height:1.9;font-size:9.5px;letter-spacing:.45em;text-transform:uppercase;font-weight:350;color:#eeeae6}
.portal-arrow{font-family:var(--sans);font-size:17px;letter-spacing:0;line-height:1;margin-left:1px;transition:transform .25s}
.portal:hover .portal-arrow{transform:translateX(7px)}
.hero-identity{position:absolute;left:var(--edge);top:19%;max-width:760px;z-index:1}
.hero-identity .short-rule{margin-bottom:46px}
.hero-eyebrow{text-transform:uppercase;letter-spacing:.55em;font-size:10px;font-weight:400;color:#e2ded7;margin:0 0 31px}
.hero-title{margin:0;color:#f0eee8;font-size:clamp(36px,3.5vw,58px);line-height:1.27;font-weight:300;letter-spacing:.265em;text-transform:uppercase}
.hero-title--book{font-size:clamp(35px,3.35vw,56px);line-height:1.35}
.hero-title--litoral{font-size:clamp(48px,5.15vw,83px);letter-spacing:.38em;font-weight:250;line-height:1.2}
.hero-summary{color:#dedbd5;font:italic 400 clamp(16px,1.4vw,20px)/1.6 var(--serif);max-width:490px;margin:34px 0 0;text-wrap:balance}
.hero-actions{display:flex;align-items:center;gap:32px;margin-top:37px}
.quiet-link{font-size:10px;letter-spacing:.43em;text-transform:uppercase;font-weight:400;display:inline-flex;gap:26px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(235,231,223,.48);transition:border-color .2s}
.quiet-link:hover{border-color:#fff}
.quiet-link .portal-arrow{font-size:16px}
.subpage .hero-bottom{bottom:5.5%}
.subpage .portal-title{font-size:15px;letter-spacing:.39em;line-height:1.45}
.subpage .portal-detail{font-size:9px;margin-top:14px}
/* Quiet editorial information below cinematic opening */
.content-section{padding:clamp(100px,12vw,185px) var(--edge);background:#111213}
.content-section--green{background:#121711}
.content-section--slate{background:#121415}
.content-section--end{padding-top:95px;padding-bottom:105px}
.content-wrap{max-width:1360px;margin:auto}
.content-label{text-transform:uppercase;letter-spacing:.48em;font-size:10px;font-weight:400;color:#aaa9a3}
.content-label:before{content:'';display:inline-block;width:35px;height:1px;background:#a6a49c;margin:0 23px 4px 0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(60px,8vw,150px);align-items:center}
.copy-display{font-size:clamp(31px,3.9vw,60px);line-height:1.18;letter-spacing:-.04em;font-weight:300;margin:39px 0 34px;max-width:650px;text-wrap:balance}
.copy-body{font-family:var(--serif);font-weight:400;color:#c8c8c1;font-size:clamp(16px,1.22vw,18px);line-height:1.9;max-width:590px}
.copy-body p{margin:0 0 20px}
.book-object{max-width:400px;margin:0 auto;filter:drop-shadow(20px 30px 40px rgba(0,0,0,.42))}
.meta-rail{border-top:1px solid rgba(255,255,255,.19);border-bottom:1px solid rgba(255,255,255,.19);display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:30px 0;margin-top:70px}
.meta-rail div{font-size:10px;text-transform:uppercase;letter-spacing:.32em;line-height:1.85;color:#b3b5ac}
.meta-rail span{display:block;color:#eeeae3;letter-spacing:.25em;font-size:11px;margin-top:8px}
.review{max-width:900px;margin:0 auto;text-align:center}
.review blockquote{font-family:var(--serif);font-weight:400;font-style:italic;font-size:clamp(23px,3vw,42px);line-height:1.55;color:#e4e3dc;margin:30px 0 32px}
.review-source{font-size:10px;text-transform:uppercase;letter-spacing:.45em;color:#b2b0a9}
.review .quiet-link{margin-top:30px}
.recording-top{align-items:start}
.recording-art{width:100%;height:480px;object-fit:cover;filter:saturate(.75)}
.tracklist{width:100%;border-top:1px solid rgba(255,255,255,.28);margin-top:55px}
.track{display:grid;grid-template-columns:55px 1fr 64px;gap:26px;align-items:center;min-height:78px;border-bottom:1px solid rgba(255,255,255,.19)}
.track .number{font-size:10px;letter-spacing:.3em;color:#999d9c}
.track .track-name{font-size:clamp(17px,1.9vw,24px);font-weight:300;letter-spacing:-.035em}
.track .time{text-align:right;font-size:11px;letter-spacing:.12em;color:#c4c2bb;font-variant-numeric:tabular-nums}
.track-footer{display:flex;justify-content:space-between;margin-top:19px;color:#a0a29e;font-size:10px;letter-spacing:.32em;text-transform:uppercase}
.section-ending{margin:45px 0 0;display:flex;justify-content:flex-start;gap:20px;flex-wrap:wrap}
.foot{background:#0e1010;border-top:1px solid rgba(255,255,255,.17);padding:36px var(--edge);display:flex;gap:30px;justify-content:space-between;align-items:center;color:#a7a8a5;font-size:10px;letter-spacing:.22em;text-transform:uppercase}
.foot-links{display:flex;gap:25px}
.foot a:hover{color:#fff}
/* Discreet nav pop-over, only on narrow viewports. */
@media(max-width:850px){
 .site-header{padding-top:32px}
 .site-brand{font-size:10px;letter-spacing:.31em;max-width:75%;white-space:normal;line-height:1.8}
 .desktop-nav{display:none}
 .menu-toggle{display:inline-flex;letter-spacing:.23em;font-size:10px;border-bottom:1px solid rgba(255,255,255,.5);padding:0 0 6px;align-self:flex-start}
 .mobile-nav{position:absolute;left:0;right:0;top:0;z-index:9;padding:92px var(--edge) 40px;background:#111414;display:none;flex-direction:column;gap:27px;box-shadow:0 15px 30px rgba(0,0,0,.36)}
 .mobile-nav.is-open{display:flex}
 .mobile-nav a{text-transform:uppercase;font-size:11px;letter-spacing:.4em}
 .hero{min-height:730px}
 .home-roles{top:23%}
 .home-roles .short-rule{margin-bottom:34px}
 .home-roles p{font-size:9px;letter-spacing:.55em;line-height:2.5}
 .hero--home::before{background-position:45% center}
 .hero-bottom{grid-template-columns:1fr;bottom:5.5%;gap:19px}
 .hero-bottom .portal{min-height:0;display:grid;grid-template-columns:28px 1fr;gap:0 19px;align-items:start;padding-top:14px;border-top:1px solid rgba(255,255,255,.20)}
 .portal .short-rule{width:22px;margin:11px 0 0}
 .portal-title{font-size:14px;line-height:1.45;letter-spacing:.35em}
 .portal-detail{grid-column:2;letter-spacing:.33em;font-size:8px;margin-top:6px;gap:22px}
 .hero-identity{top:23%;right:var(--edge);max-width:calc(100% - 2*var(--edge))}
 .hero-identity .short-rule{margin-bottom:32px}
 .hero-eyebrow{letter-spacing:.38em;font-size:9px;margin-bottom:20px}
 .hero-title--book{font-size:clamp(26px,7vw,42px);letter-spacing:.16em}
 .hero-title--litoral{font-size:clamp(35px,10vw,60px);letter-spacing:.24em}
 .hero-summary{font-size:15px;max-width:335px;margin-top:24px}
 .hero-actions{margin-top:26px}
 .quiet-link{font-size:9px;letter-spacing:.26em}
 .subpage .hero-bottom{bottom:5.5%}
 .subpage .portal-title{font-size:12px;letter-spacing:.27em}
 .split{grid-template-columns:1fr;gap:55px}
 .copy-display{font-size:38px}
 .content-section{padding-top:100px;padding-bottom:100px}
 .book-object{max-width:260px}
 .meta-rail{grid-template-columns:1fr;gap:19px;margin-top:50px}
 .recording-art{height:320px}
 .foot{flex-direction:column;align-items:flex-start;gap:20px}
}
@media(max-width:520px){
 :root{--edge:25px}
 .hero{min-height:700px;height:100svh}
 .hero--home::before{background-position:42% center}
 .hero--home::after{background:linear-gradient(180deg,rgba(0,0,0,.24),rgba(0,0,0,.04) 35%,rgba(0,0,0,.17) 58%,rgba(0,0,0,.87) 100%)}
 .hero--book::before{background-image:linear-gradient(90deg,rgba(12,15,11,.9),rgba(12,15,11,.26)),linear-gradient(180deg,#11140e,transparent 45%),url('../img/twru-forest-hero-2026.jpg');background-position:center,center,63% center}
 .hero--litoral::before{background-image:linear-gradient(90deg,rgba(11,12,13,.72),rgba(12,13,14,.19)),linear-gradient(180deg,#111213,transparent 45%),url('../img/litoral-coast-hero-2026.jpg');background-position:center,center,63% center}
 .hero-bottom{gap:12px}
 .portal-title{font-size:13px}
 .hero-title--book{font-size:29px}
 .hero-title--litoral{font-size:43px}
 .hero-summary{font-size:14px;max-width:310px}
 .hero-identity{top:24%}
 .subpage .hero-bottom{gap:9px;bottom:4%}
 .subpage .portal-title{font-size:11px}
 .subpage .portal-detail{font-size:7.5px}
 .track{grid-template-columns:33px 1fr 48px;gap:9px;min-height:66px}
 .track .track-name{font-size:17px}
 .recording-art{height:240px}
 .content-label{font-size:9px;letter-spacing:.34em}
 .meta-rail span{font-size:10px}
 .foot{font-size:8px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* V4 — homepage typographic hierarchy */
.home-page .hero-bottom .portal{min-height:143px}
.home-page .hero-bottom .portal-title{font-size:19px;letter-spacing:.44em;line-height:1.5;min-height:29px}
.portal-subtitle{display:block;color:#dedbd6;font:italic 400 15px/1.5 var(--serif);letter-spacing:.015em;margin:8px 0 0;min-height:24px}
.home-page .portal-detail{font-size:9px;letter-spacing:.37em;margin-top:12px}

/* Shared quiet footer; deliberately below the photographic opening */
/* V5 — condensed full-width footer; its edges match the hero and navigation exactly. */
.site-footer{background:#111313;border-top:1px solid rgba(237,233,223,.19);padding:48px var(--edge) 24px;color:#e2dfd9}
.site-footer .content-wrap{width:100%;max-width:none;margin:0}
.footer-main{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;column-gap:clamp(54px,7vw,145px);align-items:start;padding-bottom:37px}
.footer-signature{align-self:start}
.footer-name{display:inline-block;font:400 13px/1.4 var(--sans);letter-spacing:.30em;text-transform:uppercase;max-width:28rem}
.footer-signature p{font:400 12px/1.4 var(--serif);letter-spacing:.015em;color:#979b96;margin:11px 0 0}
.footer-signature p span{margin:0 7px;color:#666b67}
.footer-column h2{font:400 9px/1.25 var(--sans);letter-spacing:.47em;text-transform:uppercase;color:#858c87;margin:3px 0 15px}
.footer-column nav{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.footer-column a{font-size:12px;font-weight:300;letter-spacing:.09em;line-height:1.4;color:#d4d3cf;transition:color .18s ease}
.footer-column a:hover,.footer-name:hover{color:#fff}
.footer-column .external-mark{font-size:12px;letter-spacing:0;margin-left:3px}
.footer-column:last-child{justify-self:end;text-align:left}
.footer-column:last-child nav{align-items:flex-start}
.footer-base{border-top:1px solid rgba(237,233,223,.2);padding-top:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:30px}
.footer-location{display:flex;flex-direction:column;gap:7px}
.footer-location>span{font-size:10px;font-weight:350;text-transform:uppercase;letter-spacing:.34em;color:#cbc8c2}
.footer-location small{font-size:10px;font-weight:300;letter-spacing:.07em;color:#858985;line-height:1.4}
@media(max-width:850px){
 .site-header .mobile-nav{z-index:11}
 .site-header .menu-toggle{z-index:12;position:relative}
 .home-page .hero-bottom .portal{min-height:0}
 .home-page .hero-bottom .portal-title{font-size:14px;min-height:0;letter-spacing:.32em}
 .home-page .hero-bottom .portal-subtitle{font-size:12px;grid-column:2;min-height:0;margin-top:3px}
 .home-page .hero-bottom .portal-detail{grid-column:2;margin-top:5px;font-size:8px}
 .footer-main{grid-template-columns:minmax(0,1fr) max-content max-content;gap:22px;padding-bottom:31px}
 .site-footer{padding-top:38px}
 .footer-name{font-size:11px;letter-spacing:.18em}
}
@media(max-width:600px){
 .site-footer{padding-top:36px;padding-bottom:22px}
 .footer-main{grid-template-columns:1fr 1fr;gap:28px 22px;padding-bottom:28px}
 .footer-signature{grid-column:1 / -1}
 .footer-column h2{margin-bottom:13px}
 .footer-column nav{gap:6px}
 .footer-column:last-child{justify-self:end}
 .footer-base{padding-top:17px}
 .footer-location>span{font-size:9px;letter-spacing:.24em}
 .footer-location small{font-size:9px}
 .home-page .hero-bottom{bottom:4.6%}
 .home-page .hero-bottom .portal{padding-top:10px}
}
@media(max-width:360px){
 .home-page .hero-bottom{bottom:3%;gap:8px}
 .home-page .hero-bottom .portal-detail{font-size:7.5px}
}

/* V5.5 — precise footer alignment: heading and every ELSEWHERE link share one left edge. */
.site-footer .footer-main > .footer-elsewhere {
  justify-self: end;
  width: clamp(165px, 13vw, 190px);
  text-align: left;
}
.site-footer .footer-elsewhere h2,
.site-footer .footer-elsewhere nav,
.site-footer .footer-elsewhere nav a {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}
.site-footer .footer-elsewhere nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.site-footer .footer-elsewhere nav a {
  display: block;
  align-self: flex-start;
  width: auto;
}
@media (max-width: 600px) {
  .site-footer .footer-main > .footer-elsewhere {
    justify-self: start;
    width: 100%;
  }
}

/* V6 — UM BRAL / approved Las Catedrales photograph. No synthetic artwork or graphic overlay. */
.hero--home::before {background-image:url('../img/umbral-v1.webp');background-position:center 50%;transform:none;}
.hero--home::after {background:linear-gradient(90deg,rgba(2,3,4,.36),rgba(2,3,4,.1) 22%,transparent 45%),linear-gradient(180deg,rgba(0,0,0,.30) 0%,rgba(0,0,0,.05) 31%,rgba(0,0,0,.07) 54%,rgba(6,7,8,.29) 73%,rgba(6,7,8,.85) 100%);}
.book-object-caption {font:400 10px/1.8 var(--sans);letter-spacing:.17em;text-align:center;color:#8c998a;margin:20px 0 0;}
.review-context {font:400 16px/1.7 var(--serif);color:#aeb1a9;max-width:720px;margin:0 auto 20px;}
#edition {scroll-margin-top:70px;}
.content-section .section-ending a {max-width:100%;}
/* Keep three-piece nav comfortably inside the full-height hero. */
@media(max-width:850px) { .hero--home::before {background-position:44% center;} }
@media(max-width:520px) {
 .hero--home::before {background-image:url('../img/umbral-v1.webp');background-position:44% center;}
 .hero--home::after {background:linear-gradient(90deg,rgba(0,0,0,.43),transparent 58%),linear-gradient(180deg,rgba(0,0,0,.24),rgba(0,0,0,.04) 33%,rgba(0,0,0,.16) 58%,rgba(0,0,0,.89) 100%);}
 .review-context {font-size:14px;}
}

/* Bilingual edition — equal-size EN · ES, generous spacing, subdued inactive language. */
.desktop-nav{gap:clamp(19px,3.2vw,51px)}
.lang-switch{
 display:inline-flex;align-items:center;gap:12px;white-space:nowrap;flex:0 0 auto;
 border-left:1px solid rgba(240,238,232,.36);padding-left:clamp(14px,1.9vw,26px)
}
/* Identical typography whether the language is a link or the active, non-link span. */
.desktop-nav .lang-switch > a,.desktop-nav .lang-switch > .lang-active,
.mobile-nav .lang-switch > a,.mobile-nav .lang-switch > .lang-active{
 display:inline-block;font-family:var(--sans);font-size:10px;font-weight:400;
 text-transform:uppercase;letter-spacing:.17em;line-height:1.25;
 margin:0;padding:0;opacity:1;transform:none;text-decoration:none;
}
/* Only colour changes; no scaling, size, or weight change on hover or selection. */
.desktop-nav .lang-switch > a,.mobile-nav .lang-switch > a{
 color:#969a95;transition:color .2s ease
}
.desktop-nav .lang-switch > a:hover,.desktop-nav .lang-switch > a:focus-visible,
.mobile-nav .lang-switch > a:hover,.mobile-nav .lang-switch > a:focus-visible{
 color:#efece6;opacity:1
}
.desktop-nav .lang-switch > .lang-active,.mobile-nav .lang-switch > .lang-active{
 color:#efece6;opacity:1
}
.lang-switch > .lang-dot{
 color:#858985;font-family:var(--sans);font-size:10px;font-weight:400;
 line-height:1.25;letter-spacing:0;user-select:none
}
.mobile-nav .lang-switch{
 align-self:flex-start;border-left:0;border-top:1px solid rgba(240,238,232,.25);
 padding:20px 0 0;gap:13px;margin-top:2px
}
.mobile-nav .lang-switch > a,.mobile-nav .lang-switch > .lang-active,
.mobile-nav .lang-switch > .lang-dot{font-size:11px}
[hidden]{display:none!important}
.essay-language-note{margin:12px 0;color:#c3bfb8;font:italic 15px/1.6 Georgia,serif}
.translation-disclosure{font:italic 12px/1.7 Georgia,serif;color:#aaa79d;margin:0 0 12px}
.edition-availability{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;
 margin-top:55px;border-top:1px solid rgba(255,255,255,.19);border-bottom:1px solid rgba(255,255,255,.19);padding:27px 0}
.edition-availability p{font:italic 16px/1.6 Georgia,serif;color:#c7c4bc;max-width:650px;margin:0}
.edition-availability .quiet-link{white-space:normal}
.availability-label{opacity:.75;cursor:default!important}
@media (min-width:851px) and (max-width:1060px){.desktop-nav{gap:18px}.desktop-nav a{letter-spacing:.33em}.site-brand{letter-spacing:.25em}}
