/* E.L.K Painting: their own two colours, split hard, with one straight cut-in line where they meet. */
:root {
  --ink: #24232a;          /* their site's ink */
  --ink-2: #2d2c34;
  --ink-3: #3a3942;
  --gold: #cda15e;         /* their logo and site gold */
  --gold-deep: #b98b45;
  --paper: #f3efe7;
  --on-ink: #f3efe7;
  --on-ink-soft: #bdb7ad;  /* 7:1 on ink */
  --on-gold: #24232a;
  --line: 1px;
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, ui-serif, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .7, .1, 1);
  --header: 64px;
  --bar: 58px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0; background: var(--ink); color: var(--on-ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: -.02em; margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.on-gold :focus-visible, .on-gold:focus-visible { outline-color: var(--ink); }

@view-transition { navigation: auto; }

.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 100; padding: .75rem 1rem;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 2px;
}
.skip:focus { top: .75rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tiny labels against enormous headings */
.label {
  display: block; font: 600 .6875rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.on-gold .label { color: var(--ink); }
.poster { font-size: clamp(3.3rem, 16vw, 10.5rem); }
.poster-xl { font-size: clamp(4rem, 22vw, 15rem); line-height: .82; }
.lede { font-size: clamp(1.05rem, 1.2vw + .8rem, 1.35rem); line-height: 1.5; max-width: 34ch; }
.soft { color: var(--on-ink-soft); }

/* the cut-in line: one straight line where two colours meet; it is laid on left to right */
.cut { display: block; height: 2px; background: currentColor; transform-origin: 0 50%; margin: 1.1rem 0 1.4rem; width: 4.5rem; }
.js .cut { transform: scaleX(0); transition: transform 1.1s var(--ease) .1s; }
.js .in-view .cut, .js .cut.in-view { transform: scaleX(1); }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.35rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bg); border-radius: 0;
  font: 700 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; transition: color .3s, background-color .3s;
}
.btn::after { /* a wet edge that runs across on hover */
  content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease); z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::after { transform: scaleX(1); }
.btn:hover { color: var(--bg); }
.btn--line { --bg: transparent; --fg: var(--on-ink); border-color: var(--on-ink); }
.btn--line:hover { color: var(--ink); }
.btn--line::after { background: var(--on-ink); }
.on-gold .btn { --bg: var(--ink); --fg: var(--gold); }
.on-gold .btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.on-gold .btn--line::after { background: var(--ink); }
.on-gold .btn--line:hover { color: var(--gold); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.textlink {
  display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: .2rem;
}
.textlink:hover { border-bottom-color: transparent; }

/* ------------------------------------------------------------------ header */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter);
  background: linear-gradient(rgba(20, 19, 24, .55), rgba(20, 19, 24, 0));
  transition: transform .4s var(--ease), background-color .3s, height .3s;
}
.site-head::after { /* the cut-in line under the header, laid on once the page moves */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease);
}
.site-head.is-solid { background: var(--ink); --header: 56px; height: 56px; }
.site-head.is-solid::after { transform: scaleX(1); }
.site-head.is-tucked { transform: translateY(-100%); }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; transition: height .3s; }
.is-solid .logo img { height: 34px; }
.nav-links { display: none; }
.head-tel {
  display: none; text-decoration: none; font: 700 .95rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
}
.menu-btn {
  appearance: none; background: none; border: 0; color: var(--on-ink); font: 600 .6875rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; min-height: 44px; padding: 0 .25rem; display: flex; align-items: center;
  gap: .6rem; cursor: pointer;
}
.menu-btn i { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s; }
.menu-btn i::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: currentColor; transition: transform .3s; }
.menu-btn[aria-expanded="true"] i { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(-90deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: calc(var(--header) + 1.5rem) var(--gutter) 6rem;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { border-top: 1px solid var(--ink-3); }
.menu li:last-child { border-bottom: 1px solid var(--ink-3); }
.menu a { display: block; padding: .55rem 0; text-decoration: none; font: 400 clamp(2rem, 9vw, 3rem)/1.1 var(--display); }
.menu a[aria-current="page"] { color: var(--gold); }
.menu .menu-foot { margin-top: 2rem; display: grid; gap: .4rem; }
.no-js .menu { position: static; clip-path: none; visibility: visible; padding-top: 1rem; }

@media (min-width: 960px) {
  :root { --header: 76px; }
  .menu-btn, .menu { display: none; }
  .nav-links { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
  .nav-links a {
    text-decoration: none; font: 600 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
    padding: .6rem 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
    transition: background-size .4s var(--ease);
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background-size: 100% 1px; }
  .head-tel { display: inline-flex; color: var(--gold); }
  .logo img { height: 48px; }
  .is-solid .logo img { height: 38px; }
  .site-head.is-tucked { transform: none; }
}

/* ------------------------------------------------------------------ phone bar: two colours, split hard */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.25fr 1fr;
  height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink); box-shadow: 0 -1px 0 var(--gold);
  transform: translateY(110%); transition: transform .45s var(--ease), height .3s;
}
.callbar.is-up { transform: none; }
.callbar.is-slim { height: calc(48px + env(safe-area-inset-bottom)); }
.callbar a, .callbar button {
  display: flex; align-items: center; justify-content: center; gap: .55rem; text-decoration: none; border: 0;
  font: 700 1rem/1 var(--sans); cursor: pointer; min-height: 44px;
}
.callbar a { color: var(--on-ink); }
.callbar a svg { color: var(--gold); width: 1.1em; height: 1.1em; }
.callbar button, .callbar .quote { background: var(--gold); color: var(--ink); box-shadow: inset 0 2px 0 var(--ink); }
.no-js .callbar { transform: none; }
@media (min-width: 960px) { .callbar { display: none; } }

/* ------------------------------------------------------------------ opening: one detail, then the whole job */
.open { position: relative; min-height: 100svh; display: grid; grid-template-rows: minmax(46svh, 1fr) auto; background: var(--ink); }
.open-photo { position: relative; overflow: hidden; margin: 0; }
.open-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform-origin: var(--fx, 47%) var(--fy, 19%);
}
.js .open-photo img { animation: draw-back 3.2s var(--ease) .15s both; }
@keyframes draw-back { from { transform: scale(3.1); } to { transform: scale(1); } }
.open-photo figcaption {
  position: absolute; left: var(--gutter); bottom: .9rem; right: var(--gutter); color: #fff;
  font: 600 .625rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.open-photo::after { /* the line the close-up is about, traced once the picture settles */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
}
.js .open-photo::after { animation: lay 1s var(--ease) 2.6s both; }
.no-js .open-photo::after, .open-photo.static::after { transform: scaleX(1); }
@keyframes lay { to { transform: scaleX(1); } }
.open-text { padding: 1.3rem var(--gutter) 1.5rem; }
.open-text h1 .label { margin-bottom: .9rem; }
.open-text h1 .poster { display: block; }
.open-text .lede { margin: .8rem 0 1.1rem; }
.js .open-text > * { animation: rise .9s var(--ease) both; }
.js .open-text > :nth-child(1) { animation-delay: 1.1s; }
.js .open-text > :nth-child(2) { animation-delay: 1.3s; }
.js .open-text > :nth-child(3) { animation-delay: 1.45s; }
.js .open-text > :nth-child(4) { animation-delay: 1.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 0; margin: 1rem 0 0; }
.trust li { font: 600 .6875rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-soft); }
.trust li::before { content: ""; display: inline-block; width: .55rem; height: 1px; background: var(--gold); vertical-align: middle; margin-right: .45rem; }
@media (min-width: 960px) {
  .open { grid-template-columns: 1fr 1fr; grid-template-rows: 100svh; }
  .open-photo { height: 100svh; }
  .open-photo::after { left: auto; top: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .no-js .open-photo::after { transform: scaleY(1); }
  @keyframes lay { to { transform: scale(1); } }
  .open-text { align-self: end; padding: 0 var(--gutter) 9vh; }
}

/* ------------------------------------------------------------------ inside / outside: one picture to a screen */
.io { display: grid; }
.io a { position: relative; display: block; min-height: 47svh; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.io img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.io a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(18, 17, 22, .7) 62%, rgba(18, 17, 22, .9)); }
.io a:hover img { transform: scale(1.04); }
.io .io-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.6rem; }
.io .poster-xl { display: block; margin: .3rem 0 .5rem; font-size: clamp(3.6rem, 19vw, 15rem); }
.io p { margin: 0; font-size: 1rem; max-width: 30ch; }
.io .arrow { position: absolute; right: 0; bottom: .25rem; width: 44px; height: 44px; border: 1px solid #fff; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.io a:hover .arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.io-foot { padding: 1.4rem var(--gutter); border-bottom: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: baseline; justify-content: space-between; }
.io-foot p { margin: 0; color: var(--on-ink-soft); }
@media (min-width: 960px) {
  .io { grid-template-columns: 1fr 1fr; }
  .io a { min-height: 92vh; }
  .io a + a { box-shadow: -2px 0 0 var(--gold); }
}

/* ------------------------------------------------------------------ sections */
.band { padding: clamp(2.2rem, 8vw, 8rem) var(--gutter); }
.on-gold { background: var(--gold); color: var(--on-gold); }
.wrap { max-width: 1280px; margin: 0 auto; }
.band-head { margin-bottom: 1.2rem; }
.band-head h2 { margin-top: .6rem; }

/* proof */
.proof .score { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.proof .score b { font: 400 clamp(5rem, 27vw, 15rem)/.8 var(--display); color: var(--gold); letter-spacing: -.04em; }
.proof .score span { padding-bottom: .5rem; }
.proof .lede { margin: 1rem 0 0; }

/* rows that swipe, with the next card showing at the edge */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 420px); gap: .9rem; overflow-x: auto;
  scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) .6rem;
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
  list-style: none;
}
.row > * { scroll-snap-align: start; }
.row:focus-visible { outline-offset: -2px; }
.quote-card { background: var(--ink-2); padding: 1.6rem 1.4rem 1.4rem; margin: 0; display: flex; flex-direction: column; border-top: 2px solid var(--gold); }
.quote-card blockquote { margin: 0 0 1rem; font: 400 1.125rem/1.4 var(--display); }
.quote-card figcaption { margin-top: auto; font-size: .9rem; color: var(--on-ink-soft); }
.quote-card figcaption b { color: var(--on-ink); font-weight: 700; }
.row-foot { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.row-hint { font: 600 .6875rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-soft); }

.shot { margin: 0; }
.shot a { display: block; text-decoration: none; }
.shot img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ink-2); }
.shot figcaption { margin-top: .6rem; font: 600 .6875rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-soft); }
.row--shots { grid-auto-columns: min(64%, 320px); }

/* colour advice: photo and gold, split hard */
.splitband { display: grid; }
.splitband figure { margin: 0; min-height: 30svh; position: relative; }
.splitband figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.splitband .band { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 960px) { .splitband { grid-template-columns: 1fr 1fr; } .splitband figure { min-height: 88vh; } }

/* the call */
.callout { text-align: left; }
.callout .big-tel {
  display: inline-block; margin: .8rem 0 1rem; text-decoration: none; color: var(--gold);
  font: 400 clamp(3rem, 15.5vw, 9.5rem)/.9 var(--display); letter-spacing: -.03em; white-space: nowrap;
}
.callout .big-tel:hover { color: var(--on-ink); }

/* ------------------------------------------------------------------ inner pages */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18,17,22,.4), transparent 22%, transparent 34%, rgba(18,17,22,.72) 58%, rgba(18,17,22,.92)); }
.page-hero .wrap { width: 100%; padding: 0 var(--gutter) 2rem; }
.page-hero h1 { margin: .6rem 0 .8rem; }
.page-hero p { margin: 0; max-width: 36ch; font-size: 1.08rem; }
.page-hero--plain { min-height: auto; padding-top: calc(var(--header) + 3rem); color: var(--on-ink); }
.page-hero--plain::before { display: none; }

.crumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; font: 600 .6875rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.crumbs a { text-decoration: none; color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }

.prose { max-width: 62ch; }
.prose h2 { font-size: clamp(2.2rem, 8vw, 4rem); margin: 0 0 1rem; }
.prose h3 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--on-ink-soft); }
.on-gold .prose p, .on-gold .prose li { color: var(--ink); }
.prose strong { color: var(--on-ink); }
.cols { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .cols { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ticks li { padding: .85rem 0; border-top: 1px solid var(--ink-3); display: flex; gap: .9rem; align-items: baseline; color: var(--on-ink); }
.ticks li:last-child { border-bottom: 1px solid var(--ink-3); }
.ticks li::before { content: ""; flex: none; width: .9rem; height: 2px; background: var(--gold); transform: translateY(-.3em); }
.on-gold .ticks li { border-color: rgba(36, 35, 42, .25); color: var(--ink); }
.on-gold .ticks li::before { background: var(--ink); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.tags li { border: 1px solid currentColor; padding: .45rem .8rem; font-size: .95rem; }

.service-links { display: grid; gap: 2px; background: var(--gold); }
.service-links a { position: relative; display: block; min-height: 60svh; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.service-links img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service-links a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(18,17,22,.7) 60%, rgba(18,17,22,.92)); }
.service-links a:hover img { transform: scale(1.04); }
.service-links .t { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.5rem; }
.service-links .t span:last-child { display: block; margin-top: .5rem; max-width: 34ch; }
.service-links h2 { font-size: clamp(3rem, 13vw, 6.5rem); margin-top: .4rem; }
@media (min-width: 960px) { .service-links { grid-template-columns: repeat(3, 1fr); } .service-links a { min-height: 80vh; } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; border: 0; padding: 0; }
.filters legend { width: 100%; margin-bottom: .6rem; }
.filters label { position: relative; }
.filters input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.filters span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--on-ink-soft); font-weight: 600; }
.filters input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filters input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid a { display: block; overflow: hidden; }
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); background: var(--ink-2); }
.grid a:hover img { transform: scale(1.05); }
.gallery:has(#f-interior:checked) .grid li:not([data-cat="interior"]),
.gallery:has(#f-exterior:checked) .grid li:not([data-cat="exterior"]),
.gallery:has(#f-commercial:checked) .grid li:not([data-cat="commercial"]) { display: none; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(14, 13, 17, .94); }
.lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 4rem 1rem 1rem; }
.lightbox img { max-height: 100%; width: auto; max-width: 100%; margin: auto; object-fit: contain; }
.lightbox figcaption { text-align: center; color: var(--on-ink-soft); padding: .8rem; }
.lightbox .close { position: absolute; top: .75rem; right: .75rem; }

/* faq */
.faq { border-top: 1px solid var(--ink-3); }
.faq details { border-bottom: 1px solid var(--ink-3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font: 400 clamp(1.35rem, 4.5vw, 1.9rem)/1.2 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .2rem; top: 50%; width: 18px; height: 2px; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); }
.faq summary::before { content: ""; position: absolute; right: calc(.2rem + 8px); top: calc(50% - 8px); width: 2px; height: 18px; background: var(--gold); transition: transform .3s; }
.faq details[open] summary::before { transform: scaleY(0); }
.faq .a { padding: 0 0 1.4rem; color: var(--on-ink-soft); max-width: 62ch; }

/* contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { padding: 1rem 0; border-top: 1px solid var(--ink-3); display: grid; gap: .2rem; }
.facts dt { font: 600 .6875rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; font-size: 1.1rem; }
.facts a { text-decoration: none; border-bottom: 1px solid var(--gold); }

/* forms (the quote form and the contact page share these) */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--sans); color: var(--on-ink); background: var(--ink-2);
  border: 1px solid var(--ink-3); border-bottom: 2px solid var(--on-ink-soft); border-radius: 0; padding: .8rem .85rem; min-height: 50px;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); background: var(--ink-3); }
.form .small { font-size: .85rem; color: var(--on-ink-soft); margin: 0; }
.form .small a { color: var(--gold); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the quote form rises over the page */
.drawer {
  border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; background: var(--ink);
  color: var(--on-ink); border-top: 2px solid var(--gold);
}
.drawer::backdrop { background: rgba(14, 13, 17, .7); }
.drawer[open] { animation: up .45s var(--ease); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.drawer .inner { padding: 1.4rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; overflow-y: auto; max-height: 92svh; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.drawer h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); margin-top: .4rem; }
.iconbtn { appearance: none; border: 1px solid var(--on-ink-soft); background: none; color: var(--on-ink); width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; flex: none; }
.iconbtn:hover { border-color: var(--gold); color: var(--gold); }
.carried { display: none; background: var(--ink-2); border-left: 2px solid var(--gold); padding: .7rem .9rem; font-size: .95rem; }
.carried.has-note { display: block; }
.thanks { display: none; }
@media (min-width: 700px) { .drawer { margin: auto; max-width: 600px; border: 1px solid var(--ink-3); border-top: 2px solid var(--gold); } }

/* ------------------------------------------------------------------ footer */
.site-foot { background: #1c1b21; padding: 2.4rem var(--gutter) calc(var(--bar) + 1.4rem); border-top: 2px solid var(--gold); font-size: .95rem; }
.site-foot .wrap { display: grid; gap: 1.6rem 1.2rem; grid-template-columns: 1fr 1fr; }
.site-foot .wrap > :first-child, .site-foot .fine { grid-column: 1 / -1; }
.site-foot .wrap > :first-child p { margin: .6rem 0 0; }
.site-foot img { height: 48px; width: auto; }
.site-foot ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .3rem; }
.site-foot li a { display: inline-block; padding: .2rem 0; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot .fine { color: var(--on-ink-soft); font-size: .82rem; display: grid; gap: .3rem; border-top: 1px solid var(--ink-3); padding-top: 1.4rem; }
.site-foot .credit a { color: var(--on-ink-soft); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) { .site-foot { padding-bottom: 2.5rem; } .site-foot .wrap { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .site-foot .fine { grid-column: 1 / -1; grid-template-columns: 1fr auto; } }

/* scroll arrival: quiet, and only when scripts run */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .cut { transform: none; }
  @view-transition { navigation: none; }
}

/* a job's picture grows into the top of its own page (browsers that support it; others simply load the page) */
.vt-inside img { view-transition-name: inside; }
.vt-outside img { view-transition-name: outside; }
.vt-commercial img { view-transition-name: commercial; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.22, .7, .1, 1); }

.h-mid { font-size: clamp(2.6rem, 11.5vw, 7rem); }
@media (max-width: 959px) { .splitband .poster { font-size: clamp(2.6rem, 12vw, 5rem); } }
.site-foot .inline { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
@media (max-width: 959px) { .site-foot .follow { grid-column: 1 / -1; } }
.page-hero:not(.page-hero--plain) .label, .page-hero:not(.page-hero--plain) .crumbs a, .io .label, .service-links .label { color: #e6c58f; }
