@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-latin-v20.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --navy: #0f2742;
  --navy-2: #173a5e;
  --ice: #8fd3f4;
  --ice-soft: #e4f4fc;
  --cream: #fbf6ea;
  --wood: #9a531c;
  --pine: #2f5a34;
  --ink: #15212e;
  --muted: #4a5868;
  --line: #e2dccd;
  --radius: 6px;
  --wrap: 1180px;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: .005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--radius); font-family: var(--head); font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--ice); color: var(--navy); }
.btn-primary:hover { background: #b5e3f8; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { width: 170px; height: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.nav a { font-family: var(--head); font-size: 1.1rem; color: var(--navy); text-decoration: none; letter-spacing: .02em; }
.nav a:hover { color: var(--wood); }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .header-inner { min-height: 66px; }
  .brand img { width: 140px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); font-family: var(--head); font-size: 1.05rem; cursor: pointer; }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,39,66,.12); }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { display: flex; justify-content: center; padding: .8rem 1rem; margin-top: 1rem; border: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: .5rem; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; }
  html:not(.js) .nav li a { border: 0; padding: .3rem 0; }
}

/* Hero: photo fills the right side at full height and fades into navy behind the copy */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -1; }
.hero-media .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, rgba(15,39,66,.88) 14%, rgba(15,39,66,.35) 34%, rgba(15,39,66,0) 52%); }
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; background: linear-gradient(to top, rgba(8,22,38,.55), rgba(8,22,38,0)); }
.hero-media .hero-sticker { position: absolute; z-index: 2; right: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2.5rem); width: clamp(160px, 15vw, 230px); height: auto; transform: rotate(6deg); filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.hero-inner { display: flex; align-items: center; min-height: clamp(560px, 74vh, 720px); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero-copy { max-width: min(36rem, 46%); }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1.05; margin-bottom: .45em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--ice); }
.hero-copy p { font-size: 1.22rem; line-height: 1.55; color: #dbe7f2; max-width: 30rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 860px) {
  .hero-media { position: relative; width: 100%; aspect-ratio: 5 / 4; z-index: 0; }
  .hero-media::before { background: linear-gradient(to top, var(--navy) 0%, rgba(15,39,66,0) 28%); }
  .hero-media::after { display: none; }
  .hero-media .hero-sticker { width: clamp(110px, 29vw, 180px); right: 1rem; bottom: 1.2rem; }
  .hero-inner { min-height: 0; padding: .4rem 0 2rem; }
  .hero-copy { max-width: none; }
  .hero-copy p { font-size: 1.1rem; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 44rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.alt { background: var(--cream); }

/* Services: mixed photo and text cards */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(330px, auto); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.service { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.service.wide { grid-column: span 2; }
.service h3 { margin-bottom: .35rem; }
.service p { margin: 0; }
.service-photo { color: #fff; background: var(--navy); }
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,26,44,.94) 0%, rgba(10,26,44,.72) 34%, rgba(10,26,44,0) 66%); }
.service-photo .service-body { position: relative; z-index: 1; padding: 1.5rem; max-width: 34rem; }
.service-photo p { color: #e7eef5; }
.service-text { background: var(--ice-soft); border: 1px solid #c9e7f6; padding: 1.75rem; justify-content: space-between; }
.service-text h3 { color: var(--navy); }
.service-text p { color: var(--ink); }
.service-text .service-link { margin-top: 1.4rem; font-family: var(--head); font-size: 1.1rem; color: var(--navy); }
.service-text.dark { background: var(--navy); border-color: var(--navy); }
.service-text.dark h3, .service-text.dark p, .service-text.dark .service-link { color: #fff; }
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .service.wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .service.wide { grid-column: auto; }
  .service-photo { min-height: 320px; }
  .service-text { min-height: 0; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a { position: relative; display: block; height: 100%; min-height: 100%; border-radius: var(--radius); overflow: hidden; background: #ddd; aspect-ratio: 1; }
.gallery li:first-child a { aspect-ratio: auto; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery li:first-child { grid-row: auto; }
  .gallery li:first-child a { aspect-ratio: 16 / 10; }
}

.lightbox { width: min(96vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: #0b1622; color: #fff; }
.lightbox::backdrop { background: rgba(5,12,20,.88); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; }
.lightbox img { width: 100%; max-height: calc(94vh - 7.5rem); object-fit: contain; background: #000; }
.lightbox figcaption { padding: .8rem 1rem 0; color: #dbe7f2; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .8rem 1rem 1rem; }
.lightbox-bar .count { font-family: var(--head); color: #dbe7f2; }
.lightbox button { min-height: 44px; padding: .5rem 1rem; background: #fff; color: var(--navy); border: 0; border-radius: var(--radius); font-family: var(--head); font-size: 1.05rem; cursor: pointer; }
.lightbox button.close { background: var(--ice); }
.lightbox-nav { display: flex; gap: .5rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid ul { padding-left: 1.2rem; margin: 0 0 1em; }
.about-badge { justify-self: center; width: min(100%, 420px); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-badge { width: min(80%, 320px); order: -1; } }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-head p { color: #dbe7f2; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 2rem; }
.contact-item { background: var(--navy-2); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.contact-item h3 { font-size: 1.1rem; color: var(--ice); margin-bottom: .3rem; letter-spacing: .03em; }
.contact-item p, .contact-item a { margin: 0; color: #fff; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0a1c31; color: #c9d6e3; padding: 2.5rem 0 2rem; font-size: .98rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-inner img { width: 150px; height: auto; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 620px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .call-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-family: var(--head); font-size: 1.15rem; text-decoration: none; }
  .call-bar a:first-child { background: var(--ice); color: var(--navy); }
  .call-bar a:last-child { background: var(--navy); color: #fff; }
  body { padding-bottom: 54px; }
}

/* 404 */
.notfound { padding: 6rem 0; min-height: 50vh; }
