/* Dymczak Legal — style.css
   Fonts are self-hosted (Inter, Caladea) — no external requests. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Caladea"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/caladea-Regular.woff") format("woff"); }
@font-face { font-family: "Caladea"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/caladea-Bold.woff") format("woff"); }
@font-face { font-family: "Caladea"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/caladea-Italic.woff") format("woff"); }

:root {
  --navy: #0e1a2b;
  --navy-2: #15263c;
  --navy-3: #0a1422;
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --ink: #1b2430;
  --muted: #566170;
  --brass: #b38b4d;
  --brass-dark: #8f6c36;
  --line: rgba(27, 36, 48, .16);
  --line-light: rgba(255, 255, 255, .16);
  --serif: "Caladea", Cambria, Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 16px; z-index: 100; border-radius: 3px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0 0 18px; }
.eyebrow--dark { color: var(--brass-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 26, 43, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line-light); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: .01em; }
.brand__name span { color: var(--brass); }
.brand__sub { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #aab5c4; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: #dfe5ee; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__list a:hover { color: #fff; border-bottom-color: var(--brass); }
.lang { display: flex; border: 1px solid var(--line-light); border-radius: 3px; overflow: hidden; }
.lang a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 6px 10px; color: #c3cbd8; }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang a[aria-current="true"] { background: var(--brass); color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-light); color: #fff; border-radius: 3px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em; padding: 14px 26px; border-radius: 3px; border: 1px solid var(--brass); transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--brass); color: var(--navy); }
.btn--primary:hover { background: #c79d5c; border-color: #c79d5c; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 520px at 85% -10%, #1d3350 0%, rgba(29, 51, 80, 0) 60%), var(--navy); color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 4.9vw, 3.9rem); line-height: 1.07; margin-bottom: 26px; color: #fff; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #ccd5e1; max-width: 36em; }
.hero__cred { margin: 30px 0 34px; padding: 4px 0 4px 20px; border-left: 2px solid var(--brass); color: #e6ebf2; font-size: 15.5px; max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.portrait { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.portrait__img { position: relative; }
.portrait__img::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--brass); transform: translate(16px, 16px); z-index: 0; }
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: var(--navy-2); }
.portrait figcaption { position: relative; z-index: 1; margin-top: 30px; font-size: 14px; color: #aab5c4; }
.portrait figcaption strong { display: block; font-family: var(--serif); font-size: 21px; color: #fff; font-weight: 700; margin-bottom: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 112px) 0; }
.section--alt { background: var(--paper-2); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(28px, 4vw, 56px); }
.service { border-top: 1px solid var(--ink); padding-top: 22px; }
.service__n { font-family: var(--serif); font-style: italic; color: var(--brass-dark); font-size: 17px; display: block; margin-bottom: 10px; }
.service h3 { font-size: 1.45rem; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 15.8px; margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillar { padding-left: 22px; border-left: 2px solid var(--brass); }
.pillar h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pillar p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Photo band ---------- */
.band { position: relative; min-height: clamp(380px, 52vw, 560px); display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 34, .78) 0%, rgba(10, 20, 34, .5) 45%, rgba(10, 20, 34, 0) 100%); }
.band .wrap { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.band blockquote { margin: 0; max-width: 17em; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.22; }
.band blockquote::before { content: ""; display: block; width: 56px; height: 2px; background: var(--brass); margin-bottom: 26px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.industry h3 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 14px; font-weight: 600; }
.industry p { font-size: 1.12rem; line-height: 1.5; color: var(--ink); margin: 0; font-family: var(--serif); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__photo { position: sticky; top: 100px; margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.about p { color: var(--ink); }
.highlights { margin: 28px 0; border-top: 1px solid var(--line); }
.highlights li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--brass-dark); }
.quals { background: var(--navy); color: #e6ebf2; padding: 28px clamp(22px, 3vw, 36px); border-radius: 3px; margin-top: 34px; }
.quals h3 { font-size: 1.35rem; color: #fff; margin-bottom: 12px; }
.quals p { color: #cfd7e3; font-size: 15.5px; margin-bottom: .8em; }
.quals p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: #fff; }
.contact__text { color: #ccd5e1; font-size: 1.08rem; }
.contact__note { color: #97a3b3; font-size: 14.5px; margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--brass); }
.card { border: 1px solid var(--line-light); padding: clamp(24px, 3vw, 36px); background: rgba(255, 255, 255, .03); border-radius: 3px; }
.card dl { margin: 0 0 26px; }
.card dt { font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-top: 18px; }
.card dt:first-child { margin-top: 0; }
.card dd { margin: 4px 0 0; font-size: 1.05rem; color: #fff; }
.card a.mail { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); text-decoration: none; border-bottom: 1px solid var(--brass); word-break: break-all; }
.card a.mail:hover { color: var(--brass); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #9aa6b6; font-size: 13.5px; padding: 40px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 60px; }
.footer-brand { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.site-footer p { margin: 0 0 .7em; max-width: 46em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; justify-content: flex-end; }
.footer-links a { color: #cbd3de; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.footer-links a:hover { color: #fff; border-bottom-color: var(--brass); }

/* ---------- Legal pages ---------- */
.page-head { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; color: #fff; }
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; margin: 0 0 1em; }
.legal dt { font-weight: 600; color: var(--muted); font-size: 15px; }
.legal dd { margin: 0; }
.legal a { color: var(--brass-dark); }
mark.todo { background: #ffe9a8; color: #5b4300; padding: 0 5px; border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .about, .contact__grid, .section__head, .footer-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 360px; }
  .about__photo { position: static; max-width: 380px; }
  .services, .pillars, .industries { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-content: flex-start; }
  .section__head { align-items: start; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; border-top: 1px solid var(--line-light); display: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .3); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
  .lang { align-self: flex-start; margin-top: 18px; }
  .lang a { padding: 9px 14px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .services, .pillars, .industries { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dt { margin-top: 12px; }
  .portrait__img::before { transform: translate(10px, 10px); }
  .brand__sub { font-size: 9.5px; letter-spacing: .09em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .band, .menu-btn { display: none; } body { background: #fff; } }
