/*
  INTAGLIO TRADING
  Text-only black-and-gold landing page.
*/

:root {
  --black: #070706;
  --black-deep: #030302;
  --black-soft: #0d0c09;
  --black-raised: #14120d;
  --gold: #c7a766;
  --gold-bright: #e1c787;
  --gold-muted: #8d7547;
  --ivory: #f2eadc;
  --paper: #c9c0ae;
  --muted: #918a7c;
  --line: rgba(199, 167, 102, 0.24);
  --line-soft: rgba(199, 167, 102, 0.12);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 13%, rgba(199, 167, 102, 0.10), transparent 27%),
    radial-gradient(circle at 18% 58%, rgba(141, 117, 71, 0.045), transparent 32%),
    linear-gradient(118deg, #050504 0%, #080806 42%, #0b0a07 70%, #050504 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 10px,
      rgba(255, 255, 255, 0.016) 11px,
      transparent 12px
    );
}

body::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.10), transparent 16%, transparent 82%, rgba(0, 0, 0, 0.30)),
    radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.22) 100%);
}

a {
  color: inherit;
}

::selection {
  color: var(--black);
  background: var(--gold-bright);
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  text-decoration: none;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.17em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a {
  position: relative;
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  content: "";
  background:
    linear-gradient(
      113deg,
      transparent 0 42%,
      rgba(199, 167, 102, 0.022) 55%,
      rgba(199, 167, 102, 0.072) 76%,
      rgba(141, 117, 71, 0.018) 100%
    ),
    radial-gradient(circle at 78% 45%, rgba(225, 199, 135, 0.075), transparent 28%),
    linear-gradient(166deg, rgba(225, 199, 135, 0.025), transparent 38%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -190px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(199, 167, 102, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 65px rgba(199, 167, 102, 0.018),
    0 0 0 130px rgba(199, 167, 102, 0.010);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: clamp(110px, 15vw, 180px) 0 100px;
}

.hero-rule {
  width: 42px;
  height: 1px;
  margin-bottom: 24px;
  background: var(--gold);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 790px;
  margin-bottom: 32px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 42px;
  color: var(--paper);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--gold-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--black);
  background: var(--gold);
}

.button-primary:hover {
  background: var(--gold-bright);
}

.button-secondary {
  color: var(--ivory);
  background: rgba(199, 167, 102, 0.015);
}

.button-secondary:hover {
  border-color: var(--gold);
  background: rgba(199, 167, 102, 0.08);
}

.section {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(50px, 8vw, 110px);
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 18px;
}

.section-number {
  padding-top: 4px;
  color: var(--gold-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-content {
  align-self: center;
}

.about-grid {
  display: grid;
  gap: 28px;
}

.about-grid p {
  max-width: 710px;
  margin-bottom: 0;
}

.lead-copy {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
}

.principles {
  display: grid;
}

.principle {
  display: grid;
  grid-template-columns: 50px minmax(150px, 0.75fr) minmax(200px, 1fr);
  gap: 18px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle span {
  color: var(--gold-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin-bottom: 0;
  font-size: 23px;
}

.principle p {
  margin-bottom: 0;
}

.contact-panel {
  position: relative;
  margin: 100px 0;
  padding: clamp(48px, 8vw, 90px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(199, 167, 102, 0.09), transparent 42%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.012), transparent 70%),
    var(--black-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.contact-panel::before,
.contact-panel::after {
  position: absolute;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact-panel::before {
  top: -150px;
  right: -120px;
  width: 360px;
  height: 360px;
}

.contact-panel::after {
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel p:not(.eyebrow) {
  margin-bottom: 30px;
}

.contact-panel a {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 3vw, 28px);
  text-decoration-color: var(--gold-muted);
  text-underline-offset: 7px;
}

.site-footer {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 35px 0 55px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  margin-bottom: 0;
}

.disclaimer {
  max-width: 620px;
  text-align: right;
}

@media (max-width: 850px) {
  .hero {
    min-height: 650px;
  }

  .hero::after {
    right: -330px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 90px 0;
  }

  .principle {
    grid-template-columns: 35px 1fr;
  }

  .principle p {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 86px;
  }

  .brand span {
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: clamp(50px, 17vw, 74px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 28px 1fr;
  }

  .contact-panel {
    margin: 70px 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .disclaimer {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}