@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --paper: #f4f3eb;
  --ink: #162520;
  --accent: #235843;
  --accent-dark: #143c2d;
  --highlight: #e9eda5;
  --grey: #526059;
  --line: #d2d8cc;
  --white: #fffef8;
  --heading: "Space Grotesk", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--body); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.dark-section a:focus-visible, .site-footer a:focus-visible, .contact-panel :focus-visible { outline-color: var(--highlight); }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1; font-weight: 700; letter-spacing: -.065em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.1vw, 7.65rem); }
h2 { font-size: clamp(2rem, 4.1vw, 4.05rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.15rem); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.wrap { width: min(100% - 5rem, 1320px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .8rem; left: .8rem; padding: .7rem 1rem; background: var(--highlight); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.4rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: .62rem; text-decoration: none; font: 700 1.35rem/1 var(--heading); letter-spacing: -.075em; white-space: nowrap; }
.brand img { width: 35px; height: 35px; }
.site-nav { display: flex; gap: clamp(.8rem, 2.6vw, 2.6rem); align-items: center; }
.site-nav a { color: var(--grey); text-decoration: none; white-space: nowrap; font-size: .92rem; font-weight: 600; }
.site-nav a[aria-current], .site-nav a:hover { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35rem; }
.site-header > .button { justify-self: end; }
.button { min-height: 46px; display: inline-flex; width: fit-content; justify-content: center; align-items: center; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: .4rem; font: 700 .95rem/1.3 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.button.primary { color: var(--white); background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary, .button.quiet { border-color: #a9a8a2; color: var(--ink); background: transparent; }
.button.secondary:hover, .button.quiet:hover { background: var(--white); border-color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.15rem; color: var(--grey); font-size: .89rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; inline-size: .7rem; block-size: .7rem; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-12deg); flex: 0 0 auto; }
.lede { max-width: 35rem; font-size: clamp(1.04rem, 1.5vw, 1.25rem); color: var(--grey); }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero { position: relative; display: grid; align-items: end; min-height: clamp(36rem, 70vw, 44rem); isolation: isolate; overflow: hidden; background: #192d28; color: var(--white); }
.hero-landscape, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-landscape { z-index: -2; object-fit: cover; object-position: 59% center; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #071913e8 0%, #0b1c16b5 33%, #11221a17 76%), linear-gradient(0deg, #091811be 0%, transparent 63%); }
.hero-content { padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6.7vw, 6rem); }
.hero .eyebrow { color: #eef1e5; }
.hero .eyebrow::before { background: var(--highlight); }
.hero h1 { font: 400 clamp(4.8rem, 9vw, 9.15rem)/.85 var(--serif); letter-spacing: -.032em; text-wrap: initial; }
.hero h1 em { font-style: italic; color: var(--highlight); }
.hero .lede { color: #f1f3e9; margin-block: 1.75rem; max-width: 28rem; }
.hero .button.primary { color: #18241b; background: var(--highlight); }
.hero .button.primary:hover { background: #f7f9cb; }
.hero .button.secondary { background: #0b1b16a6; color: var(--white); border-color: #e6eed8ab; }
.hero .button.secondary:hover { background: #263f30; }
.hero a:focus-visible { outline-color: var(--highlight); }

.section { padding-block: clamp(3rem, 6.7vw, 6.2rem); }
.dark-section, .site-footer { background: var(--ink); color: var(--paper); }
.dark-section .eyebrow, .dark-section a span { color: #c7d5c9; }
.dark-section .eyebrow::before { background: var(--highlight); }
.dark-section h2 em, .dark-section .text-link { color: var(--highlight); }
.focus-area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5.2vw, 6rem); }
.text-link { display: inline-block; margin-top: 1.4rem; font-weight: 700; text-underline-offset: .3rem; }
.focus-list { display: flex; flex-direction: column; border-top: 1px solid #52675c; }
.focus-list a { display: grid; gap: .22rem; padding-block: 1.05rem; border-bottom: 1px solid #52675c; text-decoration: none; }
.focus-list strong { font: 600 clamp(1.14rem, 2.15vw, 1.65rem)/1.2 var(--heading); }
.focus-list a:hover strong { color: var(--highlight); }

.page-intro { padding-block: clamp(2.7rem, 6vw, 6rem) clamp(2.1rem, 4vw, 3.65rem); border-bottom: 1px solid var(--line); }
.page-intro h1, .contact-copy h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.page-intro h1 { max-width: 16ch; }
.page-intro h1 em, .contact-copy h1 em { font-style: italic; }
.page-intro p:not(.eyebrow) { max-width: 38rem; margin-top: 1rem; color: var(--grey); font-size: clamp(1.04rem, 1.6vw, 1.25rem); }
.page-intro + .section { padding-top: clamp(2rem, 4vw, 4rem); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-grid h1 { max-width: 9ch; }
.about-grid h1 span { color: var(--accent); }
.about-grid .button { margin-top: 1.55rem; }
.portrait { margin: 0; position: relative; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 46% 46% 3px 3px; }
.home-about { display: grid; grid-template-columns: minmax(14rem, .75fr) 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.home-about .portrait { max-width: 22rem; }
.home-about .lede { margin-block: 1.2rem 1.4rem; }
.section-head { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: end; margin-bottom: 1.4rem; }
.section-head p { color: var(--grey); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story-card { background: var(--white); border: 1px solid var(--line); border-radius: .58rem; padding: clamp(1rem, 3vw, 2rem); }
.story-card h3, .story-card dt { margin-bottom: .65rem; }
.story-card dt { font: 700 clamp(1.25rem, 2.2vw, 1.85rem)/1.13 var(--heading); letter-spacing: -.04em; }
.story-card p, .story-card dd { color: var(--grey); }
.about-grid ~ .section + .section { border-top: 1px solid var(--line); }

.service { display: grid; grid-template-columns: 4.5rem 1.1fr 1fr; gap: clamp(1rem, 3.5vw, 3.2rem); align-items: start; border-bottom: 1px solid var(--line); padding-block: clamp(1.7rem, 3vw, 2.6rem); }
.service h2 { font-size: clamp(1.55rem, 3.3vw, 2.65rem); }
.service p { color: var(--grey); margin-top: .55rem; }
.service ul { margin: .18rem 0 0; padding-left: 1.2rem; }
.service li::marker { color: var(--accent); }
.service-icon { display: grid; place-content: center; gap: .27rem; width: 4.5rem; height: 4.5rem; background: var(--highlight); border-radius: .45rem; }
.service-icon i { width: 1.75rem; height: .42rem; background: var(--accent); border-radius: .1rem; }
.service-icon.tiles { grid-template-columns: repeat(2, .7rem); }
.service-icon.tiles i { width: .7rem; height: .7rem; }
.service-icon.steps i:nth-child(1) { width: .8rem; }
.service-icon.steps i:nth-child(2) { width: 1.25rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-block: 1.5rem; }
.process-grid > div { padding-top: .78rem; border-top: 3px solid var(--accent); }
.process-grid dt { font: 700 1.22rem/1.15 var(--heading); margin-bottom: .45rem; }
.process-grid dd { color: var(--grey); }

.project-card { background: var(--white); border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; }
.work-feature { display: grid; grid-template-columns: 1.12fr 1fr; }
.work-feature .project-copy { align-self: center; }
.project-copy { padding: clamp(1.2rem, 3.7vw, 3.25rem); }
.project-copy h2 { font-size: clamp(1.95rem, 4vw, 3.35rem); }
.project-copy p { color: var(--grey); margin-top: .75rem; }
.project-copy .project-note { font-size: .9rem; font-weight: 700; }
.more-projects { padding-top: .5rem; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.work-visual { display: grid; place-items: center; min-height: 280px; padding: clamp(1.3rem, 4vw, 3.2rem); }
.work-visual-catalogue { background: var(--highlight); min-height: 340px; }
.work-visual-request { background: #d3e5d6; }
.work-visual-booking { background: #ece9d0; }
.mock-ui { width: min(100%, 350px); border: 1px solid #242631; border-radius: .65rem; padding: .85rem; background: var(--white); box-shadow: 8px 8px 0 #272b531c; color: var(--ink); font-size: .82rem; line-height: 1.35; }
.mock-top, .mock-row, .mock-slot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mock-title { font: 700 1.15rem/1.15 var(--heading); }
.mock-tag, .mock-state { padding: .2rem .35rem; border-radius: .25rem; background: #e7eee2; white-space: nowrap; }
.mock-layout { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-top: .65rem; }
.mock-sidebar { display: grid; align-content: start; gap: .45rem; padding-right: .45rem; border-right: 1px solid var(--line); color: var(--grey); }
.mock-body { display: grid; gap: .55rem; }
.mock-swatch { flex: 0 0 .85rem; height: .85rem; border-radius: .18rem; background: #a8c9b3; }
.mock-line { flex: 1; height: .35rem; border-radius: 4px; background: #bfc2cb; }
.mock-field, .mock-slot { border: 1px solid var(--line); border-radius: .3rem; margin-top: .42rem; padding: .35rem .45rem; }
.mock-slot.is-selected { border-color: var(--accent); background: #edf3e7; }
.mock-action { display: inline-block; margin-top: .6rem; border-radius: .3rem; padding: .35rem .45rem; background: var(--accent); color: var(--white); }
.work-contact { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.15rem; }

.contact-layout { display: grid; grid-template-columns: 1.06fr 1fr; align-items: start; gap: clamp(1.8rem, 7vw, 7rem); }
.contact-copy h1 { font-size: clamp(3.2rem, 6.3vw, 6.5rem); }
.contact-copy .lede { margin-top: 1.1rem; }
.contact-links { display: grid; justify-items: start; gap: .45rem; margin-top: 1.45rem; font-style: normal; }
.contact-links a { overflow-wrap: anywhere; color: var(--accent-dark); font-weight: 700; text-underline-offset: .24rem; }
.contact-links > span { color: var(--grey); }
.contact-panel { border-radius: .75rem; background: var(--ink); color: var(--paper); padding: clamp(1.3rem, 3.8vw, 3rem); }
.contact-panel h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.contact-panel p { color: #d0dbd0; margin-block: .7rem 1.2rem; }
.field { display: grid; gap: .28rem; margin-bottom: .9rem; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { display: block; width: 100%; padding: .56rem .65rem; min-height: 43px; border: 1px solid #777a8b; border-radius: .32rem; font: inherit; color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; }
.contact-panel .button.primary { color: var(--ink); background: var(--highlight); }
.contact-panel .button.primary:hover { background: #f5f6bc; }

.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding-block: 2rem; }
.footer-inner p { color: #c7d5c9; font-size: .9rem; margin-top: .5rem; }
.footer-inner > a { color: var(--highlight); font-weight: 600; text-underline-offset: .25rem; }

@media (max-width: 970px) {
  .wrap { width: min(100% - 3rem, 1320px); }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 2rem, 1320px); }
  .site-header { grid-template-columns: 1fr auto; gap: .85rem .6rem; padding-block: .8rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
  .site-header > .button { grid-column: 2; grid-row: 1; min-height: 36px; padding: .4rem .7rem; }
  .focus-area, .home-about, .about-grid, .contact-layout, .work-feature { grid-template-columns: 1fr; }
  .hero { min-height: min(40rem, max(33rem, 85svh)); }
  .hero h1 { font-size: clamp(3.55rem, 12.5vw, 6rem); }
  .hero-shade { background: linear-gradient(0deg, #071913ed 0%, #0b1c16a3 58%, #0b1c1621 100%); }
  .hero .lede { margin-block: 1.25rem 1.45rem; }
  .home-about .portrait { grid-row: 2; }
  .service { grid-template-columns: 3.1rem 1fr; gap: .75rem 1rem; }
  .service-icon { width: 3.1rem; height: 3.1rem; }
  .service ul { grid-column: 2; }
  .section-head { align-items: start; flex-direction: column; }
  .work-visual { min-height: 250px; }
}
@media (max-width: 680px) {
  .portrait, .home-about .portrait { width: min(85%, 330px); justify-self: center; }
}
@media (max-width: 510px) {
  .story-grid, .process-grid, .work-grid { grid-template-columns: 1fr; }
  .work-contact { align-items: start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.work-visual-atomy { background: radial-gradient(ellipse at 79% 25%, #d8f5fa, #bcdfef 70%); }
.work-visual-dashboard { background: #eae5f2; }
.work-visual-landing { background: #efddd1; }
.mock-store { width: min(100%, 410px); }
.mock-store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin-top: .7rem; }
.mock-store-grid article, .mock-store-grid > div { min-width: 0; border: 1px solid #d4e5e9; padding: .35rem; border-radius: .35rem; }
.mock-store-grid article > span, .mock-store-grid > div > span { display: block; height: clamp(1.8rem, 5vw, 3.6rem); border-radius: .25rem; margin: 0 0 .3rem; background: linear-gradient(135deg, #d9eef4, #a7cbd9); }
.mock-store-grid article:nth-child(2) > span, .mock-store-grid > div:nth-child(2) > span { background: linear-gradient(135deg, #d3e6dd, #adccbd); }
.mock-store-grid article:nth-child(3) > span, .mock-store-grid > div:nth-child(3) > span { background: linear-gradient(135deg, #f2ece0, #dbccaf); }
.mock-store-grid strong { display: block; font-size: .75rem; overflow-wrap: anywhere; }
.mock-chart { display: flex; align-items: end; gap: 6%; height: 72px; padding-inline: .5rem; border-bottom: 1px solid #d3cbdf; margin-block: .65rem; }
.mock-chart span { height: var(--bar, 50%); flex: 1; border-radius: .3rem .3rem 0 0; background: linear-gradient(#a380c7, #6c4e90); }
.mock-metrics, .mock-landing-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin-top: .45rem; }
.mock-metrics span, .mock-landing-links span { border-radius: .22rem; padding: .25rem .35rem; background: #eeebf5; font-size: .73rem; overflow-wrap: anywhere; }
.mock-landing-hero { display: grid; gap: .2rem; margin-top: .45rem; padding: 1rem .7rem; border-radius: .3rem; background: #f1dfd1; }
.mock-landing-hero strong { font: 700 1.15rem var(--heading); }
.mock-landing-links span { background: #f8eee6; }
@media (min-width: 721px) {
  .more-projects .project-card:last-child { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
  .more-projects .project-card:last-child .project-copy { align-self: center; }
}

.brand-accent { color: var(--accent); }
.site-footer .brand-accent { color: var(--highlight); }

.featured-work { padding-block: clamp(1.65rem, 4vw, 3.35rem); }
.home .featured-work { border-top: 1px solid var(--line); }
.featured-work .eyebrow { margin-bottom: .85rem; }
.featured-project {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
}
.featured-project-media { align-self: stretch; background: #edf4fa; }
.featured-project-media img { width: 100%; height: 100%; object-fit: contain; }
.featured-project-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(1.25rem, 3.5vw, 2.8rem);
}
.featured-project-copy h2 { font-size: clamp(1.9rem, 3.5vw, 3.25rem); }
.featured-project-copy p { color: var(--grey); }
.featured-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: .85rem 0;
  padding: 0;
  list-style: none;
  color: var(--accent-dark);
  font-size: .9rem;
  font-weight: 600;
}
.featured-project-copy .button { margin-top: 1.1rem; }
@media (max-width: 720px) {
  .featured-project { grid-template-columns: minmax(0, 1fr); }
  .featured-project-media img { height: auto; }
}
