:root {
  --paper: #f4efe4;
  --paper-2: #ebe1d0;
  --ink: #11100e;
  --muted: #6b6256;
  --orange: #ef3d0f;
  --orange-deep: #c92e08;
  --line: rgba(17, 16, 14, .18);
  --dark: #151411;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.65), transparent 28rem),
    repeating-linear-gradient(0deg, rgba(70,48,22,.02) 0, rgba(70,48,22,.02) 1px, transparent 1px, transparent 4px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 850px); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; }
.brand-mark { width: 27px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at center, var(--orange) 0 18%, var(--ink) 19% 59%, var(--orange) 60% 66%, var(--ink) 67%); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.brand-name strong { font-weight: 900; }
.nav { display: flex; gap: 24px; font-size: .86rem; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--orange-deep); }
.nav a:focus-visible, .brand:focus-visible, .contact a:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 5px; }

.hero { padding: clamp(52px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(36px, 6vw, 84px); }
.eyebrow, .section-kicker { margin: 0 0 13px; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 900; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 26px; height: 3px; margin-right: 10px; vertical-align: .2em; background: var(--orange); }
.orange { color: #ff5a2b; }
h1, h2, h3 { margin-top: 0; line-height: .98; letter-spacing: -.045em; }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 7vw, 6.6rem); text-transform: uppercase; font-weight: 950; }
h1 span { color: var(--orange); }
h2 { margin-bottom: 23px; font-size: clamp(2.2rem, 4.5vw, 4.5rem); font-weight: 900; }
h3 { margin-bottom: 14px; font-size: 1.55rem; }
.lead, .section-lead { font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: #332f29; }
.lead { max-width: 720px; }
.process { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 34px 0 20px; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.process i { font-style: normal; color: var(--orange); }
.status { display: inline-block; margin: 4px 0 0; padding: 9px 13px; border: 1px solid var(--ink); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.hero-logo-wrap { position: relative; display: grid; place-items: center; }
.hero-logo-wrap::after { content: ""; position: absolute; left: 50%; top: 48%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid var(--ink); border-radius: 50%; pointer-events: none; }
.hero-logo { position: relative; width: min(100%, 610px); clip-path: circle(46% at 50% 48%); }

.section { padding: clamp(74px, 9vw, 124px) 0; border-top: 1px solid var(--line); }
.intro p:not(.section-kicker) { max-width: 780px; }
.intro p:last-child { color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.intro-visual { width: 100%; border-radius: 3px; }
.genesis { background: #f8f3e9; }
.genesis h2 { max-width: 850px; }
.genesis-lead { max-width: 850px; }
.genesis-visual { width: 100%; height: auto; margin: 40px 0 0; border-radius: 3px; }
.genesis-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.genesis-steps div { border-top: 2px solid var(--orange); padding-top: 15px; }
.genesis-steps span { font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.genesis-steps p { margin-bottom: 0; color: var(--muted); }
.section-dark { color: #f5efe5; background: var(--dark); border-top-color: transparent; }
.section-dark h2 { max-width: 620px; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 54px; }
.activity-aside { max-width: 450px; justify-self: end; }
.activity-aside p { margin: 0; color: #bcb4a7; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.card { position: relative; min-width: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; min-height: 300px; padding: 30px 30px 58px; background: #1c1b18; }
.card-image { width: 190px; height: 190px; object-fit: cover; border-radius: 3px; }
.card-image[src="assets/restauration-simple.webp"] { object-fit: contain; }
.card-content { min-width: 0; }
.card-no { display: block; margin-bottom: 20px; color: #ff5a2b; font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; }
.card p { margin-bottom: 0; color: #c9c0b4; }
.card::after { content: ""; position: absolute; width: 40px; height: 3px; left: 30px; bottom: 28px; background: var(--orange); transform-origin: left; transform: scaleX(.35); transition: transform .25s ease; }
.card:hover::after { transform: scaleX(1); }

.process-section { background: #eee4d4; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.process-steps div { border-top: 2px solid var(--orange); padding-top: 15px; }
.process-steps strong { text-transform: uppercase; letter-spacing: .04em; }
.process-steps p { margin-bottom: 0; color: var(--muted); }
.circular-note { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 6vw, 80px); border-top: 1px solid var(--line); margin-top: 60px; padding-top: 28px; }
.circular-note p { margin: 0; }
.circular-quote { font-family: Georgia, serif; font-size: clamp(1.5rem, 2.7vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; }

.gramo { background: #f8f3e9; }
.gramo-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(44px, 8vw, 110px); }
.gramo-illustration { width: min(100%, 460px); justify-self: center; }
.note { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--orange); color: var(--muted); }

.closing-visual { padding: 62px 0; background: var(--paper); text-align: center; }
.closing-visual img { width: min(100%, 540px); margin: 0 auto; border-radius: 3px; }
.closing-visual-link { display: inline-block; margin-top: 16px; font-weight: 800; text-underline-offset: 4px; }

.contact { background: var(--orange); border-top: 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: end; }
.contact .section-kicker::before { background: var(--ink); }
.contact h2 { margin-bottom: 16px; }
.contact p { max-width: 560px; }
.contact-links { display: grid; gap: 26px; }
.contact-main { font-size: clamp(1rem, 2.3vw, 2rem); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap; }
.socials { display: flex; gap: 24px; flex-wrap: wrap; }
.socials a { font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--ink); }

.site-footer { padding: 32px 0 38px; background: var(--ink); color: #eee7dc; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px; align-items: end; }
.footer-grid p { margin: 0; color: #a9a196; font-size: .84rem; }
.footer-grid span { color: #b9b0a4; font-size: .84rem; }

@media (max-width: 900px) {
  .nav-wrap { flex-wrap: wrap; padding-block: 14px; }
  .nav { width: 100%; gap: 10px 20px; flex-wrap: wrap; }
  .hero-grid, .intro-grid, .gramo-grid, .contact-grid, .section-head { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-logo-wrap { order: 1; max-width: 470px; margin: 0 auto; }
  .activity-aside { justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .genesis-steps { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circular-note { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 64px; }
  .brand-name { font-size: .8rem; }
  .nav { font-size: .78rem; gap: 7px 16px; }
  .nav a { padding-block: 4px; }
  h1 { font-size: clamp(2.8rem, 17vw, 4.4rem); }
  .hero { padding-top: 32px; }
  .process { align-items: flex-start; gap: 7px; }
  .process i { display: none; }
  .process span { width: calc(50% - 4px); border-top: 1px solid var(--line); padding-top: 7px; }
  .card { grid-template-columns: 1fr; padding: 28px 28px 58px; }
  .card::after { left: 28px; }
  .process-steps { grid-template-columns: 1fr; }
  .gramo-illustration { width: min(78vw, 380px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card::after { transition: none; }
}
