:root{color-scheme:dark;--ink:#09151e;--light:#f4f1e9;--muted:#b9c5cc;--gold:#e7bb79;--line:#31424c}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--ink);color:var(--light);font:16px/1.65 system-ui,sans-serif}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.wrap{width:min(1240px,calc(100% - 112px));margin-inline:auto}
.top{background:#0b1823;border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:86px}
.brand{display:block;flex-shrink:0}
.brand img{display:block;width:218px;height:auto;filter:brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(389%) hue-rotate(338deg) brightness(105%) contrast(91%)}
nav{display:flex;align-items:center;gap:34px;font-size:.88rem;font-weight:650}
nav a:hover,footer a:hover{color:var(--gold)}
.nav-cta{border:1px solid #6b6254;padding:9px 16px}
.eyebrow{display:flex;align-items:center;gap:12px;color:var(--gold);letter-spacing:.17em;font-size:.73rem;font-weight:750;margin:0 0 18px}
.eyebrow span{width:22px;height:1px;background:currentColor}
h1,h2{font-family:Georgia,serif;font-weight:400;line-height:.98;letter-spacing:-.052em;margin:0}
h1{font-size:clamp(4.2rem,8.4vw,8.3rem)}
h1 em{color:var(--gold);font-weight:400}
h2{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.04}
.intro{max-width:485px;color:#e0e6e8;font-size:1.05rem;margin:28px 0}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;gap:20px;padding:13px 18px;color:#101820;background:var(--gold);font-size:.87rem;font-weight:750;border:1px solid var(--gold)}
.button:hover{background:#f8d39e}
.secondary{background:#101e2be0;color:var(--light);border-color:#65717a}
.secondary:hover{background:#2a4352}
.services{padding:70px 0 94px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);margin-top:38px;border:1px solid var(--line)}
article{padding:26px 23px;background:#0e1d28}
article+article{border-left:1px solid var(--line)}
article svg{width:29px;height:29px;fill:none;stroke:var(--gold);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
h3{font-size:1.08rem;margin:16px 0 7px}
article p,.split p{color:var(--muted);margin:0}
article p{font-size:.91rem}
.about,.contact{padding:74px 0;border-top:1px solid var(--line)}
.about{background:#102331}
.split{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:54px}
.split .eyebrow{color:var(--gold);margin-bottom:20px}
.contact h2+p{margin-top:16px}
.address{border-left:1px solid var(--gold);padding:4px 0 4px 25px}
.address h3{margin:0 0 10px}
address{font-style:normal;color:var(--muted)}
footer{border-top:1px solid var(--line);color:var(--muted);font-size:.83rem}
footer .wrap{display:flex;justify-content:space-between;padding-block:22px}
@media(max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}article:nth-child(3){border-left:0}article:nth-child(n+3){border-top:1px solid var(--line)}.wrap{width:calc(100% - 64px)}}
@media(max-width:600px){.wrap{width:calc(100% - 34px)}.cards{grid-template-columns:1fr}article+article{border-left:0;border-top:1px solid var(--line)}.split{grid-template-columns:1fr;gap:26px}.services,.about,.contact{padding-block:52px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.brands{padding:74px 0;border-top:1px solid var(--line)}
.brands p{max-width:620px;margin:18px 0 29px;color:var(--muted)}
.brand-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border:1px solid var(--line);background:var(--line);list-style:none;padding:0;margin:0}
.brand-grid li{display:grid;place-items:center;min-height:72px;padding:12px;background:#0e1d28;color:var(--light);font-size:.91rem;font-weight:650;text-align:center}
@media(max-width:900px){.brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.brands{padding-block:52px}.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.work-gallery{padding:74px 0;border-top:1px solid var(--line);background:#0b1924}
.work-gallery p{margin:16px 0 30px;color:var(--muted)}
.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.work-grid figure{margin:0;border:1px solid var(--line);background:#0e1d28}
.work-grid a{display:block;background:#09151e}
.work-grid a:hover{outline:1px solid var(--gold)}
.work-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain}
.work-grid figcaption{padding:12px 14px;font-size:.9rem}
@media(max-width:900px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bar nav{flex-wrap:wrap;justify-content:flex-end;column-gap:16px;row-gap:6px}}
@media(max-width:600px){.work-gallery{padding-block:52px}.work-grid{gap:10px}.work-grid figcaption{padding:8px;font-size:.8rem}}

.menu-toggle { display:none; }
.hero {
  display:grid;
  align-items:center;
  min-height:clamp(580px,44vw,760px);
  background:
    linear-gradient(0deg,#09151e 1%,transparent 31%),
    linear-gradient(90deg,#08141ef5 0%,#08141ebd 36%,#08141e16 78%),
    #172d3d url('marin.webp') center 53%/cover no-repeat;
}
.hero-content { padding-block:70px 90px; }
.hero .eyebrow { text-transform:uppercase; }
.hero h1 { font-size:clamp(4.2rem,8.4vw,8.3rem); }
.hero .button { min-height:50px; }
.work-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-weight:650; font-size:.88rem; }
.work-link:hover { color:var(--gold); }
.services-lead { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:center; gap:clamp(20px,4vw,54px); }
.service-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.service-photos figure { margin:0; background:#fbf8f1; border:1px solid #d4cab9; }
.service-photos a { display:block; }
.service-photos img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.service-photos figcaption { padding:8px 10px; color:#122230; font-size:.8rem; font-weight:650; }
.services { background:#f3efe6; color:#122230; }
.services .eyebrow { color:#765223; }
.services .cards { gap:1px; border:1px solid #d4cab9; background:#d4cab9; }
.services article { background:#fbf8f1; border:0; }
.services article p { color:#46525b; }
.services article svg { stroke:#8b652d; }
.work-featured { grid-template-columns:repeat(3,minmax(0,1fr)); }
.work-featured figure { display:flex; flex-direction:column; }
.work-featured img { aspect-ratio:5/4; }
.work-featured h3 { margin:0 0 5px; }
.work-featured figcaption p { margin:0; font-size:.88rem; }
.more-work { margin-top:26px; }
.more-work summary { cursor:pointer; color:var(--gold); width:fit-content; padding:10px 0; font-weight:650; }
.more-work summary:focus-visible,.menu-toggle:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.more-work .work-grid { margin-top:12px; }
.contact-call { margin-top:20px; }
@media (max-width:760px) {
  .bar { flex-direction:row; flex-wrap:wrap; justify-content:space-between; gap:4px 14px; padding-block:8px; min-height:68px; }
  .brand img { width:clamp(170px,46vw,205px); }
  .bar nav { width:100%; grid-template-columns:none; display:grid; gap:0; padding-top:6px; }
  .bar nav a,.bar nav a:nth-child(4) { grid-column:auto; display:flex; align-items:center; justify-content:space-between; min-height:44px; padding-inline:12px; font-size:.92rem; }
  .bar nav a + a { border-top:1px solid var(--line); }
  .bar .nav-cta { border:0; color:var(--gold); }
  .menu-ready .menu-toggle { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; background:transparent; border:1px solid var(--line); color:var(--light); font:inherit; cursor:pointer; }
  .menu-ready .menu-toggle[aria-expanded="false"] + nav { display:none; }
  .hero {
    min-height:560px;
    background:
      linear-gradient(0deg,#09151e 2%,#09151eac 60%,#09151e66 100%),
      #172d3d url('marin.webp') 66% center/cover no-repeat;
  }
  .hero-content { padding-block:62px 54px; }
  .hero h1 { font-size:clamp(3.4rem,10.5vw,5rem); }
  .hero .intro { font-size:.95rem; }
  .services-lead { grid-template-columns:1fr; }
  .work-featured { grid-template-columns:1fr; }
  .work-featured img { aspect-ratio:5/3; }
}

.brand-sources { grid-template-columns:repeat(4,minmax(0,1fr)); }
.brand-sources li {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  text-align:left;
  gap:8px;
  padding:20px;
}
.brand-sources h3,.industry-grid h3 { margin:0; }
.brands .brand-sources p {
  flex:1;
  margin:0;
  font-size:.86rem;
}
.brand-sources a,.industry-grid figcaption a { color:var(--gold); font-size:.82rem; }
.brand-sources a:hover,.industry-grid figcaption a:hover { text-decoration:underline; }
.industry-gallery { padding:74px 0; border-top:1px solid var(--line); background:#0b1924; }
.industry-gallery .wrap > p { color:var(--muted); margin:16px 0 30px; }
.industry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.industry-grid figure { margin:0; border:1px solid var(--line); background:#0e1d28; }
.industry-grid img { width:100%; height:auto; display:block; }
.industry-grid figcaption { padding:14px; }
.industry-grid figcaption p { color:var(--muted); font-size:.82rem; margin:6px 0 0; }
@media (max-width:900px) { .brand-sources { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:650px) {
  .brand-sources { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .brand-sources li { padding:14px; overflow-wrap:anywhere; }
  .industry-gallery { padding-block:52px; }
  .industry-grid { grid-template-columns:1fr; }
}

.brand-reference { color:var(--gold); font-size:.82rem; }
.photo-credit { margin-top:8px; color:var(--muted); font-size:.77rem; overflow-wrap:anywhere; }
.photo-credit summary { cursor:pointer; }
.photo-viewer { width:min(920px,calc(100% - 24px)); max-height:calc(100% - 24px); padding:14px; border:1px solid var(--line); background:var(--ink); color:var(--light); }
.photo-viewer::backdrop { background:#02090ee8; }
.photo-viewer form { display:flex; justify-content:flex-end; margin-bottom:10px; }
.photo-viewer button { min-height:44px; padding:0 14px; background:#152938; border:1px solid var(--line); color:inherit; font:inherit; cursor:pointer; }
.photo-viewer button:focus-visible { outline:2px solid var(--gold); }
.photo-viewer figure { margin:0; }
.photo-viewer img { display:block; width:100%; max-height:70dvh; object-fit:contain; }
.photo-viewer figcaption { padding:8px 0 0; }
.footer-links { display:flex; flex-wrap:wrap; gap:6px 16px; }
footer .wrap { flex-wrap:wrap; gap:6px 16px; }
.credits-page { padding-block:30px 68px; overflow-wrap:anywhere; }
.credits-page h1 { font-size:clamp(2.5rem,6vw,4.5rem); margin-block:20px; }
.credits-list { list-style:none; margin:26px 0 0; padding:0; }
.credits-list li { padding-block:18px; border-top:1px solid var(--line); }
.credits-list h2 { font:650 1.2rem/1.4 system-ui,sans-serif; letter-spacing:normal; }
.credits-list p { margin:6px 0 0; color:var(--muted); }

.hero .whatsapp-cta {
  background:#2be17a;
  border-color:#2be17a;
  color:#082517;
  box-shadow:0 5px 24px #071d16a6;
}
.hero .whatsapp-cta:hover { background:#73f2a6; border-color:#73f2a6; }
@media (max-width:450px) {
  .hero .whatsapp-cta { flex-basis:100%; justify-content:space-between; }
}
