/* Luca Architects — design layer
   Clarity, deference, depth. Sits on top of the existing inline styles;
   remove the <link> to this file to return to the previous look. */

:root {
  --hg-font: 'Century Gothic', 'Questrial', 'URW Gothic', 'Avant Garde', "Helvetica Neue", Arial, sans-serif;
  --hg-ease: cubic-bezier(.25, .1, .25, 1);
  --hg-ink: #100F0D;
  --hg-paper: #FBFAF8;
  --hg-surface: #F2EFE9;
  --hg-surface-hi: #ECE8E0;
  --hg-line: rgba(16, 15, 13, .1);
  --hg-gold: #C9A87C;
  --hg-gold-d: #8A6A3B;
  --hg-r-card: 20px;
  --hg-r-media: 16px;
}

/* San Francisco on iPhone, iPad and Safari; the brand face everywhere else */
@supports (font: -apple-system-body) {
  :root { --hg-font: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif; }
}

/* ---------- Clarity: type ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  text-transform: uppercase !important;
  font-family: var(--hg-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[style*="Century Gothic"], input, textarea, select, button { font-family: var(--hg-font) !important; }

.hg-nocaps { text-transform: uppercase !important; letter-spacing: .08em !important; }
[style*="text-transform:none"] { text-transform: uppercase !important; }
.hg-label { font-size: 13px !important; font-weight: 500; line-height: 1.4; }
.hg-wordmark { font-weight: 500; }

h1, h2 { font-weight: 400 !important; }
h3 { font-weight: 500 !important; }
h1 { letter-spacing: -.028em !important; }
h2 { letter-spacing: -.024em !important; }
h3 { letter-spacing: -.014em !important; }
h2.hg-label, h3.hg-label { font-weight: 500 !important; letter-spacing: .08em !important; }
h1[style*="line-height:.88"], h1[style*="line-height:.94"], h1[style*="line-height:.98"] { line-height: 1.02 !important; }
h2[style*="line-height:1.02"] { line-height: 1.06 !important; }
/* names and numbers set as display text */
span[style*="font-size:clamp(28px,3vw,42px)"] { font-weight: 400; }
span[style*="font-size:19px"][style*="letter-spacing:-.02em"], span[style*="font-size:20px"] { font-weight: 400; }

/* home hero: one clear headline, one quiet line under it */
#top h1 { font-size: clamp(40px, 7.2vw, 112px) !important; }
#top h1 > span.hg-nocaps, #top .hg-herosub { font-size: clamp(17px, 1.5vw, 22px) !important; font-weight: 500; line-height: 1.35 !important; opacity: .9; }
#top > div > p.hg-label { font-size: 15px !important; }
@media (max-width: 620px) {
  #top h1 { font-size: clamp(32px, 9vw, 52px) !important; line-height: 1.05 !important; }
  body h2:not(.hg-label) { font-size: clamp(24px, 7vw, 34px) !important; line-height: 1.12 !important; }
  body .hg-card h2:not(.hg-label) { font-size: clamp(22px, 6.2vw, 30px) !important; }
}

/* ---------- Navigation bar ---------- */
.hg-nav {
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
}
.hg-nav-d { background: rgba(16, 15, 13, .9) !important; border-bottom: 1px solid rgba(251, 250, 248, .08) !important; }
header.hg-nav-d[style*="padding:18px"] { background: rgba(16, 15, 13, .62) !important; }
.hg-nav-l { background: rgba(251, 250, 248, .82) !important; border-bottom: 1px solid var(--hg-line) !important; }
.hg-navlinks { font-size: 13px !important; letter-spacing: .07em !important; text-transform: uppercase !important; gap: 6px 22px !important; }
.hg-navlinks > a:not(.hg-btn), .hg-navlinks .navwrap > a {
  display: inline-flex; align-items: center; min-height: 44px;
  border-bottom: 0 !important; padding-bottom: 0 !important;
}
.hg-navlinks .navtoggle { min-width: 24px; min-height: 44px; font-size: 11px !important; opacity: .7; }
.hg-nav .hg-wordmark { font-size: 15px !important; letter-spacing: .26em !important; }
.hg-nav img[src$="logo.svg"] { width: 40px !important; height: 40px !important; }
@media (max-width: 880px) {
  .hg-nav > div { flex-wrap: nowrap !important; }
  .hg-nav .hg-wordmark { font-size: 14px !important; letter-spacing: .22em !important; }
}
@media (max-width: 430px) {
  .hg-nav .hg-wordmark { font-size: 13px !important; letter-spacing: .18em !important; }
  .hg-nav img[src$="logo.svg"] { width: 36px !important; height: 36px !important; }
}
@media (min-width: 881px) {
  .hg-nav-l > div { padding-top: 8px !important; padding-bottom: 8px !important; }
  header.hg-nav-d[style*="padding:18px"] { padding-top: 10px !important; padding-bottom: 10px !important; }
  .hg-nav-d > div { padding-top: 8px !important; padding-bottom: 8px !important; }
}

/* project menus */
.navpanel {
  border: 0 !important; border-radius: var(--hg-r-card);
  box-shadow: 0 0 0 1px rgba(16, 15, 13, .06), 0 24px 70px rgba(16, 15, 13, .2);
  background: #FBFAF8 !important;
}
.navpanel a[style*="font-size:13px"] { font-size: 15px !important; border-radius: 10px; }
.navpanel .hg-label { border-bottom-color: var(--hg-line) !important; }
.navpanel > div[style*="border-top"] { border-top-color: var(--hg-line) !important; }
.hg-thumb { border-radius: 7px; border-color: rgba(16, 15, 13, .08) !important; }

#menubtn {
  min-height: 44px; min-width: 44px; justify-content: flex-end;
  text-transform: uppercase !important; letter-spacing: .08em !important; font-size: 13px !important; font-weight: 500;
}
@media (max-width: 880px) {
  .hg-nav nav.nav-open { padding-bottom: 24px !important; flex-wrap: nowrap !important; }
  .hg-nav nav.nav-open > a:not(.hg-btn), .hg-nav nav.nav-open > span {
    font-size: 17px !important; min-height: 52px; padding: 0 !important;
    display: flex !important; align-items: center;
    border-bottom: 1px solid rgba(128, 122, 110, .22) !important;
  }
  .hg-nav nav.nav-open > .navwrap { flex-wrap: wrap; }
  .hg-nav nav.nav-open > .hg-btn { margin-top: 18px; min-height: 50px; font-size: 17px !important; width: 100%; }
  .hg-navlinks .navtoggle { min-width: 44px; font-size: 13px !important; }
  .navpanel { border-radius: 14px; box-shadow: none; background: var(--hg-surface) !important; margin: 0 0 12px !important; }
}

/* ---------- Controls ---------- */
.hg-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px !important;
  border: 0 !important; border-radius: 980px !important;
  font-family: var(--hg-font) !important; font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: .07em !important; line-height: 1.2; text-transform: uppercase !important; text-align: center; text-decoration: none !important;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--hg-ease), color .2s var(--hg-ease), box-shadow .2s var(--hg-ease), transform .15s var(--hg-ease);
}
.hg-btn:active { transform: scale(.97); }
.hg-btn-sm { min-height: 36px; padding: 8px 16px !important; font-size: 12px !important; }
.hg-btn-dark { background: var(--hg-ink) !important; color: var(--hg-paper) !important; }
.hg-btn-dark:hover { background: #33302B !important; color: var(--hg-paper) !important; }
.hg-btn-light { background: var(--hg-paper) !important; color: var(--hg-ink) !important; }
.hg-btn-light:hover { background: #fff !important; color: var(--hg-ink) !important; }
.hg-btn-ghost-d { background: rgba(251, 250, 248, .08) !important; color: var(--hg-paper) !important; box-shadow: inset 0 0 0 1px rgba(251, 250, 248, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hg-btn-ghost-d:hover { background: rgba(251, 250, 248, .18) !important; color: var(--hg-paper) !important; box-shadow: inset 0 0 0 1px rgba(251, 250, 248, .85); }
.hg-btn-ghost-l { background: transparent !important; color: var(--hg-ink) !important; box-shadow: inset 0 0 0 1px rgba(16, 15, 13, .24); }
.hg-btn-ghost-l:hover { background: rgba(16, 15, 13, .05) !important; color: var(--hg-ink) !important; box-shadow: inset 0 0 0 1px rgba(16, 15, 13, .55); }
.hg-skip { border-radius: 980px; text-transform: uppercase !important; letter-spacing: .07em !important; font-size: 13px !important; font-weight: 500; }

.hg-tab {
  min-height: 44px; padding: 10px 2px !important;
  font-size: 13px !important; font-weight: 500; text-transform: uppercase !important; letter-spacing: .07em !important;
}

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #B08A52; outline-offset: 3px; border-radius: 8px;
}
.hg-btn:focus-visible { border-radius: 980px !important; }

/* ---------- Form ---------- */
.hg-field {
  min-height: 48px; padding: 12px 14px !important; border-radius: 12px !important;
  font-size: 17px !important; line-height: 1.35;
  transition: background-color .2s var(--hg-ease), border-color .2s var(--hg-ease), box-shadow .2s var(--hg-ease);
}
textarea.hg-field { min-height: 132px; }
.hg-field-l { background: #fff !important; border: 1px solid rgba(16, 15, 13, .16) !important; }
.hg-field-l:hover { border-color: rgba(16, 15, 13, .32) !important; }
.hg-field-l:focus { outline: 0; border-color: var(--hg-gold-d) !important; box-shadow: 0 0 0 4px rgba(201, 168, 124, .34); }
.hg-field-d { background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(251, 250, 248, .28) !important; }
.hg-field-d::placeholder { color: rgba(251, 250, 248, .6); opacity: 1; }
.hg-field-d:hover { background: rgba(255, 255, 255, .14) !important; }
.hg-field-d:focus { outline: 0; background: rgba(255, 255, 255, .16) !important; border-color: var(--hg-paper) !important; box-shadow: 0 0 0 4px rgba(251, 250, 248, .26); }
select.hg-field { -webkit-appearance: none !important; appearance: none !important; padding-right: 42px !important; background-repeat: no-repeat !important; background-position: right 16px center !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23100F0D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
label > .hg-label { font-size: 14px !important; }
.hg-glass {
  border: 0 !important; border-radius: 24px;
  background: rgba(16, 15, 13, .5) !important;
  -webkit-backdrop-filter: saturate(160%) blur(24px) !important; backdrop-filter: saturate(160%) blur(24px) !important;
  box-shadow: inset 0 0 0 1px rgba(251, 250, 248, .14);
}

/* ---------- Depth: surfaces instead of hairlines ---------- */
.hg-card { border: 0 !important; border-radius: var(--hg-r-card); overflow: hidden; background-color: var(--hg-surface) !important; }
.hg-card-plain { background-color: var(--hg-surface) !important; }
a.hg-card { transition: background-color .25s var(--hg-ease), transform .35s var(--hg-ease), box-shadow .35s var(--hg-ease); }
a.hg-card:hover { background-color: var(--hg-surface-hi) !important; color: inherit; }
.hg-card img[style*="border-bottom"] { border-bottom: 0 !important; }
.hg-card > h2[style*="border-bottom"] { border-bottom-color: var(--hg-line) !important; }
.hg-card dl > div { border-bottom-color: var(--hg-line) !important; }
.hg-card dl > div:last-child { border-bottom: 0 !important; }
.hg-card .hg-card { background-color: #fff !important; }

.hg-grid { gap: 12px !important; background: transparent !important; border: 0 !important; }
.hg-grid > * { border-radius: var(--hg-r-media); overflow: hidden; background-color: var(--hg-surface) !important; }

.hg-media { border: 0 !important; border-radius: var(--hg-r-card); overflow: hidden; }
.hg-media[style*="background:#FBFAF8"], .hg-media[style*="background:#fff"] { background: var(--hg-surface) !important; }
.hg-media > img[style*="background:#FBFAF8"] { background: transparent !important; }
.hg-cap {
  left: 14px !important; bottom: 14px !important; border: 0 !important; border-radius: 980px;
  padding: 8px 14px !important; font-size: 12px !important; font-weight: 500; letter-spacing: .07em !important; text-transform: uppercase !important;
  background: rgba(251, 250, 248, .84) !important; color: var(--hg-ink) !important;
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
figcaption.hg-nocaps { font-size: 13px !important; }

/* ---------- Deference: let the photographs speak ---------- */
.hg-frame { border-radius: var(--hg-r-media); }
.hg-frame0 { border-radius: 0; }
.hg-photo { border: 0 !important; border-radius: var(--hg-r-media); }
.hg-tile > img { border-radius: var(--hg-r-media); border-bottom: 0 !important; }
.hg-thumb-lg { border-radius: 10px; border-color: rgba(16, 15, 13, .08) !important; }
.hg-lightbox { border: 0 !important; border-radius: 14px; }
.hg-map { border-radius: 0; }
.hg-card > .hg-map { border-radius: 0; }
section > .hg-map { border-radius: var(--hg-r-card); }

/* hairlines soften; the rule lines that structure lists stay */
[style*="border-top:1px solid #DCD7CD"] { border-top-color: var(--hg-line) !important; }
[style*="border-bottom:1px solid #DCD7CD"] { border-bottom-color: var(--hg-line) !important; }
footer[style*="border-top"] { border-top-color: var(--hg-line) !important; }

/* text links keep the gold; underlines only where they were */
a[style*="border-bottom:1px solid #8A6A3B"], a[style*="border-bottom:1px solid #C9A87C"] { border-bottom-width: 1px; }

/* ---------- Touch: 44pt targets ---------- */
@media (pointer: coarse), (max-width: 880px) {
  footer a, a[href^="tel:"]:not(.hg-btn), a[href^="mailto:"]:not(.hg-btn) { display: inline-flex; align-items: center; min-height: 44px; }
  nav[aria-label="Breadcrumb"] a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 620px) {
  section { padding-left: 20px !important; padding-right: 20px !important; }
  .hg-btn { white-space: normal; }
  .hg-cap { left: 10px !important; bottom: 10px !important; }
}

/* ---------- Motion respects the system setting ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* map popups */
.leaflet-popup-content-wrapper { border-radius: 14px !important; overflow: hidden; box-shadow: 0 10px 34px rgba(16, 15, 13, .22) !important; }
.leaflet-bar { border: 0 !important; border-radius: 10px !important; overflow: hidden; box-shadow: 0 2px 12px rgba(16, 15, 13, .16) !important; }

/* page-top label rows never break a word */
div.hg-label[style*="display:flex;align-items:center;gap:16px"] > span:nth-child(2) { white-space: nowrap; overflow-wrap: normal; flex: none; }
div.hg-label[style*="display:flex;align-items:center;gap:16px"] > span:last-child { text-align: right; }
span[style*="font-size:clamp(20px,2vw,27px)"] { font-weight: 400; letter-spacing: -.012em; }

/* services list reads as one column on a phone */
@media (max-width: 760px) {
  a[style*="minmax(220px,1.4fr)"] { grid-template-columns: 1fr !important; gap: 8px !important; }
  a[style*="minmax(220px,1.4fr)"] > span { justify-self: start !important; }
}

/* visible to screen readers and crawlers only */
.hg-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- All caps everywhere (14 Nov 2026) ---------- */
.navpanel a[style*="font-size:13px"] { font-size: 13px !important; letter-spacing: .04em; }
::placeholder { text-transform: uppercase; letter-spacing: .04em; }
select.hg-field { text-transform: uppercase; }
#top h1 > span.hg-nocaps, #top .hg-herosub { letter-spacing: .14em !important; font-size: clamp(13px, 1.2vw, 17px) !important; }
figcaption.hg-nocaps { font-size: 12px !important; }
label > .hg-label { font-size: 12px !important; }
@media (max-width: 880px) {
  .hg-nav nav.nav-open > a:not(.hg-btn), .hg-nav nav.nav-open > span { font-size: 15px !important; }
  .hg-nav nav.nav-open > .hg-btn { font-size: 14px !important; }
}
@media (max-width: 620px) {
  #top h1 { font-size: clamp(27px, 7.6vw, 44px) !important; }
  body h2:not(.hg-label) { font-size: clamp(21px, 6vw, 30px) !important; }
  body .hg-card h2:not(.hg-label) { font-size: clamp(20px, 5.6vw, 28px) !important; }
}

/* home hero intro line (15 Nov 2026) */
#top .hg-heroline { text-transform: none !important; letter-spacing: 0 !important; }
@media (max-width: 620px) { #top .hg-heroline { font-size: 15px !important; } }
