@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f1e8;
  --cream: #fdf8ef;
  --ink: #2e221b;
  --muted: #62554b;
  --rust: #793927;
  --rust-deep: #5e2a1e;
  --line: #dcd0c1;
  --dark: #2b201b;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --gutter: clamp(20px, 4.6vw, 76px);
  --section: clamp(72px, 8.3vw, 132px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
button { color: inherit; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { color: var(--rust); font-weight: 400; }

:focus-visible {
  outline: 2px solid #a35434;
  outline-offset: 5px;
}

.sr-only, .icon-library {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--cream);
  background: var(--rust-deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1320px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section-space { padding-block: var(--section); }

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .83rem;
  font-weight: 800;
  line-height: 1.25;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--rust); color: var(--cream); }
.button-primary:hover { background: var(--rust-deep); }
.button-outline { border-color: #cdb9a9; color: var(--rust-deep); }
.button-outline:hover { background: #ede2d5; border-color: #a68471; }

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  width: fit-content;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: #a4836f;
  text-underline-offset: 5px;
}
.inline-link:hover { color: var(--rust); text-decoration-color: currentColor; }
.inline-link .icon { width: 16px; height: 16px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--rust);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.stitch {
  display: inline-block;
  width: 30px;
  height: 6px;
  border-block: 1px dashed currentColor;
}
.section-no {
  min-width: 32px;
  padding-block: 3px;
  border-bottom: 1px solid currentColor;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 81px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
  font: 400 1.43rem/.85 var(--serif);
  letter-spacing: .01em;
}
.brand img { flex: none; width: 43px; height: 43px; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.6vw, 54px); }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 800;
  transition: color 180ms ease;
}
.site-nav a:hover { color: var(--rust); }
.header-quote { justify-self: end; min-height: 44px; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 4.9vw, 80px);
  padding-block: clamp(28px, 3.4vw, 50px) 30px;
}
.hero-copy { padding-block: 18px 35px; }
.hero h1 {
  margin-block: 22px 23px;
  font-size: clamp(4.45rem, 7.7vw, 7.8rem);
  line-height: .88;
  letter-spacing: -.035em;
}
.hero h1 em { display: block; }
.hero-intro {
  max-width: 35ch;
  color: var(--muted);
  font-size: clamp(.96rem, 1.25vw, 1.14rem);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px 23px;
  margin-top: 29px;
}
.demo-mark {
  display: block;
  margin-top: 21px;
  color: var(--muted);
  font-size: .72rem;
}

.hero-figure { min-width: 0; }
.hero-frame {
  position: relative;
  isolation: isolate;
  height: clamp(430px, 42vw, 606px);
  overflow: hidden;
  border-radius: 4px clamp(64px, 8.8vw, 130px) 4px 4px;
  background: #4d2e23;
}
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image {
  object-fit: cover;
  object-position: 50% 57%;
  transform: translateY(var(--drift, 0px)) scale(1.06);
  opacity: 0;
  transition: opacity 540ms ease;
}
.hero-image:nth-child(2) { object-position: 50% 53%; }
.hero-image.is-current { opacity: 1; }
.hero-scrim {
  pointer-events: none;
  background: linear-gradient(0deg, rgba(23, 14, 10, .79), transparent 31%);
}
.frame-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 245, 229, .55);
  border-radius: 50%;
  color: #fff6e8;
  background: rgba(39, 23, 17, .27);
}
.frame-tag .icon { width: 18px; height: 18px; }
.photo-meta {
  position: absolute;
  right: clamp(15px, 2.3vw, 32px);
  bottom: clamp(14px, 2.25vw, 31px);
  left: clamp(15px, 2.3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  color: #fff8ed;
}
.photo-caption { display: grid; gap: 3px; }
.photo-number {
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  font-variant-numeric: tabular-nums;
}
.photo-name { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--serif); }
.slide-controls { display: flex; gap: 8px; }
.slide-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 248, 237, .7);
  border-radius: 50%;
  background: rgba(35, 24, 18, .24);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.slide-controls button:hover { background: var(--cream); color: var(--ink); }
.slide-controls button:focus-visible { outline-color: var(--cream); }
.slide-controls .icon { width: 18px; height: 18px; }
.hero-figure > figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.index-strip { border-block: 1px solid var(--line); background: #efe5d9; }
.index-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  min-height: 62px;
  align-items: center;
  color: #554235;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.index-inner > * { display: flex; align-items: center; gap: 10px; }
.index-inner > a { justify-self: end; min-height: 44px; color: var(--rust-deep); }
.index-inner > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.index-inner .icon { width: 16px; height: 16px; }
.index-inner .stitch { width: 25px; }
.index-inner i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(29px, 4vw, 59px);
}
h2 {
  margin-top: 13px;
  font-size: clamp(3.7rem, 7vw, 6.7rem);
  line-height: .9;
  letter-spacing: -.028em;
}
.section-heading > p { max-width: 29ch; padding-bottom: 4px; color: var(--muted); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4.1vw, 61px);
}
.service-card:nth-child(2) { margin-top: clamp(21px, 4.3vw, 58px); }
.service-photo { position: relative; overflow: hidden; border-radius: 4px; background: #e2d2c1; }
.service-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.63;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.25, .65, .3, 1);
}
@media (hover: hover) {
  .service-card:hover img { transform: scale(1.035); }
}
.service-photo figcaption, .craft-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(43, 31, 23, .87);
  color: #fff5e8;
  font-size: .67rem;
  font-weight: 750;
  line-height: 1.35;
}
.service-body {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: clamp(10px, 1.5vw, 23px);
  padding-top: 18px;
}
.service-number { padding-top: 10px; color: var(--rust); font-size: .72rem; font-weight: 800; }
.service-body h3 { font-size: clamp(2.8rem, 4.6vw, 4.6rem); line-height: 1; }
.service-body p { max-width: 43ch; margin-top: 10px; color: var(--muted); }
.service-body .inline-link { margin-top: 9px; }

.craft {
  padding-block: clamp(55px, 7vw, 102px);
  overflow: hidden;
  color: #fff5e8;
  background: radial-gradient(ellipse at 80% 12%, #463027 0%, var(--dark) 70%);
}
.craft-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 8vw, 128px);
}
.craft-photo {
  position: relative;
  overflow: hidden;
  border-radius: clamp(68px, 9vw, 134px) 4px 4px 4px;
  background: #684c39;
}
.craft-photo img {
  width: 100%;
  height: clamp(350px, 37vw, 510px);
  object-fit: cover;
  object-position: 50% 53%;
}
.craft .eyebrow, .craft em { color: #efb996; }
.craft-copy > p:not(.eyebrow) { max-width: 41ch; margin-top: 25px; color: #e8d7c8; }
.craft-copy .inline-link { margin-top: 14px; color: #fff5e8; text-decoration-color: #d59d7c; }
.craft-copy .inline-link:hover { color: #efb996; }

.quote { background: #f0e7dc; }
.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
  align-items: center;
  gap: clamp(32px, 7vw, 118px);
}
.quote h2 em { display: block; }
.quote-copy > p:not(.eyebrow) { max-width: 38ch; margin-top: 24px; color: var(--muted); }
.quote-copy > a { margin-top: 13px; }
.quote-panel {
  min-width: 0;
  padding: clamp(22px, 3.1vw, 43px);
  border: 1px solid #dfcfc0;
  border-radius: 5px;
  background: var(--cream);
  box-shadow: 0 22px 50px rgba(79, 47, 28, .08);
}
.quote-panel h3 { margin-bottom: 16px; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.quote-fields { margin-bottom: 17px; }
.quote-fields fieldset { margin: 0 0 15px; padding: 0; border: 0; min-width: 0; }
.quote-fields legend, .quote-fields > label { margin-bottom: 7px; padding: 0; font-size: .81rem; font-weight: 800; }
.quote-fields > label { display: block; }
.quote-fields > label span { color: var(--muted); font-weight: 600; }
.quote-options { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-options label { display: inline-grid; position: relative; cursor: pointer; }
.quote-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.quote-options span {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #cdb8a8;
  border-radius: 3px;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease;
}
.quote-options span::before {
  width: 12px;
  height: 12px;
  border: 1px solid #896f60;
  border-radius: 50%;
  content: "";
}
.quote-options input:checked + span { border-color: #a87b65; color: var(--rust-deep); background: #f2e4d7; }
.quote-options input:checked + span::before { border: 3px solid var(--rust); background: var(--cream); }
.quote-options input:focus-visible + span { outline: 2px solid #a35434; outline-offset: 3px; }
.quote-fields textarea {
  display: block;
  width: 100%;
  min-height: 94px;
  resize: vertical;
  padding: 10px 11px;
  border: 1px solid #cdb8a8;
  border-radius: 3px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.quote-fields textarea::placeholder { color: #746456; opacity: 1; }
.quote-panel .button { width: 100%; justify-content: start; }
.quote-arrow { margin-left: auto; }
.quote-panel > p { margin-top: 10px; color: var(--muted); font-size: .75rem; }

.site-footer { padding-block: clamp(45px, 5.3vw, 76px) 16px; background: #e8dacc; }
.footer-main {
  display: grid;
  grid-template-columns: 1.12fr 1.2fr .68fr;
  gap: 24px;
  padding-bottom: 35px;
}
.footer-about p { margin-top: 14px; color: var(--muted); font-size: .86rem; }
.footer-group { display: flex; flex-direction: column; align-items: start; }
.footer-group .eyebrow { margin-bottom: 7px; }
.footer-group > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-height: 44px;
  overflow-wrap: anywhere;
  font-size: .86rem;
  font-weight: 750;
}
.footer-group a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-group .icon, .footer-bottom .icon { width: 14px; height: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding-top: 12px;
  border-top: 1px solid #cdbdad;
  color: var(--muted);
  font-size: .72rem;
}
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; font-weight: 800; }

.will-reveal { opacity: 0; transform: translateY(19px); }
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 490ms ease, transform 610ms cubic-bezier(.22, .6, .3, 1);
}

@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(3.95rem, 8.1vw, 6.7rem); }
  .hero-frame { height: clamp(385px, 49vw, 510px); }
  .hero-actions { column-gap: 15px; }
  .craft-inner, .quote-inner { gap: clamp(26px, 5.6vw, 58px); }
}

@media (max-width: 780px) {
  :root { --gutter: clamp(18px, 5vw, 37px); --section: clamp(63px, 12vw, 91px); }
  html { scroll-padding-top: 84px; }
  .header-inner { position: relative; display: flex; justify-content: space-between; gap: 0 15px; min-height: 66px; flex-wrap: wrap; }
  .brand { font-size: 1.37rem; }
  .brand img { width: 39px; height: 39px; }
  .header-quote { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #cdb9a9;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .site-nav { width: 100%; order: 3; flex-wrap: wrap; gap: 0 22px; }
  .is-enhanced .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    width: min(100%, 310px);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 0 0 5px 5px;
    background: var(--cream);
    box-shadow: 0 16px 28px rgba(46, 34, 27, .11);
  }
  .is-enhanced .site-nav:not(.is-open) { display: none; }
  .is-enhanced .site-nav a { padding-inline: 8px; }
  .is-enhanced .site-nav a + a { border-top: 1px solid var(--line); }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    padding-block: 32px 23px;
  }
  .hero-copy { padding-block: 0; }
  .hero h1 { margin-block: 16px 17px; font-size: clamp(3.34rem, 12.9vw, 6.3rem); }
  .hero-intro { max-width: 39ch; }
  .hero-actions { margin-top: 21px; }
  .demo-mark { margin-top: 14px; }
  .hero-frame { height: clamp(324px, 92vw, 530px); border-top-right-radius: clamp(58px, 16vw, 105px); }
  .index-inner { grid-template-columns: 1fr auto; }
  .index-inner .index-center { display: none; }
  .section-heading { display: grid; gap: 13px; }
  .section-heading > p { max-width: 37ch; }
  h2 { font-size: clamp(3.35rem, 9vw, 5.7rem); }
  .craft-inner, .quote-inner { grid-template-columns: minmax(0, 1fr); gap: 31px; }
  .craft-copy { grid-row: 1; }
  .craft-photo img { height: clamp(270px, 64vw, 440px); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 535px) {
  .index-inner { gap: 7px; font-size: .61rem; letter-spacing: .06em; min-height: 55px; }
  .index-inner > * { gap: 5px; }
  .index-inner .icon { width: 14px; height: 14px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 37px; }
  .service-card:nth-child(2) { margin-top: 0; }
  .service-body { grid-template-columns: 22px 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; padding-bottom: 22px; }
  .footer-about { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .hero-image { transform: none; }
  .will-reveal { opacity: 1; transform: none; }
}
