/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOKENS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --bg:           #0C0F1A;
  --bg-surface:   #141928;
  --bg-raised:    #1A2035;
  --border:       #1E2640;
  --text:         #E2E4EB;
  --text-muted:   #6B7280;
  --accent:       #2DD4BF;
  --accent-warm:  #F97316;
  --radius:       4px;
  --gap:          1.5rem;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
                  Helvetica, Arial, sans-serif;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET & BASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LAYOUT HELPERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section {
  padding-block: 4rem;
}

h2,.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

h1,.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAV
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-brand:hover { text-decoration: none; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION STRIPING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
section:nth-of-type(odd)  { background: var(--bg); }
section:nth-of-type(even) { background: var(--bg-surface); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 10rem 8rem;
  /* override the odd/even rule with the gradient */
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(45, 212, 191, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 55%),
    var(--bg);
}

/* h2 inside hero inherits the global h2 eyebrow style — just tighten the bottom margin */
#hero h2 {
  margin-bottom: 1rem;
}

#hero h1 {
  font-size: clamp(4rem, 16vw, 10rem);
  font-weight: 600;
  line-height: 0.7;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
}

#hero p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 36ch;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

/* The paragraph Grav wraps the CTA link in — reset tagline styles */
#hero p:has(> a) {
  font-family: var(--font-body);
  font-style: normal;
  font-size: inherit;
  color: inherit;
  max-width: none;
  line-height: inherit;
  margin-bottom: 0;
}

/* CTA button */
#hero a {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
#hero a:hover {
  background: #5ee8d8;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GALLERY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-item:first-child {
  grid-column: 1 / -1;
}

.gallery-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}
.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.02);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ACHIEVEMENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.achievements-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.achievement-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-warm);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT / FORM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

#contact .form-wrapper {
  margin-top: 2rem;
  max-width: 540px;
}

#contact .form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

#contact label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#contact input,
#contact textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-color: var(--accent);
}

#contact input::placeholder,
#contact textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

#contact textarea { resize: vertical; min-height: 7rem; }

#contact .buttons { margin-top: 0.5rem; }

#contact button[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
#contact button[type="submit"]:hover {
  background: #5ee8d8;
  transform: translateY(-1px);
}

/* Success / error notices from the form plugin */
#contact .notices {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
#contact .notices p { margin: 0; }
#contact .notices.green {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}
#contact .notices.red {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid var(--accent-warm);
  color: var(--accent-warm);
}

.contact-intro {
  max-width: 50ch;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 540px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

.field textarea { resize: vertical; min-height: 7rem; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  justify-self: start;
}
.form-submit:hover {
  background: #5ee8d8;
  transform: translateY(-1px);
}

.contact-alt {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-alt a { color: var(--accent); }

.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.form-status.success {
  display: block;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}
.form-status.error {
  display: block;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid var(--accent-warm);
  color: var(--accent-warm);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COMING SOON PLACEHOLDER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.coming-soon {
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .gallery-item:first-child {
    grid-column: auto;
    grid-row: span 2;
  }

  .achievements-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
