/* Ghidotti | Berger — public site styles */
:root {
  --blue: #316297;
  --blue-dark: #264d78;
  --green: #7ac24f;
  --green-band: #7fc258;
  --green-soft: rgba(122, 194, 79, 0.5);
  --text: #323232;
  --muted: #666;
  --light: #f2f2f2;
  --gray: #d8d8d8;
  --white: #fff;
  --black: #000;
  --container: 1180px;
  --font-body: 'Lato', Helvetica, Arial, sans-serif;
  --font-head: 'Outfit', 'Montserrat', Helvetica, Arial, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 400 16px/1.8 var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--black); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; }
.lead { font-size: 1.05rem; }
.rich > :last-child { margin-bottom: 0; }
.rich img { margin: 1em 0; }
.rich blockquote { border-left: 4px solid var(--green); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; font-style: italic; }

.divider { display: block; width: 70px; height: 5px; background: var(--green-soft); margin: 4px 0 24px; }
.center .divider, .cards-intro.center .divider { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------ buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; border: 0; padding: 14px 28px; font: 700 14px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover, .btn-light:focus-visible { background: var(--black); color: #fff; }
.btn-arrow { display: inline-flex; align-items: center; gap: 14px; color: var(--black); font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.btn-arrow::after { content: ''; width: 36px; height: 2px; background: currentColor; transition: width .25s; }
.btn-arrow:hover::after, .btn-arrow:focus-visible::after { width: 54px; }
.btn-arrow:hover { color: var(--blue); }

/* ------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(0, 0, 0, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo img { max-height: 44px; width: auto; }
.site-nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font: 400 13px/1 var(--font-body); letter-spacing: 2px; text-transform: uppercase; padding: 10px 0; border-bottom: 2px solid transparent; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--blue); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------ sections */
.sec { padding: 90px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--light); }
.bg-gray { background: var(--gray); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-green { background: var(--green-band); color: #fff; }
.bg-blue h2, .bg-blue h3, .bg-blue h4, .bg-green h2, .bg-green h3, .bg-green h4 { color: #fff; }
.bg-blue .btn-arrow, .bg-green .btn-arrow { color: #fff; }
.bg-blue .card, .bg-green .card { color: var(--text); }

/* slider */
.sec-slider { position: relative; overflow: hidden; background: #333; }
.sec-slider .slides { position: relative; height: clamp(360px, 62vh, 640px); }
.sec-slider .slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center; text-align: center; }
.sec-slider .slide::before { content: ''; position: absolute; inset: 0; background: rgba(40, 40, 40, .28); }
.sec-slider .slide.is-active { opacity: 1; z-index: 1; }
.slide-inner { position: relative; color: #fff; padding: 0 24px; max-width: 900px; }
.slide-title { color: #fff; font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 600; margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.slide-title a { color: inherit; text-decoration: none; }
.slide-sub { font: 600 clamp(1.3rem, 3vw, 2rem)/1.2 var(--font-head); margin: .3em 0 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.slider-dots { position: absolute; z-index: 2; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.slider-dots button.is-active { background: #fff; }

/* page header: blue panel + photo */
.sec-page-header { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 440px; background: var(--white) right center/cover no-repeat; }
.ph-panel { background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: flex-end; }
.ph-panel-inner { width: 100%; max-width: calc(var(--container) * 5 / 12); padding: 70px 56px 70px 24px; }
.ph-panel h1 { color: #fff; margin-bottom: .35em; }
.ph-body { font-size: 1rem; color: rgba(255, 255, 255, .92); margin-bottom: 26px; }
.ph-image { min-height: 300px; }
.sec-page-header.no-image { grid-template-columns: 1fr; min-height: 0; }
.sec-page-header.no-image .ph-panel { justify-content: center; }
.sec-page-header.no-image .ph-panel-inner { max-width: var(--container); padding: 90px 24px 70px; }

/* image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.img-right .split-media { order: 2; }
.split-media img { width: 100%; }
.split-media.has-backdrop { background: center/cover no-repeat fixed; }
@supports (-webkit-touch-callout: none) { .split-media.has-backdrop { background-attachment: scroll; } }

/* cards */
.cards-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; align-items: start; }
.cards-intro { margin-bottom: 40px; }
.cards-intro.center { max-width: 720px; margin-left: auto; margin-right: auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; padding: 40px; font-size: 14px; line-height: 1.8; box-shadow: 0 30px 60px rgba(53, 66, 85, .08); border-top: 4px solid var(--green); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(53, 66, 85, .14); }
.card h4 { font-size: 1.2rem; margin-bottom: .7em; }
.card p { margin: 0; }
.bg-white .card { background: var(--light); box-shadow: none; }

/* features */
.features-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 60px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.feature { display: flex; gap: 18px; font-size: 14px; }
.feature-icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.feature h4 { margin-bottom: .3em; }
.feature p { margin: 0; }
.features-media img { width: 100%; }

/* callouts */
.callout-box-wrap { padding: 70px 0; background: var(--white); }
.callout-box { background: var(--green); color: #fff; text-align: center; padding: 60px 48px; max-width: 980px; margin: 0 auto; box-shadow: 24px 24px 0 var(--blue); }
.callout-box h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.callout-box .rich { max-width: 720px; margin: 0 auto 24px; font-size: 1.05rem; }
.callout-box .btn { margin-top: 10px; }
.callout-band { background: var(--green-band); padding: 60px 0; }
.callout-band-inner { background: var(--light); padding: 50px 70px; box-shadow: 0 30px 60px rgba(53, 66, 85, .1); border-bottom: 4px solid var(--green); }
.callout-band-inner h3 { max-width: 860px; margin: 0 0 20px; font-weight: 700; }

/* bios */
.bio-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 50px; align-items: start; }
.bio-photo { width: 100%; box-shadow: 18px 18px 0 var(--light); }
.bg-light .bio-photo { box-shadow: 18px 18px 0 #fff; }

/* full-width image */
.sec-image img { width: 100%; }
.sec-image.contained { max-width: var(--container); margin: 0 auto; padding: 40px 24px; }

/* contact panel */
.sec-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--blue); }
.contact-panel { display: flex; justify-content: flex-end; }
.contact-panel-inner { width: 100%; max-width: calc(var(--container) * 7 / 12); padding: 80px 60px 80px 24px; }
.contact-panel h2 { color: #fff; }
.contact-image { background: center/cover no-repeat; min-height: 320px; }

/* forms */
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; padding: 16px; font: 15px/1.5 var(--font-body); color: var(--text); background: #fff; border-radius: 0; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--green); outline-offset: 0; }
.contact-form.dark label span { color: rgba(255, 255, 255, .9); }
.contact-form .btn { background: var(--green); color: #fff; }
.contact-form .btn:hover { background: #5fa832; }
.contact-form.light input, .contact-form.light textarea { background: #fff; border: 1px solid #ddd; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-weight: 700; min-height: 1.5em; }
.contact-form.dark .form-status { color: #fff; }
.form-status.error { color: #b80605; }
.contact-form.dark .form-status.error { color: #ffd4d4; }
.contact-form.is-sent .form-row, .contact-form.is-sent > label, .contact-form.is-sent button { display: none; }

/* contact info */
.contact-info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 70px; }
.contact-info h3.accent { color: var(--green); margin-top: 1.2em; }
.contact-info h3.accent:first-child { margin-top: 0; }
.addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; font-size: 14px; line-height: 1.6; }
.social { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 700; }

/* blog */
.blog-list { padding-top: 60px; }
.post-carousel { margin-bottom: 60px; }
.post-carousel .slides { height: clamp(340px, 50vh, 460px); }
.post-carousel .slide-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .5em; }
.slide-excerpt { color: rgba(255, 255, 255, .85); max-width: 680px; margin: 0 auto 24px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { background: #fff; border: 1px solid #e6e6e6; display: flex; flex-direction: column; transition: box-shadow .25s; }
.post-card:hover { box-shadow: 0 20px 40px rgba(53, 66, 85, .12); }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 24px; font-size: 14px; }
.post-card h4 a { color: var(--black); text-decoration: none; }
.post-card h4 a:hover { color: var(--blue); }
.meta { color: var(--muted); font-size: 13px; margin-bottom: .6em; }
.post-hero { background: var(--blue) center/cover no-repeat; position: relative; padding: 140px 0 70px; color: #fff; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(20, 40, 70, .8)); }
.post-hero.no-image::before { display: none; }
.post-hero .container { position: relative; }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.post-hero .meta, .post-hero .meta a { color: rgba(255, 255, 255, .85); }
.post-body { font-size: 1.05rem; }
.pdf-embed { margin: 2em 0; }
.pdf-embed iframe { width: 100%; height: 80vh; min-height: 520px; border: 1px solid #ddd; background: var(--light); }
.pdf-embed figcaption { font-size: 14px; margin-top: 8px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #e6e6e6; font-weight: 700; }
.post-nav a { text-decoration: none; }

/* footer */
.site-footer { background: var(--gray); color: var(--text); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-top: 70px; padding-bottom: 60px; }
.site-footer h4 { color: var(--blue); font-size: 1.5rem; margin-bottom: .2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { background: #0a0a0a; color: #9a9a9a; font-size: 12px; padding: 16px 0; }

/* ------------------------------------------------ responsive */
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .logo img { max-height: 38px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .08); display: none; border-top: 3px solid var(--blue); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; }
  .sec { padding: 60px 0; }
  .split, .cards-split, .features-split, .contact-info { grid-template-columns: 1fr; gap: 36px; }
  .split.img-right .split-media { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .sec-page-header, .sec-contact { grid-template-columns: 1fr; }
  .ph-panel-inner, .contact-panel-inner { max-width: none; padding: 56px 24px; }
  .sec-page-header { background-size: auto 240px; background-position: right bottom; padding-bottom: 240px; }
  .sec-page-header.no-image { padding-bottom: 0; }
  .ph-image { display: none; }
  .contact-image { display: none; }
  .bio-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid.two, .feature-grid, .post-grid, .form-row.two, .addresses { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 280px; }
  .callout-box { padding: 44px 24px; box-shadow: 12px 12px 0 var(--blue); }
  .callout-band-inner { padding: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.not-found { padding: 80px 0; }
