
:root { --ink:#171714; --paper:#eee9df; --red:#b83a28; --night:#17252c; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial, Helvetica, sans-serif; }
a { color:inherit; text-decoration:none; }
.home-link { position:fixed; z-index:20; right:22px; bottom:22px; display:flex; align-items:center; gap:9px; padding:11px 14px 10px; color:#f5f1e8; background:rgba(23,23,20,.82); border:1px solid rgba(245,241,232,.35); -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px); font-size:10px; line-height:1; letter-spacing:.14em; text-transform:uppercase; }
.home-link:hover,.home-link:focus-visible { background:var(--red); border-color:var(--red); }
.home-link span { font-size:15px; line-height:.7; }
.site-header { position:absolute; inset:0 0 auto; z-index:5; display:flex; align-items:center; justify-content:space-between; padding:14px 4vw 13px; color:#f5f1e8; background:linear-gradient(90deg,rgba(20,30,32,.78),rgba(33,38,37,.48) 48%,rgba(76,43,36,.58)); border-bottom:1px solid rgba(245,241,232,.08); -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px); }
.identity { display:flex; flex-direction:column; font-size:18px; font-weight:700; line-height:.9; letter-spacing:-.04em; text-transform:uppercase; }
nav { display:flex; gap:30px; font-size:12px; text-transform:uppercase; letter-spacing:.12em; }
nav a { padding-bottom:5px; border-bottom:1px solid transparent; }
nav a:hover { border-color:currentColor; }
.hero { position:relative; isolation:isolate; min-height:100vh; padding:20vh 4vw 7vh; display:flex; flex-direction:column; justify-content:flex-end; color:#f6f1e7; background:linear-gradient(125deg,#202c30,#4d3b34 50%,#9d3727); overflow:hidden; }
.hero:before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(20,28,30,.06) 0 24%,rgba(35,32,29,.36) 47%,rgba(35,32,29,.82) 72%,rgba(35,32,29,.96) 100%),linear-gradient(90deg,rgba(25,34,36,.65),transparent 30%,transparent 72%,rgba(137,45,33,.5)); }
.hero-art { position:absolute; z-index:-2; top:0; left:50%; width:min(92vw,1660px); height:100%; transform:translateX(-50%); opacity:.88; overflow:hidden; -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 54%,rgba(0,0,0,.92) 66%,rgba(0,0,0,.38) 82%,transparent 98%); mask-image:linear-gradient(to bottom,#000 0%,#000 54%,rgba(0,0,0,.92) 66%,rgba(0,0,0,.38) 82%,transparent 98%); }
.hero-art img { width:100%; height:100%; object-fit:cover; object-position:center 36%; display:block; filter:saturate(.84) contrast(1.05); }
.eyebrow,.index { text-transform:uppercase; letter-spacing:.16em; font-size:11px; }
.hero h1 { position:relative; margin:20px 0 0; max-width:1120px; font-family:Georgia, 'Times New Roman', serif; font-size:clamp(46px,5.5vw,62px); line-height:.96; letter-spacing:-.04em; font-weight:400; }
.hero-translation { margin:18px 0 7vh; max-width:760px; font-family:Georgia, 'Times New Roman', serif; font-size:clamp(17px,1.55vw,22px); line-height:1.25; font-style:italic; font-weight:400; letter-spacing:.01em; color:rgba(246,241,231,.78); }
.scroll-cue { align-self:flex-start; padding-bottom:8px; border-bottom:1px solid; font-size:12px; text-transform:uppercase; letter-spacing:.13em; }
.scroll-cue span { margin-left:18px; }
.project { padding:12vh 4vw; }
.section-intro { display:grid; grid-template-columns:1fr 2fr 1fr; gap:4vw; align-items:start; margin-bottom:9vh; }
.section-intro h2 { margin:0; font-family:Georgia,serif; font-weight:400; font-size:clamp(60px,9vw,140px); line-height:.78; letter-spacing:-.07em; }
.section-intro h2 small { display:block; margin-top:24px; font-family:Arial,Helvetica,sans-serif; font-size:11px; line-height:1.2; letter-spacing:.16em; text-transform:uppercase; }
.lead { font-family:Georgia,serif; font-size:20px; line-height:1.45; margin:0; }
.work-grid { display:grid; grid-template-columns:repeat(12,1fr); column-gap:2.4vw; row-gap:14vh; align-items:start; }
.work-card { margin:0; grid-column:span 6; }
.work-card:nth-child(3n+2) { margin-top:12vh; }
.work-card:nth-child(4n) { transform:translateX(3vw); }
.work-card:nth-child(8) { transform:none; }
.work-card img { display:block; width:100%; height:auto; }
.work-card.work-wide { grid-column:span 8; }
.work-card.work-medium { grid-column:span 6; }
.work-card.work-small { grid-column:span 4; }
.work-card.work-panorama { grid-column:2 / span 10; }
.work-card:nth-child(5n+3) { justify-self:end; }
.work-card.work-low-res { max-width:640px; }
figcaption { display:flex; justify-content:space-between; gap:20px; padding-top:13px; font-size:12px; }
figcaption span:last-child { color:#68665f; font-style:italic; }

.pinocchio-heading { margin:16vh 0 8vh; max-width:920px; }
.pinocchio-heading h3 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(38px,5vw,72px); line-height:.98; letter-spacing:-.035em; font-weight:400; }
.pinocchio-heading p { margin:14px 0 0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(16px,1.5vw,21px); line-height:1.35; color:#68665f; }
.pinocchio-grid { margin-top:0; }
.statement { min-height:78vh; background:var(--red); color:#f6efe4; padding:12vh 12vw; display:grid; grid-template-columns:1fr 4fr; gap:3vw; align-content:center; }
.statement-main { grid-column:2; }
.statement blockquote { margin:0; font-family:Georgia,serif; font-size:clamp(44px,7vw,105px); line-height:.98; letter-spacing:-.045em; }
.statement-translation { max-width:920px; margin:26px 0 0; font-family:Georgia,serif; font-size:clamp(18px,1.65vw,25px); line-height:1.4; opacity:.82; }
.statement-note { grid-column:2; max-width:640px; margin:48px 0 0 auto; }
.statement-note p { margin:0; font-size:17px; line-height:1.6; }
.statement-note-en { margin-top:12px !important; font-family:Georgia,serif; font-size:15px !important; line-height:1.55 !important; opacity:.78; }
.nautical { background:var(--night); color:#eef0e8; }
.section-intro.light .lead { color:#c7d0ce; }
.nautical-grid { display:grid; gap:5vh; }
.chart-card { margin:0; }
.chart-image { height:48vh; min-height:330px; position:relative; overflow:hidden; background:linear-gradient(#cab99d 0 58%,#5d7880 59% 100%); }
.chart-image:before { content:""; position:absolute; inset:0; opacity:.32; background:repeating-linear-gradient(0deg,transparent 0 39px,#3e4b4c 40px),repeating-linear-gradient(90deg,transparent 0 39px,#3e4b4c 40px); }
.coastline { position:absolute; left:-3%; right:-3%; bottom:34%; height:22%; background:#323835; clip-path:polygon(0 75%,8% 62%,15% 76%,24% 35%,33% 58%,42% 22%,50% 53%,59% 45%,67% 74%,74% 30%,85% 60%,94% 48%,100% 71%,100% 100%,0 100%); }
.chart-2 .chart-image { background:linear-gradient(#c4a36e 0 57%,#4c626b 58% 100%); }
.chart-2 .coastline { clip-path:polygon(0 67%,9% 44%,19% 60%,29% 24%,40% 66%,53% 32%,61% 48%,73% 20%,82% 62%,91% 35%,100% 69%,100% 100%,0 100%); }
.bio { padding:15vh 12vw; display:grid; grid-template-columns:1fr 3fr; gap:5vw; }
.bio h2 { margin:0 0 40px; font-family:Georgia,serif; font-size:clamp(50px,7vw,100px); font-weight:400; line-height:.9; letter-spacing:-.05em; }
.bio div p { max-width:760px; font-family:Georgia,serif; font-size:23px; line-height:1.55; }
footer { min-height:75vh; padding:12vh 4vw 4vh; background:#111; color:#eee9df; display:flex; flex-direction:column; }
footer h2 { margin:auto 0 40px; font-family:Georgia,serif; font-weight:400; font-size:clamp(48px,8vw,118px); line-height:.9; letter-spacing:-.055em; }
footer > a { align-self:flex-start; font-size:20px; padding-bottom:8px; border-bottom:1px solid; }
.footer-line { margin-top:11vh; padding-top:18px; border-top:1px solid #474747; display:flex; justify-content:space-between; font-size:11px; text-transform:uppercase; letter-spacing:.1em; }


/* Entropia — testo esteso / Read more */
.entropy-copy { min-width:0; }
.read-more { display:inline-flex; align-items:center; gap:4px; margin-top:30px; padding:0 0 10px; border:0; border-bottom:1px solid var(--red); background:transparent; color:var(--red); font:inherit; font-size:14px; font-weight:600; line-height:1.2; letter-spacing:.11em; text-transform:uppercase; cursor:pointer; }
.read-more span { color:var(--red); font-style:italic; font-weight:400; opacity:.76; }
.read-more b { display:inline-block; margin-left:12px; font-size:18px; font-weight:400; transition:transform .2s ease; }
.read-more:hover,.read-more:focus-visible { color:var(--ink); border-color:var(--ink); outline:none; }
.read-more:hover span,.read-more:focus-visible span { color:var(--ink); }
.entropy-text { margin:-3vh 0 12vh; padding:7vh 12vw 9vh; border-top:1px solid rgba(23,23,20,.18); border-bottom:1px solid rgba(23,23,20,.18); background:rgba(255,255,255,.16); }
.entropy-text[hidden] { display:none; }
.language-switch { display:flex; gap:18px; margin-bottom:5vh; }
.lang-button { padding:0 0 6px; border:0; border-bottom:1px solid transparent; background:transparent; color:#77736b; font-size:10px; line-height:1; letter-spacing:.14em; text-transform:uppercase; cursor:pointer; }
.lang-button.is-active { color:var(--ink); border-color:var(--red); }
.lang-button:hover,.lang-button:focus-visible { color:var(--red); outline:none; }
.project-text { max-width:880px; margin:0 auto; font-family:Georgia,'Times New Roman',serif; font-size:clamp(18px,1.55vw,22px); line-height:1.72; }
.project-text p { margin:0 0 1.35em; }
.project-text p:last-child { margin-bottom:0; }
.project-text strong { font-weight:600; }
.text-emphasis { margin:2.4em 0 !important; font-size:1.22em; line-height:1.45; }
.text-ending { margin-top:2.8em !important; font-size:1.15em; }

@media (max-width:800px) {
  html, body, main { width:100%; max-width:100%; overflow-x:hidden; }
  .home-link { right:14px; bottom:14px; padding:10px 12px 9px; }
  .site-header { align-items:stretch; flex-direction:column; gap:15px; padding:13px 20px 11px; }
  nav { display:grid; grid-template-columns:repeat(5,1fr); gap:4px; width:100%; font-size:9px; letter-spacing:.08em; text-align:center; }
  nav a { display:block; padding:0 1px 4px; white-space:nowrap; }
  .hero { padding:18vh 20px 6vh; }
  .hero-art { width:140%; height:100%; opacity:.8; -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 48%,rgba(0,0,0,.9) 62%,rgba(0,0,0,.34) 80%,transparent 97%); mask-image:linear-gradient(to bottom,#000 0%,#000 48%,rgba(0,0,0,.9) 62%,rgba(0,0,0,.34) 80%,transparent 97%); }
  .hero-art img { width:auto; min-width:100%; height:100%; object-fit:cover; object-position:47% 43%; transform:none; }
  .hero h1 { font-size:clamp(39px,11.5vw,58px); }
  .hero-translation { margin:14px 0 12vh; max-width:92%; font-size:16px; }
  .hero:before { width:80vw; right:-12vw; }
  .project { width:100%; max-width:100%; padding:10vh 20px; overflow:hidden; }
  .section-intro { width:100%; max-width:100%; grid-template-columns:minmax(0,1fr); gap:24px; }
  .section-intro > * { min-width:0; max-width:100%; }
  .section-intro h2 { width:100%; font-size:clamp(46px,13vw,56px); line-height:.84; overflow-wrap:normal; }
  .lead { width:100%; max-width:100%; overflow-wrap:break-word; }
  .work-grid { display:block; }
  .entropy-copy { width:100%; }
  .read-more { margin-top:22px; font-size:13px; padding-bottom:9px; }
  .entropy-text { margin:-2vh 0 9vh; padding:6vh 20px 7vh; }
  .language-switch { margin-bottom:4vh; }
  .project-text { max-width:100%; font-size:18px; line-height:1.65; }

  .work-card,.work-card.work-wide,.work-card.work-medium,.work-card.work-small,.work-card.work-panorama { width:100%; margin:0 0 68px; transform:none; }
  .work-card:nth-child(3n+2) { width:84%; margin-left:auto; }
  .work-card:nth-child(4n) { width:90%; margin-right:auto; }
  .statement { padding:10vh 20px; grid-template-columns:1fr; }
  .statement-main,.statement-note { grid-column:1; }
  .statement blockquote { margin-top:20px; font-size:13vw; }
  .statement-translation { margin-top:20px; font-size:18px; }
  .statement-note { margin-top:36px; max-width:100%; }
  .statement-note p { font-size:16px; }
  .statement-note-en { font-size:14px !important; }
  .bio { padding:11vh 20px; grid-template-columns:1fr; }
  .bio div p { font-size:20px; }
  footer { padding:10vh 20px 3vh; }
  figcaption { flex-direction:column; gap:4px; }
  .pinocchio-heading { margin:11vh 0 6vh; }
  .pinocchio-heading h3 { font-size:clamp(34px,10vw,48px); }
  .pinocchio-heading p { font-size:16px; }
}

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Profili costieri — introduzione e opere */
.coastal-lead { min-width:0; }
.lead-en { margin:15px 0 0; max-width:34em; font-family:Georgia,'Times New Roman',serif; font-size:15px; line-height:1.5; color:rgba(199,208,206,.72); }
.coastal-diagram { margin:0 0 16vh; }
.coastal-diagram .chart-image { height:48vh; min-height:330px; }
.coastal-gallery { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:2.8vw; row-gap:15vh; align-items:start; }
.coastal-work { margin:0; }
.coastal-work img { display:block; width:100%; height:auto; }
.coastal-work figcaption { padding-top:12px; color:#eef0e8; }
.coastal-work figcaption span { color:#eef0e8; font-style:normal; }
.coastal-work-west { grid-column:1 / span 10; }
.coastal-work-morne { grid-column:4 / span 9; }
.coastal-work-shiro { grid-column:1 / span 8; }
.coastal-work-uma { grid-column:3 / span 10; }

@media (max-width:800px) {
  .lead-en { margin-top:10px; font-size:14px; line-height:1.45; }
  .coastal-diagram { margin-bottom:10vh; }
  .coastal-diagram .chart-image { height:34vh; min-height:240px; }
  .coastal-gallery { display:block; }
  .coastal-work,.coastal-work-west,.coastal-work-morne,.coastal-work-shiro,.coastal-work-uma { width:100%; margin:0 0 72px; }
  .coastal-work:nth-child(even) { width:92%; margin-left:auto; }
  .coastal-work:nth-child(3) { width:94%; margin-right:auto; }
}
