/* denisgorican.com — site styles */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #283566;
  --navy-deep: #1e3a5f;
  --ink: #000;
  --muted: #555;
  --line: #000;
  --card-line: #e5e7eb;
  --bg-soft: #f8f9fa;
  --bg-footer: #f3f4f6;
  --accent: #986424;
  --wrap: 1280px;
  --gutter: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 14px; padding-left: 40px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
  text-align: center;
  transition: opacity .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; opacity: .88; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--soft { background: rgba(40, 53, 102, .8); color: #fff; }
.btn--white { background: #fff; color: var(--navy-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-text { padding: 0; background: #fff; color: var(--navy); }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; padding: 12px 0; color: var(--navy); }
.link-more svg { width: 12px; height: 12px; fill: #000; order: 2; margin-left: 12px; }

/* ---------- Header ---------- */
.site-header { padding: 24px 32px; position: sticky; top: 0; z-index: 50; }
.site-header__bar {
  max-width: 1320px; margin: 0 auto; min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 24px;
  background: #fff; border: 1px solid rgba(119, 119, 119, .3); border-radius: 6px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav a { display: block; padding: 13px 18px; font-size: 16px; line-height: 24px; color: #000; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--navy); text-decoration: none; }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-footer); padding: 80px var(--gutter); font-size: 14px; line-height: 20px; }
.site-footer > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.site-footer a { color: #000; }
.site-footer nav a { display: block; padding: 0 15px; }
.site-footer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.site-footer__social { justify-self: end; display: inline-flex; }
.site-footer hr { margin-top: 35px; margin-bottom: 35px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }

/* ---------- Generic sections ---------- */
.section { padding: 80px var(--gutter); }
.section > .wrap, .wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.wrap--narrow { max-width: 1160px; }
.t-display { font-size: 56px; line-height: 68px; font-weight: 700; }
.t-h2 { font-size: 48px; line-height: 56px; font-weight: 700; }
.t-h3 { font-size: 40px; line-height: 48px; font-weight: 700; }
.t-lead { font-size: 20px; line-height: 28px; }
.t-small { font-size: 14px; line-height: 20px; }
.t-eyebrow { font-size: 14px; line-height: 20px; font-weight: 700; text-transform: uppercase; }
.t-kicker { font-size: 12px; line-height: 26px; font-weight: 600; color: var(--navy-deep); text-transform: uppercase; letter-spacing: 1px; margin: 0; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 14px; line-height: 20px; }
.tags li { display: inline-flex; align-items: center; }
.tags li::before { content: "#"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.tags--lg { font-size: 18px; line-height: 28px; }

/* ---------- Home: hero ---------- */
.hero { padding: 80px 24px; }
.hero__inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 48px; }
.hero__photo { flex: 0 0 343px; }
.hero__photo img { border-radius: 12px; width: 343px; }
.hero__body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 16px; }
.hero__sub { font-size: 20px; line-height: 30px; font-weight: 600; margin: 0; padding-bottom: 8px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px; }

/* ---------- Home: facts ---------- */
.facts { padding: 10px 80px; }
.facts__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.facts__item p { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.facts__item p:first-child { font-size: 22px; line-height: 26px; font-weight: 800; color: var(--navy-deep); margin-bottom: 4px; }

/* ---------- Home: work ---------- */
.work .wrap { display: flex; flex-direction: column; gap: 20px; }
.work hr { margin: 15px 0; }
.work__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 40px 0; }
.work__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.work__row h3 { font-size: 40px; line-height: 48px; }
.work .wrap > h2 { margin-top: 0; }
.work__row img { border-radius: 4px; width: 100%; }

.intro { padding: 10px 80px; }
.intro .wrap > h2 { margin-bottom: 26px; }

/* ---------- Home: projects ---------- */
.project .wrap > img, .project__image { width: 100%; border-radius: 4px; margin-bottom: 60px; }
.project__grid { display: grid; grid-template-columns: 738fr 522fr; gap: 20px; align-items: start; }
.project__main { display: flex; flex-direction: column; gap: 20px; }
.project__main .t-lead ul { padding-left: 60px; margin: 14px 0; }
.project__main .t-lead li strong { font-weight: 700; }
.project__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project__meta > div { display: flex; flex-direction: column; gap: 20px; min-height: 173px; }
.project__meta--tall > div { min-height: 233px; }
.project__meta--short > div { min-height: 90px; }
.project__meta h5 { font-size: 24px; line-height: 32px; }
.project__meta p, .project__meta ul { font-size: 14px; line-height: 20px; }
.project__meta ul { margin: 0; }

/* ---------- Home: who ---------- */
.who { padding: 60px 24px; }
.who__inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.who__col { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.who__col img { border-radius: 10px; width: 100%; }
.who__facts p { margin: 0 0 14px; }

/* ---------- Home: mentions ---------- */
.mentions { background: var(--bg-soft); padding: 60px 24px; }
.mentions__inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.mentions__list { display: flex; flex-direction: column; gap: 24px; padding: 10px; }
.mention { border: 1px solid var(--card-line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mention h3 { font-size: 48px; line-height: 56px; }

/* ---------- Home: CTA ---------- */
.cta { background: var(--navy-deep); color: #fff; padding: 80px 24px; text-align: center; }
.cta__inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 10px; }
.cta__alt a { color: rgba(255, 255, 255, .75); }

/* ---------- About hero ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; }
.about-hero__text { padding: 80px 30px 80px 80px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.about-hero__text > div { max-width: 610px; margin-left: auto; width: 100%; }
.about-hero__media img { width: 100%; height: 100%; max-height: 960px; object-fit: cover; border-radius: 4px; }

/* ---------- Inner pages (custom HTML blocks) ---------- */
.page-body { padding: 10px 10px; }
.page-body > .dg-bio, .page-body .dg-bio { margin-left: auto; margin-right: auto; }
.dg-bio h1, .dg-bio h2, .dg-bio h3 { font-family: inherit; }
.dg-bio ul { list-style: disc; }
.dg-bio hr.dg-divider { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 845px; margin: 0 auto; padding: 80px 0; }
.legal h1 { font-size: 56px; line-height: 68px; font-weight: 700; margin-bottom: 160px; }
.legal p { margin: 0 0 18px; }
.legal ul { margin: 0 0 18px; padding-left: 54px; }
.legal b, .legal strong { font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { max-width: 760px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.notfound h1 { font-size: 56px; line-height: 68px; margin-bottom: 20px; }
.notfound p { margin-bottom: 28px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .t-display { font-size: 44px; line-height: 54px; }
  .t-h2, .mention h3 { font-size: 36px; line-height: 44px; }
  .t-h3 { font-size: 32px; line-height: 40px; }
  .work__row h3 { font-size: 32px; line-height: 40px; }
  .facts { padding: 10px 32px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .intro { padding: 10px 32px; }
  .hero__inner { gap: 32px; }
  .hero__photo { flex-basis: 280px; }
  .hero__photo img { width: 280px; }
  .project__grid { grid-template-columns: 1fr; gap: 40px; }
  .project__meta > div { min-height: 0 !important; }
  .about-hero__text { padding: 48px 24px 48px 32px; }
  .legal { padding: 60px 32px; }
  .legal h1 { margin-bottom: 60px; }
  .site-nav a { padding: 13px 10px; font-size: 15px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --gutter: 24px; }
  .site-header { padding: 0; position: static; }
  .site-header__bar { border: 0; border-radius: 0; min-height: 56px; padding: 8px 16px; justify-content: flex-end; flex-wrap: wrap; position: relative; }
  .site-header__cta { display: none; }
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 9px; cursor: pointer; }
  .nav-burger span { display: block; height: 3px; background: #000; border-radius: 2px; }
  .nav-toggle { display: block; position: absolute; top: 8px; right: 16px; opacity: 0; width: 40px; height: 40px; margin: 0; cursor: pointer; }
  .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--navy); outline-offset: 2px; }
  .site-nav { display: none; flex-basis: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: center; padding: 8px 0 12px; }
  .site-nav a { font-size: 16px; padding: 10px 16px; }

  .section { padding: 48px var(--gutter); }
  .t-display { font-size: 40px; line-height: 48px; }
  .t-h2 { font-size: 28px; line-height: 44px; }
  .t-h3 { font-size: 32px; line-height: 40px; }
  p { margin-bottom: 16px; }
  .tags, .tags--lg { font-size: 16px; line-height: 24px; }
  .mention h3 { font-size: 28px; line-height: 44px; }
  .work__row h3 { font-size: 32px; line-height: 40px; }
  .t-lead { font-size: 18px; line-height: 26px; }

  .hero { padding: 64px 24px 40px; text-align: center; }
  .hero__inner { flex-direction: column; gap: 40px; }
  .hero__photo { flex: none; width: 100%; }
  .hero__photo img { width: 100%; }
  .hero__body { padding: 0; }
  .hero__actions { flex-direction: column; align-items: center; }

  .facts { padding: 32px 16px; }
  .facts__grid { grid-template-columns: 1fr; row-gap: 40px; }

  .work, .intro, .mentions, .who { text-align: center; }
  .work__row { grid-template-columns: 1fr; padding: 24px 0; }
  .work__text { align-items: center; }
  .intro { padding: 10px 24px; }
  .tags { justify-content: center; }

  .project { text-align: left; }
  .project .wrap > img { margin-bottom: 32px; }
  .project__main .t-lead ul { padding-left: 28px; }
  .project__meta { grid-template-columns: 1fr; }

  .who { padding: 40px 16px; }
  .who__inner { grid-template-columns: 1fr; gap: 24px; }
  .who__facts, .who__col { text-align: left; }
  .mentions { padding: 48px 14px; }
  .mention { align-items: center; padding: 28px 20px; }
  .cta { padding: 80px 24px; }
  .cta__actions { flex-direction: column; align-items: center; }

  .about-hero { grid-template-columns: 1fr; }
  .about-hero__text { padding: 40px 24px; gap: 24px; }
  .about-hero__media { order: -1; }
  .about-hero__media img { max-height: 520px; }

  .legal { padding: 40px 24px; }
  .legal h1 { font-size: 40px; line-height: 48px; margin-bottom: 40px; }
  .legal ul { padding-left: 28px; }

  .site-footer { padding: 60px 16px; }
  .site-footer__top { grid-template-columns: 1fr; justify-items: center; }
  .site-footer__spacer { display: none; }
  .site-footer__social { justify-self: center; }
  .site-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .site-footer ul { row-gap: 8px; }
}
