/* Latemar Hotel Advisory — shared styles */
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #141414;
  --ink-75: rgba(20, 20, 20, 0.75);
  --ink-40: rgba(20, 20, 20, 0.40);
  --line: rgba(20, 20, 20, 0.10);
  --stone: #F3F1EC;
  --accent: #8C857B;
  --white: #FFFFFF;
  --white-80: rgba(255, 255, 255, 0.80);
  --white-18: rgba(255, 255, 255, 0.18);
  --pad: 1.5rem;
  --radius: 2rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.container { width: 100%; max-width: 90rem; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 5rem; }
.brand { font-size: 1.75rem; line-height: 1; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.brand strong { font-weight: 700; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { text-decoration: none; padding: 0.5rem 0.875rem; border-radius: 4rem; font-weight: 500; transition: background-color 200ms ease; }
.nav a:hover { background: var(--stone); }
.nav a[aria-current="page"] { background: var(--stone); }
.nav .button { margin-left: 0.5rem; }
.nav .button:hover { background: var(--ink-75); }
.menu-toggle { display: none; width: 3rem; height: 3rem; border: 0; border-radius: 3rem; background: var(--ink); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 200ms ease, background-color 200ms ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; height: 3.25rem; padding: 0 1.75rem; border: 0; border-radius: 4rem; background: var(--ink); color: var(--white); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color 200ms ease; }
.button:hover { background: var(--ink-75); }
.button:focus-visible, .nav a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.button.light { background: var(--white); color: var(--ink); }
.button.light:hover { background: var(--stone); }
.button.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button.outline:hover { background: var(--stone); }

/* Page intro */
main { padding-top: 2.5rem; }
.page-title { font-size: 3rem; line-height: 1.05; font-weight: 700; letter-spacing: -1px; margin-bottom: 2.5rem; }
.page-image { width: 100%; aspect-ratio: 16 / 9; max-height: 46rem; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.statement { font-size: 1.5rem; line-height: 1.4; margin-top: 3.5rem; max-width: 72rem; }
.statement-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { margin-top: 7rem; }
.section-title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.75rem; line-height: 1.2; font-weight: 500; padding-top: 1.5rem; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.section-title .arrow { font-weight: 400; }
.h-large { font-size: 1.75rem; line-height: 1.2; font-weight: 500; }
.h-medium { font-size: 1.5rem; line-height: 1.25; font-weight: 500; }
.h-small { font-size: 1.25rem; line-height: 1.2; font-weight: 600; }
.muted { color: var(--ink-75); }
.accent { color: var(--accent); }

/* Grids and cards */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--stone); border-radius: var(--radius); padding: var(--pad); display: flex; flex-direction: column; gap: 0.75rem; }
.card.tall { min-height: 13rem; justify-content: space-between; gap: 2rem; }
.card.center { align-items: center; justify-content: center; text-align: center; min-height: 13rem; }
.card .big { font-size: 2.5rem; line-height: 1.05; font-weight: 500; letter-spacing: -0.5px; }
.card .num { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); }

/* Why Latemar */
.why { border: 0.25rem solid var(--ink); border-radius: var(--radius); padding: var(--pad); display: flex; flex-direction: column; gap: 2.5rem; }
.why h2 { font-size: 3rem; line-height: 1.05; font-weight: 700; letter-spacing: -1px; }
.why .lead { font-size: 1.25rem; line-height: 1.4; max-width: 44rem; }
.why .card { background: var(--stone); }

/* Who we work with */
.panel-dark { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: var(--pad); display: flex; flex-direction: column; gap: 2.5rem; }
.panel-dark .top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.panel-dark h2 { font-size: 2rem; line-height: 1.2; font-weight: 400; letter-spacing: -0.5px; }
.panel-dark .intro { font-size: 1.25rem; line-height: 1.4; color: var(--white-80); max-width: 44rem; }
.stat { border: 1px solid var(--white-18); background: rgba(255, 255, 255, 0.04); border-radius: 1rem; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.stat .v { font-size: 2.25rem; line-height: 1.1; }
.stat .k { font-size: 1.25rem; font-weight: 600; color: var(--accent); }
.stat .d { color: var(--white-80); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 3rem; align-items: center; }
.founder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.founder .name { font-size: 2.5rem; line-height: 1.05; font-weight: 700; letter-spacing: -0.5px; }
.founder .role { margin-top: 0.5rem; color: var(--accent); font-weight: 500; }
.founder .bio { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.45; max-width: 44rem; }
.founder .note { margin-top: 1rem; max-width: 44rem; }
.founder .button { margin-top: 2rem; }

/* Mission (services) */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; }
.mission h2 { font-size: 2.5rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.5px; }

/* Closing CTA */
.cta { background: var(--stone); border-radius: var(--radius); padding: 4.5rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.cta p { max-width: 32rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-weight: 500; }
.field .opt { color: var(--accent); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid rgba(20, 20, 20, 0.2); border-radius: 0.75rem; padding: 0.875rem 1rem; transition: border-color 150ms ease, box-shadow 150ms ease; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(140, 133, 123, 0.25); }
.hp { position: absolute; left: -9999px; }
.form .small { font-size: 0.875rem; color: var(--ink-75); }
.form-status { display: none; border-radius: 1rem; padding: 1rem 1.25rem; }
.form-status.ok { display: block; background: var(--stone); }
.form-status.err { display: block; background: #FBEDEA; color: #8A2A1B; }
.contact-info { background: var(--stone); border-radius: var(--radius); padding: var(--pad); display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info .k { font-size: 0.875rem; color: var(--accent); }
.contact-info a { text-decoration: none; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }

/* Legal */
.legal { max-width: 48rem; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { color: var(--ink-75); }
.legal p + p { margin-top: 0.75rem; }
.legal ul { padding-left: 1.25rem; margin: 0.75rem 0 0; }
.legal li + li { margin-top: 0.5rem; }
.legal .updated { color: var(--accent); margin-bottom: 1.5rem; }

/* Footer */
.site-footer { margin-top: 7rem; border-top: 1px solid var(--line); padding: 3rem 0 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-top .brand { font-size: 1.5rem; }
.footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col .k { font-size: 0.875rem; color: var(--accent); margin-bottom: 0.25rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; font-size: 0.875rem; color: var(--ink-75); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Tablet */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder, .mission, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder img { max-width: 26rem; }
  .section { margin-top: 5rem; }
}

/* Phone */
@media (max-width: 767px) {
  :root { --pad: 1.25rem; --radius: 1.25rem; }
  .header-row { height: 4.5rem; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 1rem var(--pad) 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 0.875rem 1rem; font-size: 1.125rem; }
  .nav .button { margin: 0.5rem 0 0; }
  main { padding-top: 1.5rem; }
  .page-title { font-size: 2.125rem; letter-spacing: 0; margin-bottom: 1.5rem; }
  .page-image { aspect-ratio: 4 / 3; }
  .statement { font-size: 1.25rem; margin-top: 2rem; }
  .section { margin-top: 4rem; }
  .section-title { font-size: 1.375rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card.tall, .card.center { min-height: 0; }
  .why h2 { font-size: 2.125rem; letter-spacing: 0; }
  .panel-dark h2, .mission h2 { font-size: 1.75rem; }
  .founder .name { font-size: 2rem; }
  .cta { padding: 3rem 1.25rem; }
  .site-footer { margin-top: 4rem; }
  .footer-cols { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
