
:root{
  --navy:#071427;
  --white:#ffffff;
  --muted:rgba(255,255,255,.82);
  --muted-2:rgba(255,255,255,.66);
  --line:rgba(255,255,255,.14);
  --maxw:1080px;
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  color:var(--white);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  line-height:1.55;
  background:
    linear-gradient(rgba(5,15,31,0.70), rgba(5,15,31,0.86)),
    url("../img/ocean-bg.png") center/cover no-repeat fixed;
}

a{color:inherit;text-decoration:none}

.container{
  width:min(var(--maxw), calc(100% - 48px));
  margin:0 auto;
}

/* Top menu */
header{
  position:sticky;
  top:0;
  z-index:50;
  background: linear-gradient(180deg, rgba(7,20,39,.90), rgba(7,20,39,.58));
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0; /* slightly tighter */
}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{
  width:34px;height:34px;
  border-radius:10px;
  overflow:hidden;
  border:none;
  background:transparent;
}
.brand-mark img{width:100%;height:100%;object-fit:contain;display:block}
.brand-name{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  letter-spacing:.16em;
  font-size:15px;
  text-transform:uppercase;
  opacity:.95;
}
.nav-links{display:flex;gap:22px;align-items:center}
.nav-links a{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  font-size:15px;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.90;
}
.nav-links a:hover{opacity:1}

/* Panel closer and tighter above hero */
main{padding:14px 0 58px} /* bring panel closer to top menu */
.panel{
  max-width:1200px;
  margin:10px auto;
  padding:0; /* spacing handled by .hero for symmetry */
  background:rgba(7,20,39,0.52);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:20px;
  box-shadow:0 30px 80px rgba(0,0,0,0.46), inset 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter:blur(10px);
}
.hero{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding-block:56px; /* equal top and bottom */
}

/* Logo larger WITHOUT increasing gaps (pull up + pull wordmark up) */
.logo{
  width:420px;
  height:420px;
  margin:0 auto 18px; /* top is controlled by hero padding */
  overflow:hidden;
  border:none;
  background:transparent;
}
.logo img{width:100%;height:100%;object-fit:contain;display:block}

.wordmark{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  font-size:clamp(50px,6.0vw,76px);
  display:inline-flex;
  align-items:baseline;
  gap:0.02em;
  text-transform:uppercase;
  margin:0 0 2px;            /* tighter */
}
.wordmark .big{font-size:1.22em;letter-spacing:0.08em}
.wordmark .small{font-size:0.92em;letter-spacing:0.28em;margin:0 .04em;font-weight:500}

.tagline{
  margin:2px auto 8px;
  color:var(--muted);
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size: clamp(16px, 1.6vw, 21px);
}

.subtag{
  font-size:14px;
  color:var(--muted-2);
  max-width:72ch;
  margin:6px auto 0;
}
.subtag + .subtag{margin-top:10px}

.rule{
  margin:24px auto 22px;
  width:min(620px,100%);
  height:1px;
  background:linear-gradient(90deg,transparent,var(--line),transparent);
}

.pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:6px;
}

.card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:22px 22px 20px;
  background:rgba(255,255,255,.03);
  text-align:center;
}

.icon{
  width:56px;height:56px;
  margin:0 auto 12px;
  opacity:.95;
}
.icon svg{width:100%;height:100%}
.icon path, .icon circle { stroke-linecap: round; stroke-linejoin: round; }

.card h3{
  margin:0 0 10px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:18px;
}
.card p{margin:0;color:var(--muted);font-size:14px}

.motto{
  margin:24px auto 0;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:22px;
  color:rgba(255,255,255,.86);
  font-style: italic;
  line-height:1.25;
}

footer{
  margin-top:14px;
  text-align:center;
  font-size:13px;
  color:var(--muted-2);
}

@media (max-width: 1100px){
  .logo{width:360px;height:360px;margin:0 auto 16px}
}
@media (max-width: 900px){
  .pillars{grid-template-columns:1fr}
  .logo{width:260px;height:260px;margin:0 auto 14px}
  .hero{padding-block:44px}
  .icon{width:50px;height:50px}
  main{padding-top:12px}
}
  .logo{width:260px;height:260px;margin:-22px auto -22px}
  .icon{width:50px;height:50px}
  main{padding-top:12px}
}


/* --- Inner pages (About / Contact) --- */
.page{
  padding-block:56px;
}
.page-title{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  font-size:clamp(34px,4.4vw,50px);
  letter-spacing:.10em;
  text-transform:uppercase;
  margin:0 0 10px;
  text-align:center;
}
.page-intro{
  margin:0 auto 28px;
  text-align:center;
  color:var(--muted);
  max-width:820px;
}
.prose{
  max-width:820px;
  margin:0 auto;
  color:var(--muted);
}
.prose p{margin:0 0 14px}
.prose p:last-child{margin-bottom:0}
.section-title{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  font-size:22px;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin:26px 0 10px;
  color:var(--white);
}
.contact-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
  margin-top:8px;
}
.contact-grid .card{margin:0}
.contact-grid .card h3{margin-top:0}
.contact-grid .card p{margin-bottom:0}
@media (max-width: 900px){
  .page{padding-block:44px}
  .contact-grid{grid-template-columns:1fr}
}
