* { box-sizing: border-box; }

html, body {
  background: #0f1214;
  margin: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(120% 90% at 15% 0%, #182026 0%, #12171a 42%, #0e1113 100%);
  color: #f3f2f2;
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: clamp(20px, 5vw, 72px);
  padding-top: max(clamp(10px, 2vw, 28px), env(safe-area-inset-top));
  padding-bottom: max(clamp(20px, 5vw, 72px), env(safe-area-inset-bottom));
}

::selection { background: #ec3013; color: #fff; }

a { color: inherit; text-decoration: none; }
a:hover { color: #ec3013; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ec3013;
  outline-offset: 3px;
}

.wrap {
  max-width: 940px;
  margin: 0 auto;
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
}

.founder-line {
  margin: 0;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.5;
  color: #a8a29f;
}

.founder-line a {
  color: #f3f2f2;
  font-weight: 600;
  border-bottom: 1px solid #6b6664;
  padding-bottom: 1px;
}
.founder-line a:hover { border-bottom-color: #ec3013; color: #f3f2f2; }

.stat-line {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: -4px;
  font-size: clamp(11px, 1.05vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8f9599;
}

.stat-fig {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(11.5px, 1.1vw, 13px);
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #ffffff, #b9b4ad 45%, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Logo band */
.logo-band {
  padding: clamp(16px, 2.2vh, 22px) 0;
}
.logo-band img {
  width: 100%;
  height: auto;
  opacity: 1;
  display: block;
}

/* Link rows */
.link-rows { display: block; }

.link-row {
  display: grid;
  grid-template-columns: clamp(52px, 9vw, 76px) minmax(0, 1fr) clamp(28px, 5vw, 44px);
  align-items: start;
  gap: clamp(14px, 2.5vw, 24px);
  padding: clamp(26px, 4vh, 40px) 0;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border-style: solid;
  border-image: linear-gradient(90deg, #514e4b 0%, #cfcac2 16%, #837e79 38%, #e8e4dd 60%, #7b7772 82%, #4a4744 100%) 1;
  transition: background 240ms ease;
  color: inherit;
}

.link-row--top { border-width: 2px 0 0; }
.link-row--bottom { border-width: 2px 0; }

.link-row:hover { background: rgba(255,255,255,0.035); color: inherit; }

.link-row::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,0.085) 48%, transparent 62%);
  transform: translateX(-105%);
  transition: transform 900ms cubic-bezier(.2,.7,.2,1);
}
.link-row:hover::after { transform: translateX(105%); }

.tile {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0c0f11, #0c0f11),
    linear-gradient(115deg, #4a4744 0%, #cfcac2 18%, #837e79 42%, #e8e4dd 62%, #7b7772 84%, #4a4744 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  display: block;
}

.text-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.row-name {
  font-weight: 800;
  font-size: clamp(28px, 7vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #ffffff 0%, #d5d1cc 38%, #ffffff 62%, #e0ddd8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.row-desc {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
  color: #a8a29f;
  max-width: 46ch;
  text-wrap: pretty;
}

.row-url {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8583;
}

.arrow {
  justify-self: end;
  padding-top: 6px;
  color: #8a8583;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), color 260ms ease;
  display: flex;
}

.link-row:hover .arrow {
  transform: translateX(10px);
  color: #ec3013;
}

/* Social tiles */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: clamp(22px, 3.5vh, 32px) 0;
}

.social-tile {
  width: clamp(56px, 11vw, 72px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #e4e0de;
  border: 1px solid transparent;
  background-image:
    linear-gradient(#151b1f, #151b1f),
    linear-gradient(115deg, #4a4744 0%, #cfcac2 18%, #837e79 42%, #e8e4dd 62%, #7b7772 84%, #4a4744 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: background-color 240ms ease, color 240ms ease;
}

.social-tile:hover {
  color: #fff;
  background-image:
    linear-gradient(#1d252a, #1d252a),
    linear-gradient(115deg, #ec3013, #e8e4dd 60%, #ec3013);
}

/* Photo + bio */
.photo-bio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(30px, 5vh, 56px) 0;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 54ch;
}

.bio p {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
  color: #a8a29f;
}

.bio-lead { color: #e4e0de; }

.bio a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid #6b6664;
  padding-bottom: 1px;
}
.bio a:hover { border-bottom-color: #ec3013; color: #fff; }

/* Contact */
.contact {
  padding: 0 0 clamp(40px, 7vh, 72px);
  border-width: 2px 0 0;
  border-style: solid;
  border-image: linear-gradient(90deg, #514e4b 0%, #cfcac2 16%, #837e79 38%, #e8e4dd 60%, #7b7772 82%, #4a4744 100%) 1;
}

.contact-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: clamp(20px, 3vh, 28px) 0;
  color: #eae7e5;
  font-family: inherit;
  transition: background 200ms ease;
}
.contact-trigger:hover { background: rgba(255,255,255,0.05); }

.contact-trigger span {
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: left;
}

.chevron {
  color: #8a8583;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
  flex-shrink: 0;
}
.contact-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0 8px;
  max-width: 560px;
}
.contact-form[hidden] { display: none; }

.required-note {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f767a;
}

.field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8583;
  margin-bottom: -8px;
}
.req { color: #ec3013; }

.field-input {
  padding: 13px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #3f464a;
  border-radius: 10px;
  color: #f3f2f2;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.field-input::placeholder { color: #6f767a; }
.field-input:focus { border-color: #8f9599; outline: none; }
.field-input:focus-visible { outline: 2px solid #ec3013; outline-offset: 3px; }

textarea.field-input { resize: vertical; }

.submit-btn {
  align-self: flex-start;
  padding: 14px 22px;
  background: #ec3013;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.success-msg {
  font-size: 13px;
  font-weight: 600;
  color: #ec3013;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .link-row::after,
  .link-row .arrow,
  .chevron,
  .contact-trigger,
  .social-tile,
  a {
    transition: none !important;
  }
}
