:root {
  color-scheme: dark;
  --ink: #1a1210;
  --cream: #f0e6d3;
  --muted: #d2c6b7;
  --amber: #d4892b;
  --walnut: #6b4226;
  --steel: #9ba5b0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("workshop-studio-background.webp") center / cover no-repeat;
  filter: saturate(.7) sepia(.14);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 10, 8, .91) 0%, rgba(18, 12, 10, .72) 48%, rgba(14, 10, 10, .59) 100%),
    linear-gradient(0deg, rgba(18, 11, 9, .92) 0%, transparent 58%),
    radial-gradient(circle at 70% 25%, rgba(212, 137, 43, .12), transparent 45%);
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
.page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 54px) clamp(22px, 5vw, 80px) 28px;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  text-decoration: none;
}
.brand-symbol {
  display: block;
  width: 88px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55));
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.15;
  text-transform: uppercase;
}
.brand-name span:first-child { font-size: 17px; }
.brand-name span:last-child { color: var(--muted); font-size: 11px; letter-spacing: .29em; }

main { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 68px 0 58px; }
.intro { width: 100%; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(3.4rem, 7.5vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 em { color: var(--amber); font-style: normal; }
.home-headline { display: flex; flex-direction: column; max-width: none; font-size: clamp(2.35rem, 6vw, 6rem); }
.home-headline > span, .home-headline > em { display: block; }
.home-headline > em { margin-top: .15em; text-align: right; }
.intro-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(52px, 8vh, 88px) 0 18px;
  color: rgba(240, 230, 211, .74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-label::after { flex: 1; height: 1px; background: rgba(240, 230, 211, .25); content: ""; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(240, 230, 211, .22);
  background: rgba(21, 15, 13, .73);
  box-shadow: 0 22px 65px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}
.card::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--amber); content: ""; }
.card--woodworks::before { background: var(--steel); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card-kicker, .card-status { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.card-kicker { color: var(--amber); }
.card--woodworks .card-kicker { color: var(--steel); }
.card-status { color: rgba(240, 230, 211, .72); white-space: nowrap; }
.card-status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  vertical-align: 2px;
}
.card-name {
  margin: 28px 0 12px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2.3rem, 3.3vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1;
  text-transform: uppercase;
}
.card--build .card-name span { color: var(--amber); }
.card--woodworks .card-name { font-weight: 400; letter-spacing: .055em; }
.card-description { max-width: 420px; padding-bottom: 18px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card-bottom { border-top: 1px solid rgba(240, 230, 211, .16); }
.card-bottom a { text-decoration: none;}
.card-bottom a:hover { color: var(--amber); text-decoration: underline; }
.card-destination { color: rgba(240, 230, 211, .65); font-size: 13px; }
.card-number { color: rgba(240, 230, 211, .42); font-family: "Oswald", Impact, sans-serif; font-size: 17px; }

footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(240, 230, 211, .25);
}
.footer-label { margin: 0 0 6px; color: rgba(240, 230, 211, .57); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contact { margin: 0; font-size: 15px; font-weight: 600; }
.contact a { text-underline-offset: 4px; }
.contact a:hover { color: var(--amber); }
.footer-right { color: rgba(240, 230, 211, .6); font-size: 12px; text-align: right; }
.footer-right p { margin: 0; }
.footer-right a { text-underline-offset: 3px; }

.contact-main { width: min(100%, 760px); margin-inline: auto; }
.contact-heading { font-size: clamp(3.5rem, 8vw, 6.5rem); }
.contact-intro { max-width: 560px; margin: 24px 0 36px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.contact-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(240, 230, 211, .22);
  background: rgba(21, 15, 13, .73);
  box-shadow: 0 22px 65px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}
.contact-form { display: grid; gap: 22px; }
.success-panel { display: grid; gap: 24px; margin-top: 36px; }
.success-panel p { max-width: 560px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-field { display: grid; gap: 8px; }
.form-field label { color: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(240, 230, 211, .36);
  border-radius: 0;
  background: rgba(15, 10, 8, .8);
  color: var(--cream);
  font: inherit;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.action-button {
  display: inline-block;
  width: fit-content;
  padding: 13px 22px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
  cursor: pointer;
  font: 700 13px "DM Sans", Arial, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.action-button:hover { background: var(--cream); border-color: var(--cream); }
.action-button:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }

@media (max-width: 720px) {
  .page { min-height: 100svh; }
  main { padding: 66px 0 54px; }
  .brand-symbol { width: 72px; }
  .brand-name span:first-child { font-size: 15px; }
  h1 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 252px; }
  .card-name { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  footer { align-items: start; flex-direction: column; }
  .footer-right { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .card-top { align-items: start; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
