/* Investland Group. One fixed background image, light serif type, dark glass panels.
   Everything is visible by default: no reveal classes, no JS-gated content. */
:root {
  --display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  /* Dark teal relief background: light type on dark glass. */
  --fg: #f3efe2; --fg-muted: rgb(243 239 226 / 0.78); --fg-dim: rgb(243 239 226 / 0.55); --ink: #fbf6e6;
  --line: rgb(255 255 255 / 0.14); --line-strong: rgb(255 255 255 / 0.30);
  --glass: linear-gradient(160deg, rgb(9 38 48 / 0.66), rgb(6 26 34 / 0.52));
  --glass-edge: rgb(255 255 255 / 0.16);
  --field: rgb(255 255 255 / 0.08);
  --btn-bg: #f1e7b9; --btn-fg: #0b2a33;
  --bg-image: url("/assets/bg-horses.jpg");
  --bg-pos: center bottom;
  --veil: linear-gradient(180deg, rgb(4 22 28 / 0.25), rgb(4 22 28 / 0));
  color-scheme: dark;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--veil), var(--bg-image) var(--bg-pos) / cover no-repeat; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 28px;
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 24px 60px rgb(0 0 0 / 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #0b2a33; color: var(--fg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; min-height: 100dvh; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* Header: links left, logo centre, button right */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; height: 84px; }
.site-logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.site-logo .mark { width: 46px; height: auto; }
.site-logo span { display: grid; gap: 5px; line-height: 1; }
.site-logo b { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: 0.2em; text-transform: uppercase; }
.site-logo i { font-style: normal; font-size: 10.5px; letter-spacing: 0.52em; text-transform: uppercase; color: var(--fg-muted); }
.site-head .btn { justify-self: end; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 14px/1 var(--sans); letter-spacing: 0.04em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.small { padding: 12px 22px; font-size: 13px; }

/* Hero */
.hero { min-height: calc(100dvh - 84px); display: flex; align-items: flex-start; padding: clamp(56px, 11vh, 130px) 0 40vh; }
.hero h1 {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(44px, 8.2vw, 116px); line-height: 0.98; color: var(--ink);
  max-width: 12ch; text-wrap: balance;
}
.hero p { max-width: 40ch; margin: 28px 0 36px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--fg); text-wrap: pretty; }


.panel { padding: 0 clamp(20px, 4vw, 56px); }
.lines { display: grid; grid-template-columns: repeat(3, 1fr); }
.lines div { padding: clamp(32px, 5vw, 56px) clamp(8px, 2.4vw, 32px); }
.lines div + div { border-left: 1px solid var(--line); }
.lines h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--ink); }
.lines p { margin-top: 12px; color: var(--fg-muted); }

/* Closing band */
.closing { margin: clamp(28px, 5vh, 48px) 0 clamp(40px, 7vh, 80px); padding: clamp(64px, 11vh, 120px) 24px; text-align: center; }
.closing h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6.6vw, 92px); line-height: 1; color: var(--ink); }
.closing .actions { margin-top: 32px; }
.closing .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-foot { padding: 0 0 36px; font-size: 13px; color: var(--fg-muted); }
.site-foot .wrap > * { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 999px; padding: 10px 20px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.site-foot .wrap { display: flex; gap: 12px 28px; justify-content: space-between; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a:hover { color: var(--ink); }

/* Contact dialog: light liquid glass */
dialog.contact {
  width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--glass-edge); border-radius: 22px; color: var(--fg);
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 0 0 1px rgb(0 0 0 / 0.07), 0 30px 80px rgb(0 0 0 / 0.18);
}
dialog.contact::backdrop { background: rgb(20 20 20 / 0.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.contact form { padding: 34px clamp(22px, 5vw, 38px) 32px; display: grid; gap: 16px; }
dialog.contact h2 { font-family: var(--display); font-weight: 500; font-size: 38px; line-height: 1; color: var(--ink); }
dialog.contact .lede { color: var(--fg-muted); font-size: 15px; margin-top: -6px; }
dialog.contact label { display: grid; gap: 7px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
dialog.contact input, dialog.contact textarea {
  font: 400 16px/1.4 var(--sans); color: var(--fg); padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--field); width: 100%;
}
dialog.contact textarea { min-height: 108px; resize: vertical; }
dialog.contact input:focus, dialog.contact textarea:focus { outline: none; border-color: var(--ink); }
dialog.contact .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
dialog.contact .alt { font-size: 14px; color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px; }
dialog.contact .close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); font-size: 20px; line-height: 1; cursor: pointer; color: var(--fg-muted); }
dialog.contact .close:hover { color: var(--ink); border-color: var(--line-strong); }

/* Privacy page */
.legal { padding: clamp(32px, 6vh, 64px) 0 clamp(40px, 7vh, 80px); }
.legal .wrap { max-width: 860px; }
.legal .glass { padding: clamp(32px, 6vw, 72px); }
.legal h1 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 76px); line-height: 1; color: var(--ink); }
.legal .intro { margin-top: 22px; color: var(--fg-muted); font-size: 19px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--ink); margin: 46px 0 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--fg-muted); }
.legal ul { margin: 8px 0 0; padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a.inline, .legal button.inline { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { margin-top: 44px; font-size: 14px; color: var(--fg-dim); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-head .wrap { height: 70px; }
  .site-logo { gap: 10px; }
  .site-logo .mark { width: 38px; }
  .site-logo b { font-size: 18px; letter-spacing: 0.16em; }
  .site-logo i { font-size: 9px; }
  .lines { grid-template-columns: 1fr; }
  .lines div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 760px) { .hero { min-height: calc(100dvh - 70px); padding-bottom: 34vh; } .site-foot .wrap > * { border-radius: 18px; } }
