/* Enod Works: site styles. Tokens follow the Enod Works design system. */

@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --surface-000: #FFFFFF;
  --surface-100: #F2F3F2;
  --surface-inverse: #17171C;
  --ink: #17171C;
  --ink-muted: #4A4A52;
  --on-inverse: #F4F2EE;
  --brass: #8C6D3F;
  --brass-text: #7A6038;
  --brass-light: #D4B483;
  --brass-subtle: #F3ECE0;
  --rule: #DCDDDC;
  --rule-dark: #3A3A42;
  --border-strong: #8A8B90;
  --error: #A63A2E;
  --success: #2F6B4F;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Josefin Sans", Futura, "Century Gothic", sans-serif;
  --font-accent: "Cormorant Garamond", Garamond, Georgia, serif;

  --pad-x: 48px;
  --pad-y: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface-000); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 28px; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass-text); outline-offset: 2px; }
.band-dark :focus-visible { outline-color: var(--brass-light); }
h1, h2, h3, p, ul, ol { margin: 0; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--ink); color: var(--on-inverse); padding: 12px 16px; font-family: var(--font-label); font-weight: 600; letter-spacing: .12em; font-size: 15px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout */
.sec { padding: var(--pad-y) var(--pad-x); }
.wrap { max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.band-stone { background: var(--surface-100); }
.band-dark { background: var(--surface-inverse); color: var(--on-inverse); }

/* Type */
.eyebrow { font-family: var(--font-label); font-weight: 600; font-size: 13px; line-height: 20px; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-text); }
.band-dark .eyebrow { color: var(--brass-light); }
.display-xl { font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 68px; letter-spacing: .06em; }
.display-lg { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 52px; letter-spacing: .05em; }
.h2 { font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -.01em; }
.h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
.lead { font-size: 19px; line-height: 31px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 22px; }
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head .lead { margin-top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px; border: 0; border-radius: 2px; font-family: var(--font-label); font-weight: 600; font-size: 15px; line-height: 20px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn-brass { background: var(--brass); color: #FFFFFF; }
.btn-brass:hover { background: #7A6038; color: #FFFFFF; }
.btn-brass-light { background: var(--brass-light); color: var(--ink); }
.btn-brass-light:hover { background: #E2C79C; color: var(--ink); }

/* Header */
.site-header { position: relative; padding: 24px var(--pad-x); background: var(--surface-000); }
.site-header.bordered { border-bottom: 1px solid var(--rule); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand .logo-desk { height: 72px; width: auto; }
.brand .logo-mob { display: none; height: 32px; width: auto; }
.nav-desk { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.nav-desk a, .mob-nav a { font-family: var(--font-label); font-weight: 600; font-size: 15px; line-height: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav-desk a { padding: 14px 0; }
.nav-desk a:hover, .mob-nav a:hover { color: var(--brass-text); }
.burger { display: none; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center; background: transparent; color: var(--ink); border: 1px solid var(--border-strong); border-radius: 2px; cursor: pointer; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.mob-nav { display: none; flex-direction: column; margin-top: 16px; border-top: 1px solid var(--rule); }
.mob-nav a { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.mob-nav a:last-child { border-bottom: 0; }

/* Hero */
.hero .inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.hero .rule-brand { width: 96px; height: 2px; background: var(--brass-light); }
.hero .lead { max-width: 640px; }
.hero-points { width: 100%; list-style: none; padding: 24px 0 0; margin-top: 16px; border-top: 1px solid var(--rule-dark); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }

/* Services */
.services { gap: 48px; }
.service-list { border-top: 1px solid var(--ink); list-style: none; padding: 0; }
.service-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.service-row .num { flex: 0 0 48px; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--brass); }
.service-row .h3 { flex: 1 1 260px; }
.service-row p { flex: 999 1 360px; color: var(--ink-muted); }

/* Pricing */
.pricing { gap: 48px; }
.pricing .section-head { max-width: 720px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px; align-items: stretch; list-style: none; padding: 0; }
.price-card { background: var(--surface-000); border: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.price-card.featured { border: 2px solid var(--brass); padding: 6px; }
.price-card.featured > .frame { border: 1px solid var(--brass); padding: 24px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.price { font-size: 22px; line-height: 30px; font-weight: 600; }
.price .unit { font-size: 14px; line-height: 22px; font-weight: 400; color: var(--ink-muted); }
.price-note { max-width: 760px; }
.pricing .btn { align-self: flex-start; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.about-quote { margin-top: 8px; font-size: 24px; line-height: 32px; color: var(--brass-light); }
.about-points { list-style: none; padding: 24px 0 0; border-top: 1px solid var(--rule-dark); display: flex; flex-direction: column; gap: 16px; }

/* The name */
.name-frame { max-width: 760px; margin: 0 auto; border: 2px solid var(--brass); padding: 8px; }
.name-frame > .frame { border: 1px solid var(--brass); padding: 48px 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.name-frame .etym { font-size: 32px; line-height: 40px; }
.name-frame .reverse { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: .06em; }
.name-frame p.muted { max-width: 520px; }
.name-frame .divider { width: 48px; height: 1px; background: var(--rule); }

/* Contact */
.contact { border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 16px; }
.contact-panel { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--rule); }
.tab { flex: 1 1 0; min-height: 48px; padding: 14px 8px; margin-bottom: -1px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--ink-muted); cursor: pointer; font-family: var(--font-label); font-weight: 600; font-size: 15px; line-height: 20px; letter-spacing: .12em; text-transform: uppercase; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.cal-embed { min-height: 560px; border: 1px solid var(--rule); }
.cal-fallback { padding: 24px; display: flex; flex-direction: column; gap: 12px; }

.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; line-height: 28px; padding: 10px 14px; min-height: 48px; width: 100%; border: 1px solid var(--border-strong); border-radius: 2px; background: var(--surface-000); color: var(--ink); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field-error { display: flex; gap: 8px; align-items: center; font-size: 15px; line-height: 22px; color: var(--error); }
.error-summary { border: 2px solid var(--error); padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; }
.error-summary .title { font-weight: 600; color: var(--error); }
.error-summary ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.error-summary a { color: var(--error); }
.form-success { border: 1px solid var(--success); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.form-success .h3 { color: var(--success); }
.form .btn { align-self: flex-start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 72px var(--pad-x); }
.footer-row { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-end; }
.footer-row img { width: 220px; height: auto; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 22px; }
.footer-meta a { color: var(--on-inverse); }
.footer-meta .email-link { color: var(--brass-light); }
.footer-meta .social { list-style: none; margin: 0 0 8px; padding: 0; display: flex; gap: 8px; }
.footer-meta .social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -12px; margin-right: 0; color: var(--on-inverse); border: 1px solid transparent; }
.footer-meta .social li + li a { margin-left: 0; }
.footer-meta .social a:hover { border-color: var(--brass-light); }
.footer-meta .social svg { display: block; }

/* 404 and privacy */
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.page-shell main { flex-grow: 1; }
.notfound .inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.notfound .rule-brand { width: 96px; height: 2px; background: var(--brass); }
.notfound .alt { width: 100%; border-top: 1px solid var(--rule); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.notfound .alt ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.notfound .alt a { display: inline-block; padding: 8px 0; }
.policy { display: flex; flex-direction: column; gap: 32px; }
.policy section { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; border-top: 1px solid var(--rule); }
.policy ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Phone */
@media (max-width: 720px) {
  :root { --pad-x: 16px; --pad-y: 72px; }
  .brand .logo-desk, .nav-desk { display: none; }
  .brand .logo-mob { display: block; }
  .burger { display: inline-flex; }
  .mob-nav.open { display: flex; }
  .display-xl { font-size: 40px; line-height: 46px; }
  .display-lg { font-size: 34px; line-height: 40px; }
  .footer-meta > a, .footer-meta span a { display: inline-block; padding: 11px 0; }
  .name-frame > .frame { padding: 40px 20px; }
}
@media (max-width: 420px) {
  .display-xl { font-size: 34px; line-height: 40px; }
}
