@font-face { font-family: "Playfair Display"; src: url("assets/playfair-display-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/playfair-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/instrument-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #121a15;          /* the logo's deep green, darkened */
  --ink-2: #19231d;
  --ink-3: #222e27;
  --gold: #b9996f;         /* the logo's roofline */
  --gold-hi: #cfb48c;      /* gold text on dark grounds */
  --gold-dk: #7a5d3a;      /* gold text on light grounds */
  --cream: #ece6de;        /* the logo's lettering */
  --paper: #f6f3ee;
  --white: #ffffff;
  --text: #1f2420;
  --muted: #565c56;
  --line: #e4ded4;
  --on-dark: rgba(255, 255, 255, .86);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(18, 26, 21, .06), 0 10px 30px rgba(18, 26, 21, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

.kicker { font: 600 13px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 14px; }
.kicker--dark { color: var(--gold-dk); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font: 700 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .78); }
.btn--line:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 15px; }
.btn--xl { min-height: 60px; padding: 0 30px; font-size: 15px; width: 100%; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 13px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dk); font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 104px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.brand__mark { width: 66px; height: 66px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font: 600 38px/.95 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.brand__by { font: 600 16px/1.2 var(--serif); letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; }
.brand__sub { font: 600 10px/1.2 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-hi); margin-top: 7px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--on-dark); padding: 12px 12px; position: relative; }
.nav a:hover { color: var(--white); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--gold); }
.nav a[aria-current] { color: var(--white); }
.top__cta { margin-left: 18px; }
.top__call { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); min-height: min(820px, 100svh); display: flex; align-items: flex-end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 18, 14, .94) 0%, rgba(12, 18, 14, .82) 38%, rgba(12, 18, 14, .42) 72%, rgba(12, 18, 14, .3) 100%),
  linear-gradient(0deg, rgba(12, 18, 14, .7) 0%, rgba(12, 18, 14, 0) 40%),
  linear-gradient(180deg, rgba(12, 18, 14, .7) 0%, rgba(12, 18, 14, 0) 22%); }
.hero__in { padding: 160px 0 56px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); max-width: 21ch; }
.hero h1 span { color: var(--gold-hi); }
.hero__lede { max-width: 34rem; margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--on-dark); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__feats { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 760px; }
.hero__feats li { display: flex; align-items: center; gap: 12px; font: 600 12px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.hero__feats svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }

/* Section heads */
.head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: 40px; }
.head h2 { font-size: clamp(32px, 3.4vw, 44px); }
.head__lede { color: var(--muted); font-size: 17px; max-width: 30rem; }
.head--dark { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
.head--dark h2 { color: var(--white); }
.head--dark .head__lede { color: var(--on-dark); }

/* Services */
.services { padding: 88px 0 96px; background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(18, 26, 21, .06), 0 18px 40px rgba(18, 26, 21, .12); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card--cta { background: var(--ink); border-color: var(--ink); color: var(--white); justify-content: center; }
.card--cta p { color: var(--on-dark); }
.card--cta .link { color: var(--gold-hi); margin-top: 10px; align-self: flex-start; }

/* Work */
.work { position: relative; padding: 88px 0 96px; background:
  radial-gradient(120% 90% at 85% 0%, rgba(185, 153, 111, .1) 0%, rgba(185, 153, 111, 0) 55%),
  radial-gradient(90% 80% at 0% 100%, rgba(43, 60, 50, .55) 0%, rgba(43, 60, 50, 0) 60%),
  var(--ink); color: var(--white); }
.work__more { white-space: nowrap; }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pair { margin: 0; }
.pair__frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: rgba(255, 255, 255, .85); border: 3px solid rgba(255, 255, 255, .85); border-radius: var(--radius); overflow: hidden; }
.pair__frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tag { position: absolute; bottom: 14px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 9px 13px; border-radius: 2px; }
.tag--l { left: 14px; background: var(--ink); color: var(--white); }
.tag--r { right: 14px; background: var(--gold); color: var(--ink); }
.pair figcaption { margin-top: 14px; font-size: 15.5px; color: var(--on-dark); }

/* About / gallery */
.about { padding: 88px 0 96px; background:
  linear-gradient(180deg, #efe9e0 0%, var(--paper) 60%); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 18px 16px; font: 600 16px/1.35 var(--serif); }
.note { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.note p { font-size: 17px; }

/* Estimate */
.estimate { padding: 88px 0; background:
  radial-gradient(90% 100% at 100% 100%, rgba(185, 153, 111, .1) 0%, rgba(185, 153, 111, 0) 60%),
  var(--ink-2); color: var(--white); }
.est__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.est__copy h2 { font-size: clamp(36px, 4vw, 52px); }
.est__lede { margin-top: 16px; font-size: 18px; color: var(--on-dark); max-width: 28rem; }
.est__facts { margin-top: 32px; display: grid; gap: 18px; }
.est__facts li { display: flex; align-items: center; gap: 16px; }
.est__facts svg { width: 46px; height: 46px; padding: 12px; border: 1.5px solid rgba(207, 180, 140, .6); border-radius: 50%; fill: var(--gold-hi); flex: none; }
.est__facts small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); font-weight: 600; }
.est__facts span { font-size: 18px; font-weight: 600; }
.est__facts a { text-decoration: none; }
.est__facts a:hover { text-decoration: underline; }
.form { background: var(--white); color: var(--text); border-radius: 6px; padding: 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label span[aria-hidden] { color: var(--gold-dk); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--text); background: #fbfaf8; border: 1.5px solid #d6cfc4; border-radius: var(--radius); padding: 14px 15px; min-height: 54px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-dk); box-shadow: 0 0 0 3px rgba(185, 153, 111, .3); background: var(--white); }
.field [aria-invalid="true"] { border-color: #a3271b; }
.form__btn { grid-column: 1 / -1; margin-top: 4px; }
.form__note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); text-align: center; }
.form__msg { grid-column: 1 / -1; color: #a3271b; font-weight: 600; font-size: 15px; }
.form__done { grid-column: 1 / -1; background: #f3efe8; border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; font-size: 15px; }
.form__done a { font-weight: 700; color: var(--gold-dk); }
.form__text { margin: 0; white-space: pre-wrap; font: 400 14.5px/1.5 var(--sans); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.form__done .btn--line { color: var(--ink); border-color: var(--ink); justify-self: start; }

/* Footer */
.foot { background: #0c120e; color: var(--on-dark); padding: 48px 0 28px; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 48px; }
.foot .brand__mark { width: 56px; height: 56px; }
.foot .brand__name { font-size: 32px; }
.foot .brand__by { font-size: 14px; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.foot__nav a { color: var(--on-dark); text-decoration: none; font-size: 15px; padding: 11px 10px; }
.foot__nav a:hover { color: var(--white); text-decoration: underline; }
.foot__contact { text-align: right; }
.foot__line { font: 600 24px/1.2 var(--serif); color: var(--gold-hi); margin-bottom: 8px; }
.foot__contact a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-block; padding: 6px 0; }
.foot__note { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .7); text-align: center; }
.foot__note a { color: rgba(255, 255, 255, .9); }

.callbar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top__cta { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head--dark { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .head--dark .work__more { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .head, .head--dark { grid-template-columns: 1fr; align-items: start; margin-bottom: 32px; }
  .pairs { grid-template-columns: 1fr; max-width: 620px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:last-child { grid-column: 1 / -1; }
  .gallery figure:last-child img { aspect-ratio: 16 / 9; }
  .est__in { grid-template-columns: 1fr; gap: 36px; }
  .foot__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot__contact { text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .top__in { min-height: 78px; gap: 12px; }
  .top__cta { display: none; }
  .top__call { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); color: var(--white); }
  .top__call svg { width: 20px; height: 20px; fill: currentColor; }
  .brand { gap: 10px; }
  .brand__mark { width: 50px; height: 50px; }
  .brand__name { font-size: 28px; }
  .brand__by { font-size: 12px; letter-spacing: .16em; }
  .brand__sub { font-size: 8.5px; letter-spacing: .22em; margin-top: 5px; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, rgba(12, 18, 14, .95) 0%, rgba(12, 18, 14, .8) 55%, rgba(12, 18, 14, .55) 100%); }
  .hero__in { padding: 118px 0 40px; }
  .hero__lede { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 36px; padding-top: 24px; }
  .hero__feats li { font-size: 11px; letter-spacing: .1em; gap: 10px; }
  .hero__feats svg { width: 28px; height: 28px; }
  .services, .work, .about, .estimate { padding: 64px 0 68px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; }
  .card__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .card__icon svg { width: 23px; height: 23px; }
  .card h3 { font-size: 19px; align-self: center; }
  .card p { margin-top: 4px; grid-column: 2; }
  .card--cta { display: flex; }
  .pair__frame { gap: 2px; border-width: 2px; }
  .tag { bottom: 10px; font-size: 11px; padding: 7px 9px; }
  .tag--l { left: 10px; }
  .tag--r { right: 10px; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .gallery figure:last-child { grid-column: auto; }
  .gallery figure:last-child img { aspect-ratio: 4 / 3; }
  .note { padding: 20px; }
  .note .btn { width: 100%; }
  .form { grid-template-columns: 1fr; padding: 22px 18px; }
  .callbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); }
  .callbar a { min-height: 50px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--sans); text-decoration: none; }
  .callbar svg { width: 18px; height: 18px; fill: currentColor; }
  .callbar__call { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .75); }
  .callbar__est { background: var(--gold); color: var(--ink); }
}

/* `display` on a component beats the UA [hidden] rule by origin — keep hidden things hidden. */
[hidden] { display: none !important; }
