:root {
    --paper: #f7f6f2;
    --ink: #1e1e1c;
    --muted: #62625c;
    --line: #dddbd2;
    --accent: #8a6500;
    --accent-deep: #624900;
    --highlight: #edbc20;
    --brand-yellow: #edbc20;
    --mono: "IBM Plex Mono", monospace;
    --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Readex Pro", Tahoma, Arial, sans-serif; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 5px; }
::selection { background: var(--accent); color: white; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
.wrap { width: min(100% - 96px, 1320px); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 5; inset: 12px 12px auto auto; padding: 8px 18px; background: white; }

.header { position: sticky; z-index: 4; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: fit-content; display: inline-flex; align-items: center; }
.brand img { object-fit: contain; }
.header .brand img { width: 70px; height: 71px; }
nav { display: flex; gap: clamp(20px, 3vw, 46px); align-self: stretch; }
nav a { display: flex; align-items: center; position: relative; font-size: .88rem; font-weight: 500; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); }
.mobile-contact { display: none; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; width: fit-content; min-height: 50px; padding: 10px 19px; border: 1px solid transparent; font-size: .87rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.button span, .text-link span { font-family: Arial, sans-serif; font-size: 1.2em; line-height: 1; }
.header-cta { justify-self: end; border-color: var(--ink); min-height: 42px; }
.header-cta:hover { background: var(--ink); color: white; }
.primary { background: var(--brand-yellow); color: var(--ink); }
.primary:hover { background: #ffcf33; }
.text-link { display: inline-flex; align-items: center; width: fit-content; gap: 8px; font-size: .86rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(25px, 4vw, 60px); padding-block: clamp(36px, 5vw, 74px); }
.hero-copy { animation: arrive .7s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; }
.dot { width: 8px; height: 8px; background: var(--highlight); display: inline-block; flex: none; }
.hero h1 { margin-block: 20px; font-size: clamp(2.9rem, 4.8vw, 5.1rem); line-height: 1.28; letter-spacing: -.04em; font-weight: 700; }
.hero h1 em { color: var(--brand-yellow); font-style: normal; }
.hero-description { max-width: 42ch; color: #d5d3c9; font-size: clamp(.95rem, 1.25vw, 1.1rem); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 25px; margin-top: 28px; }
.hero .eyebrow { color: #d8d4c7; }
.hero-showcase { display: grid; min-width: 0; gap: 12px; }
.hero-media { position: relative; overflow: hidden; min-width: 0; background: #35352f; aspect-ratio: 16 / 10; animation: arrive .8s .08s ease-out both; }
.hero-media img { display: block; width: 100%; height: 100%; aspect-ratio: 1.16; object-fit: cover; object-position: 52% center; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.showcase-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.showcase-strip figure { min-width: 0; aspect-ratio: 16 / 10; background: #33332d; overflow: hidden; }
.showcase-strip img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.showcase-strip figure:hover img { transform: scale(1.04); }
.ribbon { background: var(--brand-yellow); color: var(--ink); }
.ribbon-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 13px; font-size: clamp(.9rem, 2.25vw, 1.9rem); font-weight: 700; }
.ribbon i { color: #615221; font-family: Arial, sans-serif; font-size: .8em; font-style: normal; }

.section { padding-block: clamp(60px, 8vw, 115px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px 35px; margin-bottom: clamp(25px, 4vw, 50px); }
.section-head h2, .contact h2 { margin-top: 10px; font-size: clamp(2rem, 4.15vw, 4.1rem); letter-spacing: -.045em; }
.section-head > p { max-width: 37ch; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; align-items: start; padding: clamp(18px, 2.25vw, 32px); min-height: 266px; border-block-start: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .2s; }
.service-card:hover { background: #f1ead5; }
.service-card h3, .steps h3 { font-size: clamp(1.05rem, 1.6vw, 1.45rem); }
.service-card p, .steps p { margin-block: 10px 19px; color: var(--muted); font-size: .91rem; }
.service-card a { margin-top: auto; color: var(--accent); }
.service-icon { display: block; position: relative; width: 42px; height: 42px; margin-bottom: 22px; color: #9e7705; }
.service-icon::before, .service-icon::after { content: ""; position: absolute; display: block; border: 2px solid currentColor; }
.service-icon.design::before { inset: 7px; transform: rotate(45deg); }
.service-icon.design::after { inset: 16px; background: currentColor; border-radius: 50%; }
.service-icon.booth::before { inset: 4px 3px 7px; transform: skewY(-12deg); }
.service-icon.booth::after { inset: 15px 14px 9px 8px; transform: skewY(-12deg); border-bottom: 0; }
.service-icon.sign::before { inset: 5px 1px 13px; border-radius: 14px; }
.service-icon.sign::after { height: 11px; inset: auto 20px 2px auto; border-width: 0 2px 0 0; }
.service-icon.print::before { inset: 2px 8px 12px 13px; }
.service-icon.print::after { inset: 12px 14px 2px 7px; background: var(--paper); }

.work { background: #1e1e1c; color: #fbfaf7; }
.work .dot { background: var(--brand-yellow); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project { min-width: 0; background: #292925; border: 1px solid #3b3b33; transition: border-color .25s, box-shadow .25s; }
.project:hover, .project:focus-within { border-color: #a48b37; box-shadow: 0 12px 28px #00000024; }
.project a { display: flex; flex-direction: column; height: 100%; }
.project-media { overflow: hidden; background: #35352f; }
.project-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.project a:hover img { transform: scale(1.055); }
.project-copy { position: relative; flex: 1; padding: clamp(16px, 2vw, 26px); padding-inline-end: 43px; }
.project-copy h2 { margin-top: 7px; font-size: clamp(1.1rem, 2vw, 1.8rem); overflow-wrap: anywhere; }
.project-copy p { color: #cecec6; font-size: .84rem; }
.project-copy span { position: absolute; inset: 19px auto auto 19px; color: #edbc20; }
.work-intro { color: #cecec6; margin-top: 13px; max-width: 60ch; }
.work .section-head:last-child { margin-bottom: 0; }
.gallery-head { color: var(--paper); background: var(--ink); border-bottom: 7px solid var(--brand-yellow); }
.gallery-heading { padding-block: clamp(45px, 7vw, 95px); animation: arrive .6s ease-out both; }
.gallery-heading h1 { font-size: clamp(2.5rem, 5vw, 5.1rem); letter-spacing: -.04em; margin-block: 14px; overflow-wrap: anywhere; max-width: 20ch; }
.gallery-heading > p:not(.eyebrow) { max-width: 60ch; color: #e2e0d6; }
.gallery-body { padding-block: clamp(30px, 6vw, 78px); min-height: 320px; }
.gallery-body .project { color: #fff; }
.project-description { white-space: pre-wrap; overflow-wrap: anywhere; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 70ch; margin-bottom: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.gallery-photo { position: relative; display: block; overflow: hidden; background: #eae7dd; }
.gallery-photo:first-child { grid-column: 1 / -1; }
.gallery-photo img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: contain; background: #e7e4da; transition: transform .4s ease; }
.gallery-photo:first-child img { max-height: min(68vh, 720px); }
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-photo span { position: absolute; inset: auto auto 10px 10px; background: var(--paper); color: var(--accent); padding: 4px 9px; }
.gallery-empty { display: grid; justify-items: start; align-content: start; gap: 14px; }
.gallery-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.service-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
.service-detail { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr); gap: 0; align-items: start; padding: 0; border: 1px solid var(--line); background: #f0ede3; }
.service-detail > div { padding: clamp(20px, 3.5vw, 46px); }
.service-detail-image { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.service-detail h2 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); }
.service-detail p { color: var(--muted); margin-top: 12px; max-width: 62ch; }
.service-detail a { color: var(--accent); margin-top: 16px; }
.service-capabilities { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; list-style: none; margin-block: 18px 0; font-size: .78rem; }
.service-capabilities li { border-bottom: 1px solid #b7aa7b; padding-bottom: 4px; }
.photo-dialog { margin: auto; padding: 13px; max-width: min(94vw, 1120px); max-height: 94vh; background: #1e1e1c; color: white; border: 1px solid #69695d; }
.photo-dialog[open] { animation: arrive .25s ease-out both; }
.photo-dialog::backdrop { background: rgb(20 20 17 / .9); }
.dialog-frame { display: grid; gap: 10px; }
.dialog-frame img { margin-inline: auto; max-height: 74vh; object-fit: contain; }
.dialog-frame p { color: #e8e5dc; padding-inline: 8px; }
.dialog-controls, .dialog-controls > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; justify-content: space-between; }
.dialog-controls button { background: #38382f; color: white; border: 1px solid #8c896f; padding: 5px 10px; cursor: pointer; }
.dialog-controls [data-counter] { direction: ltr; font: 500 .8rem var(--mono); }

.about-intro { background: #eae6d9; }
.about-intro-inner { padding-block: clamp(40px, 6vw, 78px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(25px, 5vw, 70px); }
.about-intro h2 { max-width: 17ch; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.4; margin-top: 14px; }
.about-intro p:not(.eyebrow) { max-width: 62ch; color: #4e4c43; font-size: 1.03rem; line-height: 2; }
.about-intro a { margin-top: 20px; }
.partners-image { width: 100%; height: auto; margin-inline: auto; background: #f4f7f7; padding: 12px; border: 1px solid var(--line); }
.history-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(25px, 5vw, 70px); align-items: center; }
.history-year { background: var(--brand-yellow); padding: 34px; text-align: center; }
.history-year span { font: 600 clamp(3.5rem, 8vw, 7.2rem) var(--mono); letter-spacing: -.1em; }
.history-year p { font-size: .88rem; }
.history-layout h2, .team-section h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
.history-layout > div > p { margin-block: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 55px; }
.values-grid article { border-top: 2px solid var(--brand-yellow); padding-top: 22px; }
.values-grid h2 { font-size: 1.5rem; }
.values-grid p { color: var(--muted); margin-top: 12px; }
.team-section { background: var(--ink); color: var(--paper); }
.team-section h2 { margin-block: 15px 30px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; }
.team-grid p { border-inline-start: 3px solid var(--brand-yellow); padding-inline-start: 16px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .15s; }
::view-transition-new(root) { animation-duration: .25s; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { border-top: 1px solid var(--line); padding-top: 16px; }
.step-number { font: 600 1.3rem var(--mono); color: var(--accent); display: inline-block; margin-bottom: 20px; }
.steps p { margin-bottom: 0; }
.contact { background: var(--brand-yellow); color: var(--ink); }
.contact .dot { background: var(--ink); }
.contact h2 { line-height: 1.35; }
.contact-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px, 8vw, 95px); padding-block: clamp(54px, 7vw, 100px); }
.contact p:not(.eyebrow) { margin-block: 12px 22px; color: #413a25; }
.contact-details span { color: #413a25; font-size: .82rem; }
.white { background: var(--ink); color: var(--paper); }
.white:hover { background: #38372f; }
.contact-details { font-style: normal; }
.contact-details a { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 58px; border-top: 1px solid #a98927; padding-block: 6px; }
.contact-details a:last-child { border-bottom: 1px solid #a98927; }
.contact-details a:hover { background: #e3b31c; }
.contact-details bdi { width: fit-content; overflow-wrap: anywhere; font: 500 .94rem var(--mono); }
.contact-details strong { font-size: .9rem; font-weight: 500; }
.contact-details i { font-style: normal; }
.footer { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 18px; }
.footer-info { text-align: center; }
.footer-info a { font-size: .76rem; }
.footer p { font: 500 .79rem var(--mono); color: var(--muted); }

.reveal.in-view { animation: arrive .55s ease-out both; }
.service-card:nth-child(2), .project:nth-child(2), .steps li:nth-child(2) { animation-delay: .07s; }
.service-card:nth-child(3), .project:nth-child(3), .steps li:nth-child(3) { animation-delay: .14s; }
.service-card:nth-child(4) { animation-delay: .21s; }

.about-page-head .gallery-heading {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 16px clamp(25px, 5vw, 70px);
}
.about-page-head .eyebrow { grid-column: 1 / -1; }
.about-page-head h1 { max-width: 17ch; margin: 0; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.4; }
.about-page-head .gallery-heading > p:last-child { max-width: 62ch; font-size: 1.03rem; line-height: 2; }

.gallery-filter { display: grid; gap: 6px; min-width: 210px; max-width: 100%; }
.gallery-filter label { color: #cecec6; font-size: .78rem; }
.gallery-filter select { width: 100%; max-width: 100%; min-height: 46px; padding: 9px 12px; font: inherit; font-size: .86rem; background: #292925; color: var(--paper); border: 1px solid #6b6857; border-radius: 0; cursor: pointer; }
.gallery-filter select:hover { border-color: var(--brand-yellow); }
#work .project-grid { gap: 24px; }
.project.reveal.in-view { animation: project-arrive .65s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--project-delay, 0ms); }
@keyframes project-arrive {
    from { opacity: 0; transform: translateY(28px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.location-section { background: #eeece3; border-top: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 70px); }
.location-copy h2 { margin-block: 14px; font-size: clamp(2.1rem, 3.8vw, 3.8rem); line-height: 1.35; letter-spacing: -.035em; }
.location-copy address { color: var(--muted); font-size: 1.1rem; font-style: normal; line-height: 1.9; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 26px; }
.location-actions .text-link { flex-wrap: wrap; }
.location-map { overflow: hidden; border: 1px solid #d0cbbb; background: #e3e0d5; box-shadow: 0 14px 36px #1e1e1c0b; }
.location-map iframe { display: block; width: 100%; height: 420px; border: 0; }

@media (max-width: 1050px) {
    .wrap { width: calc(100% - 56px); }
    .hero { gap: 25px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    :root { --header-height: 66px; }
    .wrap { width: calc(100% - 36px); }
    .header-inner { gap: 12px; grid-template-columns: 1fr auto; }
    .header .brand img { width: 48px; height: auto; }
    .header-cta { display: none; }
    .mobile-contact { display: flex; }
    .menu-toggle:not([hidden]) { display: grid; place-content: center; gap: 5px; background: transparent; border: 1px solid var(--line); width: 44px; height: 42px; cursor: pointer; }
    .menu-toggle span:not(.sr-only) { display: block; background: var(--ink); width: 18px; height: 2px; }
    nav { grid-column: 1 / -1; gap: 8px 18px; flex-wrap: wrap; padding: 6px 0 14px; }
    .header-inner:has(.menu-toggle:not([hidden])) nav { position: absolute; inset: 100% 0 auto; background: var(--paper); padding: 8px 18px 16px; border-bottom: 1px solid var(--line); }
    nav a { min-height: 40px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hero h1 { font-size: clamp(2.65rem, 9vw, 4.8rem); margin-block: 15px; }
    .hero-media img { aspect-ratio: 1.45; }
    .hero-actions { margin-top: 19px; }
    .section-head { flex-wrap: wrap; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-inner, .location-grid { grid-template-columns: 1fr; }
    .location-map iframe { height: 320px; }
    .about-intro-inner, .history-layout, .about-page-head .gallery-heading { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail-image { height: 240px; min-height: 0; }
    .values-grid { grid-template-columns: 1fr; }
    .hero .hero-media img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 520px) {
    .project-grid, .steps { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 225px; padding: 13px; }
    .service-card a, .service-card p { font-size: .78rem; }
    .service-icon { margin-bottom: 12px; }
    .ribbon-inner { gap: 6px; }
    .gallery-filter { width: 100%; }
    .team-grid { grid-template-columns: 1fr 1fr; font-size: .9rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 200px; padding: 22px; }
    .service-card h3 { font-size: 1.3rem; }
    .service-card p, .service-card a { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
