:root {
  --ink: #172a2f;
  --paper: #f2efe6;
  --accent: #e2a447;
  --muted: rgba(24, 24, 24, 0.58);
  --line: rgba(24, 24, 24, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--accent); }

.container { width: min(100% - 40px, 1520px); margin-inline: auto; }
.mono { font-family: "DM Mono", monospace; }
.eyebrow { font: 10px "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
.site-header { position: fixed; z-index: 50; top: 0; right: 0; left: 0; border-bottom: 1px solid var(--line); background: rgba(243,241,234,.9); backdrop-filter: blur(14px); }
.site-nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { font-size: 14px; font-weight: 800; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { border-bottom: 1px solid transparent; }
.nav-links a:hover { border-color: currentColor; }
.contact-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 17px; color: white; background: var(--ink); border-radius: 999px; transition: transform .25s ease; }
.contact-pill:hover { transform: translateY(-2px); }
.arrow { width: 18px; height: 18px; }

.hero { display: flex; min-height: 92vh; flex-direction: column; justify-content: space-between; padding-top: 112px; padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; margin-block: auto; }
.intro { max-width: 290px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.availability { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; background: #618500; border-radius: 50%; box-shadow: 0 0 0 5px rgba(97,133,0,.12); }
.hero-title { margin: 0; font-size: clamp(52px, 7.3vw, 116px); font-weight: 700; line-height: .93; letter-spacing: -.067em; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title span:last-child { margin-top: 8px; text-align: right; }
.hero-title em { font-family: "Instrument Serif", serif; font-weight: 400; }
.highlight { position: relative; z-index: 0; }
.highlight::after { position: absolute; z-index: -1; right: -.06em; bottom: .03em; left: .02em; height: .15em; content: ""; background: var(--accent); transform: rotate(-2deg); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 80px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; }

.work { padding: 110px 0; color: white; background: var(--ink); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.2); }
.section-heading h2 { margin: 0; font-size: clamp(46px, 7vw, 102px); line-height: .95; letter-spacing: -.065em; }
.section-heading p { color: rgba(255,255,255,.5); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; gap: 72px 24px; }
.project { grid-column: span 7; }
.project:nth-child(2), .project:nth-child(3) { grid-column: span 5; }
.project-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; color: var(--ink); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.project-card:hover { transform: scale(.985); }
.project-card.glacier { background: #d8e8ef; }
.project-card.icons { color: white; background: #1e4f78; }
.project-card.icons .round-arrow { border-color: rgba(255,255,255,.4); }
.project-card.social { color: white; background: #263941; }
.project-card.social .round-arrow { border-color: rgba(255,255,255,.4); }
.project-card.print { background: #aeb9a6; }
.card-top { position: absolute; z-index: 3; top: 24px; right: 24px; left: 24px; display: flex; justify-content: flex-end; }
.round-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(0,0,0,.25); border-radius: 50%; transition: transform .3s ease; }
.project-card:hover .round-arrow { transform: rotate(45deg); }
.card-image { position: absolute; top: 50%; right: 5%; left: 5%; width: 90%; max-height: 72%; object-fit: contain; box-shadow: 0 20px 45px rgba(0,0,0,.2); transform: translateY(-50%); transition: transform .45s ease; }
.project-card:hover .card-image { transform: translateY(-50%) scale(1.02); }
.project-card.glacier .card-image { box-shadow: none; filter: drop-shadow(0 20px 28px rgba(0,0,0,.22)); }
.project-card.icons .card-image { box-shadow: none; filter: drop-shadow(0 20px 28px rgba(0,0,0,.22)); }
.project-card .circler { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); transition: transform .45s ease; }
.project-card:hover .circler { transform: translate(-50%, -50%) scale(1.04); }
.two-images { position: absolute; inset: 15% 5% 16%; transition: transform .45s ease; }
.project-card:hover .two-images { transform: scale(1.02); }
.two-images img { position: absolute; width: 68%; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.two-images img:first-child { top: 0; left: 0; transform: rotate(-3deg); }
.two-images img:last-child { right: 0; bottom: 0; transform: rotate(3deg); }
.card-caption { position: absolute; z-index: 3; right: 24px; bottom: 24px; left: 24px; display: flex; justify-content: space-between; font-size: 10px; }
.project-meta { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 18px; }
.project-meta h3 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.project-meta p { margin: 5px 0 0; color: rgba(255,255,255,.5); font-size: 14px; }
.project-meta time { color: rgba(255,255,255,.5); font: 11px "DM Mono", monospace; }

.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; }
.about-copy { margin: 0; max-width: 1100px; font-size: clamp(36px, 5vw, 76px); font-weight: 600; line-height: 1.03; letter-spacing: -.055em; }
.about-copy span { color: rgba(24,24,24,.34); }
.services-head { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service h3 { margin: 42px 0 8px; font-size: 23px; letter-spacing: -.04em; }
.service p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.based { color: var(--muted); font-size: 13px; }

.cta { padding: 100px 0; background: var(--accent); }
.cta-link { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.cta-link strong { font-size: clamp(50px, 9vw, 140px); line-height: .9; letter-spacing: -.075em; }
.cta-arrow { display: grid; width: 76px; height: 76px; flex: 0 0 auto; place-items: center; color: white; background: var(--ink); border-radius: 50%; transition: transform .25s ease; }
.cta-link:hover .cta-arrow { transform: translate(7px,-7px); }
.footer { padding: 28px 0; color: white; background: var(--ink); font-size: 11px; }
.footer-row { display: flex; justify-content: space-between; }
.socials { display: flex; gap: 24px; color: rgba(255,255,255,.55); }

/* Case studies */
.case-header { border-bottom: 1px solid var(--line); }
.case-header .site-nav { min-height: 72px; }
.back-link { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-intro { padding: 85px 0 70px; }
.case-title { margin: 32px 0 0; max-width: 1200px; font-size: clamp(64px, 12vw, 180px); font-weight: 800; line-height: .8; letter-spacing: -.08em; }
.case-summary { display: grid; grid-template-columns: 7fr 2fr; justify-content: space-between; gap: 60px; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-summary > p { margin: 0; max-width: 880px; font-size: clamp(25px, 3vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.case-summary-icon { display: grid; grid-template-columns: 5fr 5fr; justify-content: space-between; gap: 60px; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-summary-icon > p { margin: 0; max-width: 880px; font-size: clamp(25px, 3vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.services-list h2 { margin: 0 0 12px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.services-list ul { margin: 0; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.7; list-style: none; }
.case-hero { display: flex; width: calc(100% - 80px); max-width: 1520px; padding: 100px 0px; margin: 0 auto; align-items: center; justify-content: center; overflow: hidden; }
.case-hero img { width: 86%; height: 80%; object-fit: contain; }
.case-hero .two-images { position: relative; inset: auto; width: min(86%, 1100px); aspect-ratio: 7/4; }
.case-hero .two-images img { width: 68%; height: auto; }
.case-hero.glacier-bg, .gallery-frame.glacier-bg { background: #d8e8ef; }
.icons-bg { background: #1e4f78; }
.social-bg { background: #263941; }
.case-hero .case-mascot { width: 176px; height: 179px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.45), 0 0 0 9px #293b3d, 0 0 0 10px rgba(255,255,255,.45); filter: drop-shadow(0 20px 28px rgba(0,0,0,.3)); }
.print-bg { background: #aeb9a6; }
.narrative { display: grid; grid-template-columns: 3fr 8fr 1fr; gap: 40px; padding: 110px 0; }
.narrative-content { grid-column: 2; }
.narrative h2 { margin: 0; font-size: clamp(33px, 4vw, 62px); line-height: 1.05; letter-spacing: -.05em; }
.narrative-content p { max-width: 710px; margin: 38px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px; background: var(--ink); }
.gallery-frame { margin: 0; display: flex; aspect-ratio: 4/3; align-items: center; justify-content: center; padding: 30px; background: #e6dfd2; }
.gallery-frame img { width: 100%; height: 100%; object-fit: contain; }
.gallery-frame.placeholder { position: relative; color: rgba(0,0,0,.55); background: #d8d1c3; }
.gallery-frame.placeholder::after { font: 10px "DM Mono",monospace; letter-spacing: .1em;  }
.gallery.coverage-gallery { padding: 40px 0; background: none; }
.gallery-frame.wide { grid-column: 1 / -1; aspect-ratio: 16/7; background: var(--accent); }
.system { padding: 110px 0; }
.system-grid { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; padding-bottom: 100px; border-bottom: 1px solid var(--line); }
.system-details { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.type-sample { margin: 20px 0 4px; font-size: 48px; font-weight: 800; letter-spacing: -.07em; }
.type-sample.montserrat { font-family: Montserrat, sans-serif; font-weight: 600; letter-spacing: -.02em; }
.palette { display: flex; height: 95px; margin-top: 20px; }
.palette i { flex: 1; }
.outcome { display: grid; grid-template-columns: 3fr 8fr 1fr; gap: 40px; padding-top: 100px; }
.outcome h2 { grid-column: 2; margin: 0; font-size: clamp(33px, 4vw, 62px); line-height: 1.05; letter-spacing: -.05em; }
.outcome2 { display: grid; grid-template-columns: 3fr 8fr 1fr; gap: 40px; padding-top: 100px; border-top: 1px solid var(--line); }
.outcome2 h2 { grid-column: 2; margin: 0; font-size: clamp(33px, 4vw, 62px); line-height: 1.05; letter-spacing: -.05em; }
.next-project { display: flex; align-items: flex-end; justify-content: space-between; padding: 80px max(20px, calc((100% - 1520px)/2)); background: var(--accent); }
.next-project strong { display: block; font-size: clamp(48px, 9vw, 140px); line-height: .9; letter-spacing: -.075em; }

    .coverage-box { 
        background: #1e4f78; 
        cursor: pointer; 
        font-family: 'Lato', sans-serif; 
        padding: 1.5rem; 
        color: #ffffff; /* Added for text visibility against dark background */
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .coverage-icon img {
        height: 66px;
        display: block;
    }

    .coverage-content h3 {
        margin: 0 0 0.5rem 0;
        font-size: 1.25rem;
    }

    .coverage-content p {
        margin: 0;
        font-weight: 300;
    }

    .coverage-pricing p {
        margin: 0;
        font-weight: 300;
    }
    
    .coverage-pricing .number {
        font-size: 1.75rem;
        font-weight: bold;
    }

    /* Responsive Desktop Layout (Replaces col-sm-* sizes) */
    @media (min-width: 576px) {
        .coverage-box {
            flex-direction: row;
            text-align: left;
            justify-content: space-between;
        }

        .coverage-icon {
            flex: 0 0 14%;
        }

        .coverage-content {
            flex: 0 0 58.33%; /* Equivalent to col-sm-7 */
            padding-right: 1rem;
        }

        .coverage-pricing {
            flex: 0 0 25%; /* Equivalent to col-sm-3 */
            text-align: center;
        }
    }

  .circler {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 205px;
    height: 203px;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(0deg, rgb(150, 219, 247) 0%, rgb(95, 175, 226) 100%); 
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .3));
  }
  .circler img, .circler video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.75,.25,1), transform .7s cubic-bezier(.2,.75,.25,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 1520px); }
  .nav-links { display: none; }
  .site-nav { min-height: 64px; }
  .hero { min-height: 88vh; padding-top: 115px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-title { margin-top: 35px; font-size: clamp(43px, 13.5vw, 72px); }
  .hero-title span { white-space: normal; }
  .hero-foot { margin-top: 60px; }
  .project-grid { grid-template-columns: 1fr; gap: 55px; }
  .project, .project:nth-child(2), .project:nth-child(3) { grid-column: 1; }
  .work, .about, .system { padding: 80px 0; }
  .section-heading p { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .cta { padding: 70px 0; }
  .cta-arrow { width: 52px; height: 52px; }
  .footer-row { flex-direction: column; gap: 18px; }
  .case-intro { padding: 55px 0; }
  .case-summary, .system-grid { grid-template-columns: 1fr; }
  .case-summary { gap: 35px; margin-top: 45px; }
  .case-hero { width: calc(100% - 32px); padding: 40px 0; }
  .narrative, .outcome { grid-template-columns: 1fr; padding: 75px 0; }
  .narrative-content, .outcome h2 { grid-column: 1; }
  .outcome2 { grid-template-columns: 1fr; gap: 24px; padding-top: 75px; }
  .project-card .circler { width: 150px; height: 149px; }
  .outcome2 h2 { grid-column: 1; }
  .gallery { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .gallery-frame.wide { grid-column: 1; aspect-ratio: 4/3; }
  .system-details { grid-template-columns: 1fr; gap: 45px; }
  .next-project { padding: 60px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
