:root{
  --bg-page:#1E1C18;
  --bg-alt:#2A2621;
  --surface-light:#F4F1EA;

  --accent-primary:#C2A15A;
  --accent-secondary:#8A6F3E;

  --text-on-dark:#E7E2D8;
  --text-on-light:#2A2621;
  --text-muted:rgba(231,226,216,.78);

  --divider:rgba(194,161,90,0.25);
  --warm-shadow:rgba(42,30,13,.42);

  --max-width:1120px;
  --nav-height:68px;
  --section-pad-y:6.2rem;
  --section-pad-x:1.5rem;

  --hero-logo-safe-gap:clamp(8.5rem, 21vw, 13.5rem);
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  font-family:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:var(--bg-page);
  color:var(--text-on-dark);
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:geometricPrecision;
}

a{
  color:var(--accent-primary);
  text-decoration:none;
}
a:hover{ text-decoration:underline; }

section[id]{ scroll-margin-top:84px; }

nav{
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  background:rgba(30,28,24,.74);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--divider);
}

.nav-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0.85rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  position:relative;
}

.nav-logo{
  display:flex;
  align-items:center;
  min-height:40px;
}

.nav-logo img{
  height:34px;
  width:auto;
  display:block;
  object-fit:contain;
  filter: saturate(.88) brightness(.96);
}

.nav-links a{
  margin-left:1.4rem;
  font-size:.95rem;
  font-weight:500;
  letter-spacing:.04em;
  color:var(--text-muted);
}

.nav-links a:hover{
  color:var(--text-on-dark);
  text-decoration:none;
}

.nav-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid rgba(194,161,90,.32);
  border-radius:12px;
  background:rgba(30,28,24,.38);
  backdrop-filter:blur(8px);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  padding:0;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:17px;
  height:1.5px;
  border-radius:2px;
  background:var(--text-on-dark);
  opacity:.9;
}

.hero{
  min-height:100vh;
  margin-top:var(--nav-height);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid var(--divider);

  background:
    linear-gradient(rgba(194,161,90,.10), rgba(138,111,62,.08)),
    url("opt1.png") center top/contain no-repeat;
  background-color:var(--bg-page);

  display:flex;
  align-items:flex-start;
  padding:3.25rem var(--section-pad-x) 6.2rem;
}

.hero::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:68%;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.26) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0) 100%),
    radial-gradient(circle at center 18%, rgba(0,0,0,0) 48%, rgba(0,0,0,0.16) 100%);
}

.hero-content{
  max-width:var(--max-width);
  width:100%;
  margin:0 auto;
  display:flex;
  justify-content:center;
  position:relative;
  z-index:2;
}

.hero-panel{
  width:100%;
  max-width:860px;
  text-align:center;
}

.hero-split{
  height:var(--hero-logo-safe-gap);
}

.hero p{
  margin:0 auto 1rem;
  max-width:58ch;
  font-size:clamp(1.03rem, 1.12vw, 1.16rem);
  line-height:1.8;
  font-weight:400;
  color:#262019;
  text-shadow:0 1px 0 rgba(255,246,230,0.18), 0 3px 12px rgba(0,0,0,0.22);
}

.hero-lead{
  font-family:"Cinzel", "Times New Roman", serif;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:clamp(.92rem, 1.05vw, 1.02rem);
  font-weight:500;
  color:#231D17;
  margin-bottom:1.15rem;
}

.hero-strong{
  margin-top:1.3rem;
  margin-bottom:0;
  font-size:.96rem;
  color:#302821;
}

.hero::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:120px;
  background:linear-gradient(to bottom, rgba(0,0,0,0), #1E1C18);
  pointer-events:none;
}

section{
  padding:var(--section-pad-y) var(--section-pad-x);
  border-top:1px solid var(--divider);
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
}

h3{
  margin:0 0 1rem;
  font-family:"Cinzel", "Times New Roman", serif;
  font-size:clamp(1.85rem, 2.2vw, 2.3rem);
  letter-spacing:.03em;
  font-weight:600;
  color:var(--text-on-dark);
}

.aevum h3::before,
.about h3::before,
.contact h3::before{
  content:"";
  display:block;
  width:60px;
  height:2px;
  background:#C2A15A;
  opacity:.6;
  margin:0 0 28px;
}

.about h3::before,
.contact h3::before{
  margin:0 auto 28px;
}

.aevum{
  background:var(--bg-alt);
}

.aevum .container{
  background:#F4F1EA;
  border-radius:14px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  padding:clamp(1.5rem, 2.2vw, 2.4rem);
}

.aevum-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:4.35rem;
  align-items:center;
}

.aevum p{
  color:rgba(42,38,33,.86);
  font-size:1.06rem;
  line-height:1.82;
  margin:0 0 1rem;
}

.aevum-kicker{
  margin-top:0;
  margin-bottom:1.1rem;
}

.aevum-kicker strong{
  color:var(--text-on-light);
}

.aevum h3{
  color:var(--text-on-light);
}

.aevum-desc{
  margin-bottom:1.2rem;
}

.aevum img{
  width:100%;
  border-radius:14px;
  border:1px solid var(--divider);
  box-shadow:
    0 16px 42px var(--warm-shadow),
    0 0 0 1px rgba(194,161,90,.15),
    inset 0 1px 0 rgba(255,244,222,.22);
  display:block;
}

.cta{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-top:1.15rem;
  padding:12px 22px;
  border:1.5px solid var(--accent-primary);
  color:var(--accent-primary);
  background:transparent;
  font-weight:700;
  letter-spacing:.02em;
  border-radius:14px;
  line-height:1;
  transition:all .25s ease;
}

.cta:hover{
  background:var(--accent-primary);
  color:var(--text-on-light);
  text-decoration:none;
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,0.15);
}

.about{
  background:var(--bg-page);
  background-image:radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:4px 4px;
}

.about .container{
  max-width:860px;
  margin:0 auto;
  text-align:center;
  position:relative;
}

.about h3{
  margin:0 0 1.1rem;
}

.about .about-copy{
  margin:0 auto;
  max-width:64ch;
  font-size:1.07rem;
  line-height:1.95;
  color:var(--text-muted);
}

.about .about-copy p{
  margin:0 0 1rem;
}

.about .about-copy p:last-child{
  margin-bottom:0;
}

.about .about-copy strong{
  color:var(--accent-primary);
  font-weight:700;
}

.contact{
  background:var(--bg-alt);
  background-image:radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:4px 4px;
  text-align:center;
  padding-top:4.4rem;
  padding-bottom:4.2rem;
  border-bottom:1px solid var(--divider);
}

.contact p{
  color:var(--text-muted);
  font-size:1.06rem;
  line-height:1.82;
  margin:0 0 .75rem;
}

.contact a{
  font-weight:700;
  color:rgba(194,161,90,.9);
}

footer{
  padding:2rem 1.5rem;
  text-align:center;
  color:rgba(231,226,216,.68);
  background:var(--bg-page);
  border-top:1px solid var(--divider);
  font-size:.94rem;
}

@media (max-width: 900px){
  nav{
    background:rgba(30,28,24,.62);
    backdrop-filter:blur(12px);
  }

  .aevum-grid{
    grid-template-columns:1fr;
    gap:2.1rem;
  }

  .aevum-media{ order:-1; }

  .aevum p{
    font-size:1.02rem;
    line-height:1.76;
    margin-bottom:.92rem;
  }

  .mobile-hide{ display:none; }

  .cta{ margin-top:1rem; }

  .nav-toggle{
    display:inline-flex;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:calc(100% + .55rem);
    right:1.5rem;
    min-width:170px;
    padding:.7rem;
    border:1px solid rgba(194,161,90,.2);
    border-radius:12px;
    background:rgba(30,28,24,.82);
    backdrop-filter:blur(12px);
    box-shadow:0 10px 26px rgba(0,0,0,.26);
    flex-direction:column;
    align-items:flex-start;
    gap:.3rem;
  }

  body.nav-open .nav-links{
    display:flex;
  }

  .nav-links a{
    margin-left:0;
    width:100%;
    padding:.4rem .45rem;
    border-radius:8px;
  }

  .aevum .container{
    padding:1.3rem;
    box-shadow:
      0 8px 22px rgba(0,0,0,0.10),
      inset 0 1px 0 rgba(255,255,255,0.58);
  }

  .aevum img{
    width:89%;
    margin:0 auto;
    box-shadow:
      0 10px 24px rgba(42,30,13,.28),
      0 0 0 1px rgba(194,161,90,.14),
      inset 0 1px 0 rgba(255,244,222,.20);
  }
}

@media (max-width: 620px){
  :root{
    --section-pad-y:4.85rem;
    --section-pad-x:1.15rem;
    --hero-logo-safe-gap:clamp(6.8rem, 22vw, 9.2rem);
    --hero-img-h:46svh;
  }

  nav{
    background: rgba(30,28,24,.82);
    backdrop-filter:none;
  }

  .nav-toggle,
  .nav-links{
    backdrop-filter:none;
  }

  /* HERO: show full image + overlay text panel */
  .hero{
    --hero-img-h: 46svh;
    --hero-pad-b: 90px;
    height: calc(var(--hero-img-h) + var(--hero-pad-b));
    min-height: 0;
    width: 100%;
    padding: 0;
    display: block;
    align-items: unset;
    background-image:
      linear-gradient(rgba(194,161,90,.08), rgba(138,111,62,.06)),
      url("opt1.png");
    background-repeat:no-repeat, no-repeat;
    background-position:center top, center top;
    background-size:100% var(--hero-img-h), auto var(--hero-img-h);
    background-color: var(--bg-page);
    position: relative;
    overflow: hidden;
  }

  .hero::before{
    content: none;
  }

  .hero::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:12px;
    transform:translateX(-50%);
    width:68px;
    height:1px;
    background:rgba(194,161,90,.52);
    pointer-events:none;
  }

  .hero-content{
    position: absolute;
    left: 0;
    right: 0;
    top: var(--hero-img-h);
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
  }

  .hero-panel{
    width: min(92%, 420px);
    text-align: center;
    background: rgba(30,28,24,0.46);
    border: 1px solid rgba(194,161,90,0.25);
    border-radius: 14px;
    padding: 10px 12px;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
    transform: translateY(-50%);
  }

  .hero p{
    margin: 0 0 .55rem;
    max-width: 34ch;
    font-size: .95rem;
    line-height: 1.45;
    font-weight: 400;
    color: #F2EADF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  }

  .hero-lead{
    margin-bottom: .55rem;
    font-size: .78rem;
    letter-spacing: .06em;
    font-weight: 600;
    color: rgba(194,161,90,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  }

  .hero-strong{
    margin-top: .25rem;
    margin-bottom: 0;
    font-size: .88rem;
    color: rgba(231,226,216,0.82);
  }

  .hero-split{ display:none; }

  #aevum{
    padding-top:5.35rem;
  }

  .aevum .container{
    padding:1.12rem;
    border-radius:12px;
    box-shadow:0 10px 24px rgba(0,0,0,0.10);
  }

  .aevum img{
    width:84%;
  }

  .cta{
    padding:14px 22px;
    font-weight:700;
    background:rgba(194,161,90,.12);
  }

  .contact{
    padding-top:var(--section-pad-y);
    padding-bottom:calc(var(--section-pad-y) + .25rem);
    border-bottom:1px solid rgba(194,161,90,.34);
  }

  .about{
    background-image:radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size:6px 6px;
  }

  .about h3{
    max-width:16ch;
    margin-left:auto;
    margin-right:auto;
    text-wrap:balance;
  }

  .about .about-copy{
    font-size:1.05rem;
    line-height:1.9;
    max-width:60ch;
  }

  footer{
    color:rgba(231,226,216,.78);
  }
}

@media (max-width: 380px){
  :root{
    --hero-logo-safe-gap:6.2rem;
  }

  .hero{
    padding:0;
  }
}
