/* Tide Mark Ventures — holding company site. No third-party assets. */
:root {
  --ink: #12202b;
  --ink-soft: #3e4d57;
  --paper: #f3eee4;
  --paper-2: #fffaf3;
  --line: #d6cfc2;
  --tide: #1b4f5c;
  --tide-hover: #143b45;
  --gold: #8a6a3c;
  --focus: #1b4f5c;
  --max: 42rem;
  --wide: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--tide);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--tide-hover); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  z-index: 20;
  border-radius: 2px;
  text-decoration: none;
}

.skip:focus { transform: none; color: var(--paper); }

.wrap {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
}

.wrap-narrow { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.65rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.logo:hover { color: var(--ink); }

.logo-mark {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.15rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--tide);
  text-decoration: underline;
}

/* Main */
main { flex: 1; }

.hero {
  padding: 4.25rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.wave {
  display: block;
  width: 8rem;
  height: 1.1rem;
  margin: 1.5rem 0 0;
  color: var(--tide);
}

section.block {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--line);
}

section.block h2 {
  margin: 0 0 1.1rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

section.block p { margin: 0 0 1rem; }
section.block p:last-child { margin-bottom: 0; }

.brands {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.brand {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem 1.25rem;
}

.brand h3 {
  margin: 0 0 0.2rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.kind {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand p { margin: 0; color: var(--ink-soft); }

.contact-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
}

.contact-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

address {
  font-style: normal;
  margin: 0;
  line-height: 1.6;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
}

.legal { padding: 3.25rem 0 4rem; }

.updated {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.legal p, .legal li { color: var(--ink); }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin: 0 0 0.4rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e6e0d4;
  margin-top: auto;
  padding: 2.25rem 0 1.75rem;
}

.site-footer a { color: #e6e0d4; }
.site-footer a:hover { color: #fff; }

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(230, 224, 212, 0.18);
}

.foot-brand .logo-mark { color: #f3eee4; }
.foot-brand .logo-sub { color: #b8b1a4; }
.foot-brand p {
  margin: 0.55rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  color: #c9c3b6;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  align-items: flex-start;
}

.foot-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.foot-nav a:hover { text-decoration: underline; }

.fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-top: 1.15rem;
  font-size: 0.85rem;
  color: #c9c3b6;
}

.built a {
  color: #e6e0d4;
  font-weight: 500;
}

.not-found {
  padding: 5rem 0 6rem;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

@media (max-width: 520px) {
  html { font-size: 100%; }
  .hdr { flex-direction: column; align-items: flex-start; gap: 0.15rem; min-height: 0; padding-block: 0.9rem; }
  .main-nav { gap: 0 1rem; }
  .hero { padding: 2.75rem 0 2.25rem; }
  section.block { padding: 2.4rem 0; }
}
