@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;800&family=Manrope:wght@400;450;500;550;600;650&display=swap');
:root {
  color-scheme:dark;
  --bg:#151617;
  --ink:#efefed;
  --muted:#a7a8a8;
  --line:#353638;
  --control-border:#77797b;
  --focus-ring:var(--ink);
  --button-fill:var(--ink);
  --button-ink:var(--bg);
  --caption-bg:#151617;
  --caption-ink:#efefed;
  --type-meta:.8125rem;
  --type-label:.875rem;
  --type-body:1rem;
}
* {
  box-sizing:border-box;
}
html {
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,Arial,sans-serif;
  font-optical-sizing:auto;
  font-size:var(--type-body);
  line-height:1.55;
}
a {
  color:inherit;
  text-decoration:none;
  overflow-wrap:anywhere;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:2px solid var(--focus-ring);
  outline-offset:0.25rem;
}
button {
  font:inherit;
}
img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.wrap {
  max-width:100rem;
  margin:auto;
  padding-inline-start:max(clamp(1rem,5vw,5rem),env(safe-area-inset-left));
  padding-inline-end:max(clamp(1rem,5vw,5rem),env(safe-area-inset-right));
}
nav {
  min-height:6.25rem;
  padding-block:1rem;
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem 2rem;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.logo {
  display:inline-flex;
  align-items:center;
  min-height:2.75rem;
  font-size:1.375rem;
  letter-spacing:-1px;
  font-weight:650;
}
.navlinks {
  display:flex;
  flex-wrap:wrap;
  gap:0.25rem 2rem;
  font-size:var(--type-label);
}
.eyebrow {
  font-size:var(--type-meta);
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--muted);
}
.hero {
  padding:4.75rem 0 3.75rem;
}
.hero-top {
  display:flex;
  justify-content:space-between;
  gap:1.875rem;
  align-items:flex-start;
}
.hero-top p {
  max-width:21.25rem;
  margin:0;
  color:var(--muted);
}
.wordmark {
  font-size:clamp(6.25rem,24.5vw,22.8125rem);
  font-weight:550;
  line-height:.96;
  letter-spacing:-.09em;
  margin:2.375rem 0 2.375rem -.065em;
}
.hero-bottom {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:1.875rem;
}
.hero-bottom h1 {
  font-size:clamp(1.625rem,3.3vw,3rem);
  line-height:1.16;
  font-weight:450;
  letter-spacing:-.045em;
  margin:0;
  max-width:42.5rem;
}
.pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  min-height:3rem;
  gap:1.5rem;
  border:1px solid var(--control-border);
  border-radius:3.125rem;
  padding:0.9375rem 1.4375rem;
  font-size:0.875rem;
  white-space:normal;
  line-height:1.5;
  text-align:center;
}
.pill.light {
  background:var(--button-fill);
  color:var(--button-ink);
  border-color:var(--button-fill);
}
.landscape {
  height:clamp(14.375rem,40vw,35.625rem);
  position:relative;
  overflow:hidden;
}
.landscape img {
  object-position:center 47%;
}
.landscape-caption {
  position:absolute;
  inset-block-end:1rem;
  inset-inline-start:1rem;
  max-width:calc(100% - 2rem);
  padding:0.5rem 1rem;
  border-radius:999px;
  font-size:0.8125rem;
  line-height:1.5;
  background:var(--caption-bg);
  color:var(--caption-ink);
}
.section {
  padding:5.9375rem 0;
  border-bottom:1px solid var(--line);
}
.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1.875rem;
  margin-bottom:2.25rem;
}
.section-head h2 {
  font-size:clamp(2rem,4.4vw,3.875rem);
  font-weight:450;
  letter-spacing:-.055em;
  line-height:1.1;
  margin:0.625rem 0 0;
}
.section-head p {
  color:var(--muted);
  max-width:36ch;
  font-size:1rem;
  margin:0;
}
.projects {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.75rem;
}
.project-preview {
  min-height:23.75rem;
  overflow:hidden;
  padding:2.125rem;
  position:relative;
}
.alder {
  background:#c7c9bc;
  color:#263729;
}
.alder-inner {
  background:#f1f0e8;
  min-height:19.5rem;
  padding:1.25rem;
  position:relative;
  overflow:hidden;
}
.mini-nav {
  font-size:0.75rem;
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem 1rem;
  justify-content:space-between;
  font-weight:600;
}
.alder-inner h3 {
  font-family:Georgia,serif;
  font-size:clamp(1.75rem,3vw,2.875rem);
  font-weight:400;
  line-height:1.1;
  position:relative;
  z-index:1;
  margin:1.875rem 0 0.625rem;
  max-width:13.75rem;
}
.alder-inner img {
  position:absolute;
  width:49%;
  height:70%;
  right:0;
  bottom:0;
}
.mini-label {
  font-size:0.75rem;
  position:relative;
  z-index:1;
}
.form-preview {
  background:#303236;
  color:#eee;
  padding:2.8125rem 2.1875rem;
}
.form-inner {
  border-top:1px solid #636466;
  padding-top:1.25rem;
}
.form-inner h3 {
  font-size:clamp(2rem,4vw,3.75rem);
  line-height:1.1;
  letter-spacing:-.06em;
  font-weight:500;
  max-width:20.625rem;
  margin:2.5rem 0 1.5rem;
}
.mini-button {
  font-size:0.75rem;
  padding:0.5625rem 1rem;
  border-radius:1.875rem;
  background:#d3e5b3;
  color:#263320;
  display:inline-block;
}
.project-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  padding:1.125rem 0;
  gap:1.25rem;
}
.project-meta h3 {
  margin:0;
  font-size:1.1875rem;
  font-weight:500;
}
.project-meta p {
  margin:0.25rem 0;
  color:var(--muted);
  font-size:0.875rem;
}
.project-action {
  font-size:0.875rem;
  white-space:nowrap;
  text-decoration:underline;
  text-underline-offset:.25em;
}
.split {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
  gap:12%;
}
.split h2 {
  font-size:clamp(1.875rem,4vw,3.375rem);
  line-height:1.15;
  letter-spacing:-.045em;
  font-weight:450;
  margin:1.125rem 0 1.5rem;
}
.muted {
  color:var(--muted);
}
.service {
  border-top:1px solid var(--line);
  padding:1.5rem 0;
  display:grid;
  grid-template-columns:2.5rem minmax(0,1fr);
  gap:0.625rem;
}
.service span {
  color:var(--muted);
  font-size:0.8125rem;
}
.service h3 {
  margin:0 0 0.5rem;
  font-size:1.375rem;
  font-weight:450;
}
.service p {
  margin:0;
  color:var(--muted);
  max-width:26.875rem;
}
.contact {
  padding:6.25rem 0 4.0625rem;
}
.contact h2 {
  font-size:clamp(2.8125rem,7.5vw,6.875rem);
  font-weight:450;
  line-height:1.1;
  letter-spacing:-.06em;
  margin:1.375rem 0 2.1875rem;
  max-width:56.25rem;
}
footer {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  border-top:1px solid var(--line);
  padding:1.5625rem 0 2.1875rem;
  font-size:0.75rem;
  color:var(--muted);
}
footer div {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0.5rem 1.5rem;
}
.demo-banner {
  --focus-ring:#efefed;
  padding:0.625rem max(1rem,5%);
  font-size:0.8125rem;
  background:#151617;
  color:#efefed;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:0.25rem 1.25rem;
}
.demo-hero {
  padding:5.625rem 0;
}
.demo-hero h1 {
  font-size:clamp(2.75rem,8vw,7.1875rem);
  font-weight:450;
  line-height:1.1;
  letter-spacing:-.055em;
  margin:1.375rem 0 1.875rem;
  max-width:60rem;
}
.demo-hero p {
  max-width:32.5rem;
  font-size:1.125rem;
}
.demo-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.875rem;
}
.demo-grid h3 {
  font-size:1.5rem;
  font-weight:450;
}
.demo-grid article {
  border-top:1px solid var(--line);
  padding:1.25rem 0;
}
.demo-note {
  padding:2.8125rem 0;
}
.alder-page {
  --bg:#efeee5;
  --ink:#263729;
  --muted:#596954;
  --line:#c6ccbf;
  --control-border:#697267;
  --focus-ring:#263729;
  color-scheme:light;
}
.alder-page .demo-hero h1 {
  font-family:Georgia,serif;
  letter-spacing:-.045em;
}
.form-page {
  --bg:#25272a;
  --ink:#f0f0eb;
  --muted:#b8bcbd;
  --line:#55585b;
  --button-fill:#d3e5b3;
  --button-ink:#25272a;
  --focus-ring:#f0f0eb;
}
.skip {
  position:absolute;
  inset-inline-start:-625rem;
  inset-block-start:1rem;
  max-width:calc(100% - 2rem);
  background:white;
  color:black;
  padding:0.75rem;
  z-index:9;
}
.skip:focus {
  inset-inline-start:1rem;
}
details {
  border-top:1px solid var(--line);
  padding:1.25rem 0;
}
summary {
  cursor:pointer;
  min-height:2.75rem;
  padding-block:0.75rem;
  font-size:1.25rem;
  line-height:1.4;
}
details p {
  color:var(--muted);
  max-width:65ch;
}
@media(max-width:43.75rem) {
  nav {
    min-height:5rem;
  }
  .navlinks {
    gap:1.25rem;
  }
  .hero {
    padding-top:2.375rem;
  }
  .hero-top {
    display:block;
  }
  .hero-top p {
    margin-top:1.125rem;
    font-size:1rem;
    max-width:34ch;
  }
  .wordmark {
    margin-top:2rem;
    margin-bottom:1.75rem;
  }
  .hero-bottom {
    display:block;
  }
  .hero-bottom .pill {
    margin-top:1.5625rem;
  }
  .section,.contact {
    padding:3.875rem 0;
  }
  .section-head {
    display:block;
  }
  .section-head p {
    margin-top:1.25rem;
  }
  .projects,.split,.demo-grid {
    grid-template-columns:1fr;
    gap:1.75rem;
  }
  .project-preview {
    min-height:21.25rem;
  }
  .alder-inner h3 {
    font-size:2.5rem;
  }
  .form-inner h3 {
    font-size:3.25rem;
  }
  .split {
    gap:2.125rem;
  }
  footer {
    flex-direction:column;
    align-items:flex-start;
  }
  footer div {
    flex-wrap:wrap;
  }
  .demo-banner {
    font-size:0.75rem;
  }
  .demo-hero {
    padding:3.4375rem 0;
  }
}
h1,h2,h3 {
  text-wrap:balance;
  overflow-wrap:break-word;
}
p {
  text-wrap:pretty;
  overflow-wrap:break-word;
}
main,section[id] {
  scroll-margin-block-start:1.5rem;
}
.navlinks a {
  display:inline-flex;
  align-items:center;
  min-height:2.75rem;
}
.pill>span[aria-hidden] {
  flex:none;
}
.projects>a {
  display:block;
  min-width:0;
}
.split>* {
  min-width:0;
}
.split p,.demo-note p {
  max-width:65ch;
}
.split .pill {
  margin-block-start:.5rem;
}
.service>span {
  font-variant-numeric:tabular-nums;
}
.service h3 {
  line-height:1.4;
}
.studio-intro {
  font-size:clamp(1.25rem,2vw,1.5rem);
  line-height:1.5;
  margin-block-start:0;
}
.contact>p {
  max-width:55ch;
}
.contact-address {
  font-size:var(--type-label);
  overflow-wrap:anywhere;
}
footer a,.demo-banner a {
  display:inline-flex;
  align-items:center;
  min-height:2.75rem;
  max-width:100%;
  text-decoration:underline;
  text-underline-offset:.25em;
}
.demo-grid h3 {
  line-height:1.3;
}
.demo-grid ul {
  padding-inline-start:1.25rem;
}
.demo-note h2 {
  font-size:1.75rem;
  font-weight:500;
  line-height:1.3;
  letter-spacing:-.025em;
  max-width:35ch;
}
.landscape::after {
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgb(255 255 255 / .1);
  pointer-events:none;
}
.alder-page .landscape::after {
  border-color:rgb(0 0 0 / .1);
}
@media(hover:hover) {
  .navlinks a:hover,.logo:hover {
    text-decoration:underline;
    text-underline-offset:.3em;
    text-decoration-thickness:from-font;
  }
  .pill:hover {
    border-color:var(--ink);
    text-decoration:underline;
    text-underline-offset:.25em;
  }
  .projects>a:hover .project-meta h3 {
    text-decoration:underline;
    text-underline-offset:.2em;
  }
  .projects>a:hover .project-action,footer a:hover,.demo-banner a:hover {
    text-decoration-thickness:2px;
  }
  summary:hover {
    text-decoration:underline;
    text-underline-offset:.2em;
  }
}
@media(prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior:smooth;
  }
  .pill {
    transition:transform 150ms cubic-bezier(.2,0,0,1),border-color 150ms cubic-bezier(.2,0,0,1);
  }
  .pill:active {
    transform:scale(.96);
  }
}
@media(max-width:55rem) {
  .projects,.split,.demo-grid {
    grid-template-columns:minmax(0,1fr);
    gap:2rem;
  }
  .project-preview {
    min-height:21.25rem;
  }
  .alder-inner {
    min-height:17rem;
  }
  .alder-inner h3 {
    font-size:2.5rem;
  }
  .form-inner h3 {
    font-size:3.25rem;
  }
}
@media(max-width:24rem) {
  .project-preview {
    padding:1.25rem;
  }
  .alder-inner {
    padding:1rem;
  }
  .alder-inner h3 {
    font-size:2rem;
  }
  .form-inner h3 {
    font-size:2.5rem;
  }
}
@media(forced-colors:active) {
  a:focus-visible,button:focus-visible,summary:focus-visible {
    outline-color:Highlight;
  }
  .pill {
    border-color:ButtonText;
  }
}

/* Cala display typography; concept brands retain their own type. */
.studio-page :is(.logo,.wordmark,.hero-bottom h1,.section-head h2,.split h2,.service h3,.contact h2,.project-meta h3,.case-heading h1,.case-section h2,.design-decisions h3,.case-next h2,.case-contact h2) {
  font-family:Manrope,Inter,Arial,sans-serif;
}
.studio-page .logo { letter-spacing:-.045em; font-weight:600; }

/* Keep Cala's navigation in view with a lightly frosted charcoal surface. */
.studio-root {
  --site-header-height:5rem;
  --bottom-blur-height:calc(clamp(3.5rem,9vh,5rem) + env(safe-area-inset-bottom,0px));
  scroll-padding-block-start:calc(var(--site-header-height) + 1rem);
  scroll-padding-block-end:calc(var(--bottom-blur-height) + 1rem);
}
.studio-page :is(main,section[id]) { scroll-margin-block-start:0; }
.studio-page footer { padding-block-end:calc(var(--bottom-blur-height) + 1rem); }
.site-header {
  position:sticky;
  inset-block-start:0;
  z-index:30;
  padding-block-start:env(safe-area-inset-top,0px);
  background:var(--bg);
  border-block-end:1px solid rgb(255 255 255 / .12);
  box-shadow:0 4px 20px rgb(0 0 0 / .06);
}
.site-header>nav {
  min-height:5rem;
  padding-block:.75rem;
  border:0;
}
.studio-page .skip { z-index:50; }
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .site-header {
    background:linear-gradient(rgb(255 255 255 / .025),transparent),rgb(21 22 23 / .8);
    -webkit-backdrop-filter:blur(18px) saturate(115%);
    backdrop-filter:blur(18px) saturate(115%);
  }
  /* A soft fade at the screen edge, below the floating navigation controls. */
  .studio-page::after {
    content:"";
    position:fixed;
    inset-inline:0;
    inset-block-end:0;
    block-size:var(--bottom-blur-height);
    z-index:10;
    pointer-events:none;
    background:rgb(21 22 23 / .12);
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 85%);
    mask-image:linear-gradient(to bottom,transparent,#000 85%);
  }
  .studio-page:has(:focus-visible)::after { opacity:0; }
}
@media(max-width:43.75rem) {
  .studio-root { --site-header-height:4.5rem; }
  .site-header>nav { min-height:4.5rem; gap:.25rem 1.25rem; }
}
@media(max-width:30rem) {
  .studio-root { --site-header-height:7.25rem; }
}
@media(prefers-reduced-transparency:reduce),(forced-colors:active) {
  .studio-page::after { display:none; }
  .site-header {
    background:var(--bg);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    box-shadow:none;
  }
}
.studio-page .wordmark { font-weight:500; letter-spacing:-.065em; line-height:1.05; margin-inline-start:-.035em; }
.studio-page :is(.hero-bottom h1,.section-head h2,.split h2,.contact h2,.case-heading h1,.case-section h2,.case-next h2,.case-contact h2) { letter-spacing:-.04em; }
