:root {
  --blue: #063a78;
  --blue-deep: #021f43;
  --blue-soft: #0d4f99;
  --gold: #e5ab00;
  --gold-light: #f7c940;
  --ink: #0d1d2e;
  --muted: #607083;
  --paper: #f5f7fa;
  --white: #fff;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 18px 60px rgb(2 31 67 / 14%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.65 "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-150%); padding: 10px 16px; background: var(--gold); color: var(--blue-deep); font-weight: 700; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--blue-deep); color: #dce8f6; font-size: .82rem; letter-spacing: .02em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 12px; }
.topbar a:hover, .topbar a:focus-visible { color: var(--gold-light); }
.site-header { background: var(--white); position: relative; z-index: 50; }
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 64px; height: 64px; object-fit: cover; object-position: center; border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; text-transform: uppercase; }
.brand strong { color: var(--blue); font: 800 1.2rem/1 "Manrope", sans-serif; letter-spacing: .06em; }
.brand small { margin-top: 6px; color: var(--gold); font: 700 .64rem/1.1 "Manrope", sans-serif; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #26394f; font-weight: 600; }
.nav-links > a:not(.button) { position: relative; }
.nav-links > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--gold); transition: right .25s ease; }
.nav-links > a:hover::after, .nav-links > a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; padding: 8px; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--blue); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: var(--blue-deep); font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--gold-light); border-color: var(--gold-light); }
.button svg { width: 19px; fill: currentColor; }
.button-small { min-height: 44px; padding-inline: 18px; font-size: .9rem; }
.button-ghost { background: transparent; border-color: rgb(255 255 255 / 55%); color: var(--white); }
.button-ghost:hover, .button-ghost:focus-visible { color: var(--blue-deep); }

.hero { min-height: clamp(620px, 76vh, 780px); position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgb(1 24 53 / 91%) 0%, rgb(3 42 88 / 72%) 48%, rgb(2 31 67 / 18%) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 70px 100px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-light); font: 800 .76rem/1.2 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue-soft); }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin-top: 0; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: .97; font-weight: 800; }
.hero-lead { max-width: 650px; margin: 0 0 34px; color: #e2e9f0; font-size: clamp(1.05rem, 2vw, 1.24rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; z-index: 2; right: max(20px, calc((100vw - 1180px) / 2)); bottom: 28px; display: flex; gap: 14px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { color: var(--gold); font-size: 1.4rem; }

.section { padding-block: clamp(82px, 10vw, 140px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 80px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .work-heading h2, .about-copy h2, .cta-inner h2 { margin-bottom: 0; font-size: clamp(2.35rem, 4.5vw, 4.5rem); line-height: 1.05; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.patterns-section { background: var(--white); }
.patterns-shell { position: relative; }
.patterns-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 80px; align-items: end; margin-bottom: 48px; }
.patterns-intro h2 { max-width: 780px; margin: 0; font-size: clamp(2.35rem, 4.5vw, 4.5rem); line-height: 1.05; }
.patterns-intro > p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.pattern-guide { border: 1px solid #d7dfe8; background: var(--paper); box-shadow: 0 14px 44px rgb(2 31 67 / 9%); }
.pattern-guide summary { min-height: 104px; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; background: var(--blue); color: var(--white); font: 700 clamp(1.05rem, 2vw, 1.3rem)/1.35 "Manrope", sans-serif; }
.pattern-guide summary::-webkit-details-marker { display: none; }
.pattern-guide summary small { display: block; margin-bottom: 6px; color: var(--gold-light); font: 800 .7rem/1.2 "Manrope", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.summary-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; color: var(--gold-light); font: 400 2rem/1 "DM Sans", sans-serif; transition: transform .25s ease, background .25s ease; }
.pattern-guide summary:hover .summary-icon, .pattern-guide summary:focus-visible .summary-icon { background: rgb(255 255 255 / 10%); }
.pattern-guide[open] .summary-icon { transform: rotate(45deg); }
.pattern-content { padding: 34px; }
.pattern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d7dfe8; border: 1px solid #d7dfe8; }
.pattern-card { min-height: 270px; padding: 27px 25px; background: var(--white); }
.pattern-index { color: var(--gold); font: 800 .72rem/1 "Manrope", sans-serif; letter-spacing: .1em; }
.pattern-card h3 { margin: 35px 0 12px; color: var(--blue); font-size: 1.24rem; }
.pattern-card p { margin: 0 0 22px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.pattern-card small { display: block; padding-top: 14px; border-top: 1px solid #e5eaf0; color: #344b63; font-size: .78rem; font-weight: 700; line-height: 1.45; }
.pattern-note { margin-top: 24px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #e9eef4; }
.pattern-note p { max-width: 720px; margin: 0; color: #42556a; }
.pattern-note .text-link { flex: 0 0 auto; }

.work-section { background: var(--blue-deep); color: var(--white); }
.work-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.work-heading > p { max-width: 350px; margin: 0; color: #b7c8db; }
.gallery { display: grid; grid-template-columns: 1.05fr .95fr .95fr; grid-template-rows: 340px 310px; gap: 18px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: #082d57; }
.gallery-tall { grid-row: 1 / 3; }
.gallery-wide { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(1 17 36 / 85%)); }
.gallery-item figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 14px; align-items: end; }
.gallery-item figcaption span { font: 700 1rem/1.2 "Manrope", sans-serif; }
.gallery-item figcaption small { color: #c0cfdf; font-size: .75rem; }

.reviews-section { padding-block: clamp(68px, 8vw, 104px); background: var(--paper); }
.reviews-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 70px; align-items: end; margin-bottom: 50px; }
.reviews-heading h2 { max-width: 760px; margin: 0; font-size: clamp(2.35rem, 4.5vw, 4.5rem); line-height: 1.05; }
.review-score { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--white); box-shadow: 0 12px 34px rgb(2 31 67 / 8%); }
.score-stars, .stars { color: var(--gold); letter-spacing: .11em; }
.score-stars { font-size: 1.35rem; line-height: 1; }
.review-score strong { margin-top: 10px; color: var(--blue); font: 800 1rem/1.3 "Manrope", sans-serif; }
.review-score small { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.featured-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-card { min-height: 300px; padding: 28px; display: flex; flex-direction: column; background: var(--white); border: 1px solid #dbe2ea; }
.review-card .stars { font-size: .93rem; }
.review-card blockquote { margin: 24px 0 30px; color: #32485f; font: 600 1.03rem/1.65 "Manrope", sans-serif; }
.review-card footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font: 800 .8rem/1 "Manrope", sans-serif; }
.review-card footer strong { font: 800 .9rem/1.2 "Manrope", sans-serif; }
.all-reviews { margin-top: 22px; border: 1px solid #d5dde6; background: var(--white); }
.all-reviews summary { min-height: 84px; padding: 18px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; color: var(--blue); font: 800 1rem/1.3 "Manrope", sans-serif; }
.all-reviews summary::-webkit-details-marker { display: none; }
.all-reviews .summary-icon { color: var(--blue); border-color: #c4ced9; }
.all-reviews[open] .summary-icon { transform: rotate(45deg); }
.all-reviews-grid { padding: 0 22px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.compact-review { min-height: 255px; padding: 23px; box-shadow: none; }
.compact-review blockquote { margin: 18px 0 24px; font-size: .92rem; line-height: 1.58; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-visual { min-height: 610px; position: relative; }
.about-visual > img { width: calc(100% - 58px); height: 610px; object-fit: cover; object-position: 30% center; }
.about-mark { position: absolute; right: 0; bottom: 48px; width: 170px; height: 170px; display: grid; place-items: center; align-content: center; background: var(--gold); color: var(--blue-deep); box-shadow: var(--shadow); }
.about-mark span { font: 800 4.3rem/.9 "Manrope", sans-serif; }
.about-mark small { margin-top: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.check-list { list-style: none; padding: 0; margin: 30px 0 34px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e1e6eb; font-weight: 600; }
.check-list span { color: var(--gold); font-weight: 800; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 800; }
.text-link span { color: var(--gold); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.cta-section { padding-block: 86px; color: var(--white); background: var(--blue); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-inner h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.cta-inner p:not(.eyebrow) { margin: 16px 0 0; color: #c8d9ea; }
.cta-actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 18px; text-align: center; }
.button-light { background: var(--white); border-color: var(--white); color: var(--blue); }
.email-link { color: #d9e7f5; font-weight: 600; }
.email-link:hover { color: var(--gold-light); }

.footer { padding-top: 72px; background: #071424; color: #c3cfdd; }
.footer-main { padding-bottom: 56px; display: grid; grid-template-columns: 1.4fr 1fr .55fr; gap: 60px; }
.footer-brand strong { color: var(--white); }
.footer-contact, .footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-contact p { margin: 0 0 8px; color: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-contact a:hover, .footer-nav a:hover { color: var(--white); }
.footer-nav { gap: 10px; font-weight: 600; }
.footer-bottom { min-height: 70px; border-top: 1px solid #1b2a3b; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .78rem; color: #8595a8; }
.footer-bottom p { margin: 0; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }

@media (max-width: 940px) {
  .topbar p { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 102%; padding: 24px; flex-direction: column; align-items: stretch; gap: 18px; background: var(--white); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .button { margin-top: 4px; }
  .section-heading, .work-heading { grid-template-columns: 1fr; gap: 24px; }
  .patterns-intro { grid-template-columns: 1fr; gap: 24px; }
  .pattern-grid { grid-template-columns: repeat(2, 1fr); }
  .pattern-note { align-items: flex-start; flex-direction: column; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 460px 280px 280px; }
  .gallery-tall { grid-row: 1; grid-column: 1 / 3; }
  .gallery-wide { grid-column: 1 / 3; }
  .reviews-heading { grid-template-columns: 1fr; gap: 26px; }
  .review-score { justify-self: start; }
  .featured-reviews, .all-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 650px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .topbar { display: none; }
  .nav { min-height: 80px; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .55rem; }
  .hero { min-height: 680px; }
  .hero-overlay { background: linear-gradient(90deg, rgb(1 24 53 / 91%), rgb(3 42 88 / 67%)); }
  h1 { font-size: clamp(3.05rem, 15vw, 4.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .scroll-cue { display: none; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 40px; }
  .pattern-guide summary { min-height: 92px; padding: 20px; }
  .pattern-content { padding: 16px; }
  .pattern-grid { grid-template-columns: 1fr; }
  .pattern-card { min-height: 0; }
  .pattern-note { padding: 22px 20px; gap: 22px; }
  .gallery { display: flex; flex-direction: column; }
  .gallery-item { height: 340px; }
  .gallery-tall { height: 500px; }
  .featured-reviews, .all-reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 270px; }
  .all-reviews summary { padding: 16px 18px; }
  .all-reviews-grid { padding: 0 12px 12px; }
  .about-visual, .about-visual > img { min-height: 460px; height: 460px; }
  .about-mark { width: 132px; height: 132px; bottom: 26px; }
  .about-mark span { font-size: 3.4rem; }
  .about-mark small { font-size: .62rem; }
  .cta-actions { width: 100%; }
  .email-link { overflow-wrap: anywhere; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { padding-block: 22px; align-items: flex-start; flex-direction: column; }
}
