/* ciolek.io landing page, 2026-09-25. Dossier aesthetic shared with ciolek.legal:
   Cormorant Garamond display, Inter Tight text, paper/ink/gold palette. */
:root {
  --paper: #F4EEE2;
  --vellum: #FAF6EC;
  --ink: #14110D;
  --ink-soft: #3B342B;
  --muted: #6B6255;
  --line: #D9CFBD;
  --gold: #8A6A3E;
  --display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --text: "Inter Tight", "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: 1120px;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; margin-bottom: .35em; }
p { margin: 0 0 1em; }
.shell { width: min(var(--shell), calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; z-index: 10; }

/* masthead */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.masthead-inner { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; }
.brand-ltd { font-style: italic; color: var(--gold); font-weight: 500; }
.brand-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.nav { margin-left: auto; display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--gold); }
.masthead-call { text-decoration: none; font-weight: 600; white-space: nowrap; border: 1px solid var(--ink); padding: .5rem .9rem; border-radius: 2px; }
.masthead-call:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem); }
.hero::before {
  content: attr(data-watermark); position: absolute; right: -2vw; top: -1rem;
  font-family: var(--display); font-style: italic; font-size: clamp(9rem, 26vw, 22rem);
  color: var(--ink); opacity: .045; line-height: 1; pointer-events: none; user-select: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 1rem; font-weight: 500; }
.kicker .num { display: inline-block; margin-right: .6rem; color: var(--muted); }
.kicker.light { color: #D8C39A; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; }
.hero-note { font-size: .92rem; color: var(--muted); margin-top: 1.2rem; }
.hero-visual { margin: 0; }
.hero-visual img { border-radius: 3px; box-shadow: 0 20px 50px rgba(20,17,13,.18); object-fit: cover; aspect-ratio: 4/3; }
.hero-visual figcaption { font-size: .78rem; color: var(--muted); margin-top: .5rem; letter-spacing: .04em; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: .8rem 1.25rem; border-radius: 2px; border: 1px solid var(--ink); font-size: .98rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--gold); border-color: var(--gold); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--vellum); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: #fff; }

/* meta strip */
.meta-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--vellum); }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.1rem 0; }
.meta-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.meta-grid strong { font-weight: 600; font-size: .98rem; }
.meta-grid a { text-decoration: none; }

/* sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--vellum); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--vellum); border: 1px solid var(--line); padding: 1.5rem 1.4rem 1.3rem; border-radius: 3px; display: flex; flex-direction: column; }
.card p { color: var(--ink-soft); flex: 1; }
.card a { color: var(--gold); text-decoration: none; font-weight: 600; font-size: .95rem; }
.card a::after { content: " \2192"; }
.card a:hover { text-decoration: underline; }
.principles { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.principles li { counter-increment: p; border-top: 2px solid var(--ink); padding-top: 1rem; }
.principles li::before { content: counter(p, decimal-leading-zero); font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: .3rem; }
.principles p { color: var(--ink-soft); font-size: .98rem; }

/* office / contact */
.office-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.office-visual { margin: 0; }
.office-visual img { border-radius: 3px; }
.contact-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; margin: 1.2rem 0 0; }
.contact-card div { border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.contact-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-card dd { margin: .15rem 0 0; font-weight: 600; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--gold); }

/* band */
.band { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.band h2 { color: var(--paper); }
.band p { color: #D9D2C5; max-width: 34rem; margin-bottom: 0; }

/* footer */
.footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer h2 { font-family: var(--text); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .35rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer address { font-style: normal; }
.footer-bottom { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .8rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .office-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .cards, .principles, .meta-grid, .footer-grid, .contact-card { grid-template-columns: 1fr; }
  .masthead-inner { flex-wrap: wrap; }
  .masthead-call { margin-left: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
