/* Beck Solar · Version 2
   Letterhead layout: fixed left column (wordmark, mark, index), content on the right.
   Ivory stock, deep green, one thin gold line. Nothing moves, nothing fades. */
:root {
  --paper: #f2eee5;
  --paper-deep: #e8e3d7;
  --green: #1f2824;
  --gold: #b8964e;
  --ink: #222826;
  --ink-soft: #666b67;
  --rule: rgba(34, 40, 38, .18);
  --rule-light: rgba(242, 238, 229, .2);
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", "Garamond", "Iowan Old Style", Georgia, serif;
  --side: 300px;
  --pad: clamp(28px, 6vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: "liga", "kern", "onum"; hanging-punctuation: first last; }
h1, h2, h3, .lede { text-wrap: balance; }
p { text-wrap: pretty; }
@media (max-width: 860px) { p, h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }
::selection { background: var(--green); color: var(--paper); }
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .5; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .5 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E"); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 50; padding: 10px 14px; background: var(--green); color: var(--paper); font-family: var(--sans); font-size: 12px; }
.skip:focus { left: 12px; }

.wordmark { display: inline-flex; flex-direction: column; gap: 6px; }
.wordmark-main { font-family: var(--sans); font-weight: 300; font-size: 26px; letter-spacing: .36em; line-height: 1; }
.wordmark-sub { font-family: var(--sans); font-weight: 400; font-size: 8.5px; letter-spacing: .3em; line-height: 1.7; text-transform: uppercase; color: var(--ink-soft); }
.mark { display: block; color: var(--gold); }
.small-caps { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
.t-link { border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: border-color .25s; }
.t-link:hover { border-color: var(--gold); }

/* Frame */
.site { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100svh; }
.side { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 36px 36px; border-right: 1px solid var(--rule); }
.side .mark { width: 78px; margin-top: 44px; }
.index { margin-top: 64px; display: grid; gap: 14px; }
.index a { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; font-size: 21px; line-height: 1.2; }
.index a small { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.index a span { border-bottom: 1px solid transparent; transition: border-color .25s; }
.index a:hover span { border-color: var(--rule); }
.index a.is-active span { border-color: var(--gold); }
.index a.is-active small { color: var(--ink); }
.side-foot { display: grid; gap: 18px; }
.lang { display: flex; gap: 16px; }
.lang a { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: var(--ink-soft); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.lang a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.side-contact { display: grid; gap: 4px; font-size: 16px; color: var(--ink-soft); }
.side-contact a:hover { color: var(--ink); }

.topbar { display: none; }

.content { min-width: 0; }
.page { padding: 0 var(--pad); max-width: calc(1040px + 2 * var(--pad)); }

/* Opening */
.opening { padding-top: clamp(80px, 12vh, 150px); }
.opening h1 { font-weight: 400; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.1; letter-spacing: -.008em; max-width: 19ch; }
.opening h1 em { font-style: italic; font-weight: 400; }
.opening-note { margin-top: 36px; display: flex; gap: 40px; align-items: baseline; flex-wrap: wrap; }
.opening-note p { max-width: 42ch; font-size: 19px; color: var(--ink-soft); }

/* Plates (photographs) */
.plate { margin-top: 64px; }
.plate img { width: 100%; height: auto; filter: saturate(.8) contrast(1.02) sepia(.07); }
.plate figcaption { display: flex; justify-content: flex-start; gap: 24px; margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); }
.plate figcaption i { font-style: italic; max-width: 60ch; }
.plate figcaption b { font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .22em; color: var(--gold); white-space: nowrap; padding-top: 5px; }
.plate-cover { margin-top: 72px; }
.plate-cover img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 40% 42%; }

/* Sections */
.section { padding-top: clamp(96px, 14vh, 170px); }
.section-title { display: flex; align-items: center; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.motif { flex: 0 0 auto; width: 46px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 46 14%27%3E%3Ccircle cx=%277%27 cy=%277%27 r=%275.5%27 fill=%27none%27 stroke=%27%23b8964e%27 stroke-width=%271%27/%3E%3Cline x1=%270%27 y1=%278.5%27 x2=%2746%27 y2=%278.5%27 stroke=%27%23b8964e%27 stroke-width=%271%27/%3E%3C/svg%3E") no-repeat center / contain; }
.section-title h2 { font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }

/* Intro */
.intro { padding-top: clamp(80px, 11vh, 140px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.intro .lede { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.3; max-width: 22ch; }
.intro p + p { margin-top: 18px; }
.intro-text p { color: var(--ink); font-size: 19px; max-width: 46ch; }

/* Services */
.services ol { counter-reset: s; }
.services li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 20px 28px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.services h3 { font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.services p { font-size: 17.5px; color: var(--ink-soft); max-width: 46ch; }

/* Projects */
.projects .plate:first-of-type { margin-top: 56px; }
.plate.w-full { width: 100%; }
.plate.w-wide { width: 78%; margin-left: auto; }
.plate.w-half { width: 58%; }
.plate.w-half.right { margin-left: auto; }
.plate.w-wide img, .plate.w-full img { aspect-ratio: 3 / 2; object-fit: cover; }
.plate.w-half img { aspect-ratio: 4 / 5; object-fit: cover; }
.plate.w-half.landscape img { aspect-ratio: 4 / 3; }
.projects-foot { margin-top: 40px; font-size: 16px; color: var(--ink-soft); font-style: italic; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; margin-top: 44px; align-items: start; }
.about-grid p { font-size: 19px; max-width: 46ch; }
.about-grid p + p { margin-top: 18px; }
.about-grid .plate { margin-top: 8px; }
.about-grid .plate img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }
.about-sign { margin-top: 34px; font-size: 17px; color: var(--ink-soft); }
.about-sign strong { display: block; font-weight: 500; color: var(--ink); font-size: 20px; }

/* Process */
.process ol { counter-reset: p; margin-top: 10px; }
.process li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.process li::before { counter-increment: p; content: counter(p, decimal-leading-zero); font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.process li p { font-size: 19px; }
.process li p strong { font-weight: 500; }

/* Contact · the two sides of the card, laid on paper */
.contact { margin-top: clamp(96px, 14vh, 170px); background: var(--paper-deep); padding: clamp(64px, 9vh, 120px) var(--pad); }
.card { max-width: 900px; margin: 0 auto; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(34,40,38,.08), 0 30px 70px rgba(34,40,38,.16); }
.card-back { position: relative; display: grid; grid-template-columns: 57% 1fr; aspect-ratio: 85 / 50; overflow: hidden; margin-bottom: 40px; background: var(--green); }
.card-back img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.card-back-panel { position: relative; background: var(--green); color: var(--paper); margin-left: -12%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); display: grid; align-content: center; justify-items: start; gap: 34px; padding: 0 8% 0 24%; }
.card-back-panel .mark { width: 120px; margin-left: 10%; }
.card-back-panel p { font-family: var(--sans); font-weight: 300; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; line-height: 2.1; color: rgba(242, 238, 229, .9); }
.card-front { padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
.card-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; }
.card-head .wordmark-main { font-size: 34px; letter-spacing: .4em; }
.card-head .mark { width: 92px; }
.card-person strong { display: block; font-weight: 500; font-size: 25px; letter-spacing: -.005em; }
.card-lines { margin-top: 24px; display: grid; gap: 10px; font-size: 18px; }
.card-lines > * { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.card-lines .ico { width: 14px; height: 14px; margin-top: 7px; color: var(--ink); }
.card-lines a:hover { color: var(--gold); }
.card-services { border-left: 1px solid rgba(34,40,38,.45); padding-left: 36px; display: grid; gap: 7px; align-content: start; font-size: 18px; }
.card-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--rule); font-size: 17px; color: var(--ink-soft); }
.card-foot a { color: var(--ink); }

/* Footer */
.footer { padding: 34px var(--pad) 40px; background: var(--green); color: rgba(242, 238, 229, .6); border-top: 1px solid var(--rule-light); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--sans); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.9; }
.footer a { color: rgba(242, 238, 229, .85); }
.footer a:hover { color: var(--gold); }
.footer nav { display: flex; gap: 22px; }

/* Legal pages share the frame */
.legal { padding-top: clamp(72px, 10vh, 120px); padding-bottom: 120px; }
.legal h1 { margin-top: 18px; font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; }
.legal h2 { margin-top: 40px; font-size: 23px; font-weight: 500; }
.legal p { margin-top: 10px; max-width: 64ch; }
.legal .note { margin-top: 28px; padding: 16px 20px; border-left: 1px solid var(--gold); background: var(--paper-deep); font-size: 17px; max-width: 64ch; }
.legal-back { display: inline-block; margin-top: 56px; }
.plate img.pos-bottom { object-position: 50% 100%; }
.about-area { margin-top: 22px; font-size: 15.5px; color: var(--ink-soft); max-width: 46ch; }

/* Responsive */
@media (max-width: 1100px) { :root { --side: 250px; } .side { padding: 32px 26px 28px; } .index a { font-size: 19px; } }
@media (max-width: 860px) {
  .site { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar { display: block; position: sticky; top: 0; z-index: 30; background: rgba(242, 238, 229, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
  .topbar-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 var(--pad); }
  .topbar .wordmark-main { font-size: 22px; }
  .menu { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
  .menu span { width: 24px; height: 1px; background: var(--ink); transition: transform .3s; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { display: none; padding: 10px var(--pad) 28px; border-top: 1px solid var(--rule); }
  .mobile-nav.is-open { display: grid; gap: 14px; }
  .mobile-nav a { font-size: 26px; display: grid; grid-template-columns: 30px 1fr; align-items: baseline; }
  .mobile-nav a small { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
  .mobile-nav .lang { margin-top: 10px; }
  .opening { padding-top: 64px; }
  .opening h1 { font-size: clamp(34px, 9vw, 52px); }
  .plate-cover { margin-top: 48px; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding-top: 80px; }
  .section { padding-top: 88px; }
  .services li { grid-template-columns: 1fr; gap: 8px; }
  .plate.w-wide, .plate.w-half, .plate.w-half.right { width: 100%; margin-left: 0; }
  .plate.w-half img { aspect-ratio: 4 / 3; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid .plate img { aspect-ratio: 4 / 3; }
  .contact { margin-top: 96px; }
  .card-back { grid-template-columns: 1fr; aspect-ratio: auto; }
  .card-back img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
  .card-back-panel { margin-left: 0; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); padding: 72px 28px 48px; margin-top: -28px; }
  .card-front { grid-template-columns: 1fr; gap: 28px; padding: 26px 22px; }
  .card-head .wordmark-main { font-size: 26px; }
  .card-head .mark { width: 72px; }
  .card-services { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 22px; }
}
@media (max-width: 480px) { body { font-size: 17.5px; } .plate figcaption { flex-direction: column; gap: 6px; } }
