/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:#1a1a1a;background:#fff;line-height:1.6;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* ===== Variables ===== */
:root{
  --navy:#0f1e3d;
  --gold:#c9a84c;
  --white:#ffffff;
  --light:#f5f6fa;
  --text:#1a1a1a;
  --text-light:#555;
  --max-width:1140px;
  --nav-height:72px;
}

/* ===== Typography ===== */
h1,h2,h3,h4{font-family:'Playfair Display',serif;color:var(--navy);line-height:1.2}
h1{font-size:clamp(2.2rem,5vw,3.5rem);font-weight:700}
h2{font-size:clamp(1.6rem,3.5vw,2.4rem);margin-bottom:1rem}
h3{font-size:1.3rem;margin-bottom:.5rem}
p{margin-bottom:1rem;color:var(--text-light)}

/* ===== Container ===== */
.container{max-width:var(--max-width);margin:0 auto;padding:0 1.5rem}

/* ===== Navigation ===== */
.navbar{position:fixed;top:0;left:0;width:100%;height:var(--nav-height);background:var(--navy);z-index:1000;transition:box-shadow .3s}
.navbar.scrolled{box-shadow:0 2px 20px rgba(0,0,0,.3)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:100%;max-width:var(--max-width);margin:0 auto;padding:0 1.5rem}
.nav-logo{font-family:'Playfair Display',serif;font-size:1.3rem;font-weight:700;color:var(--white);letter-spacing:.5px}
.nav-links{display:flex;gap:1.8rem}
.nav-links a{color:rgba(255,255,255,.75);font-size:.9rem;font-weight:500;transition:color .2s;position:relative}
.nav-links a:hover,.nav-links a.active{color:var(--white)}
.nav-links a.active::after{content:'';position:absolute;bottom:-4px;left:0;width:100%;height:2px;background:var(--gold)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.hamburger span{display:block;width:24px;height:2px;background:var(--white);transition:transform .3s,opacity .3s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{position:relative;min-height:85vh;display:flex;align-items:center;justify-content:center;text-align:center;margin-top:var(--nav-height);overflow:hidden}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center top;z-index:0}
.hero-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,30,61,.75) 0%,rgba(15,30,61,.85) 100%)}
.hero-content{position:relative;z-index:1;color:var(--white);padding:2rem 1.5rem}
.hero-content h1{color:var(--white);margin-bottom:.75rem}
.hero-content .subhead{font-size:clamp(1rem,2.5vw,1.4rem);color:rgba(255,255,255,.85);font-weight:300;margin-bottom:1.5rem}
.hero-content .intro{max-width:680px;margin:0 auto 2rem;color:rgba(255,255,255,.75);font-size:1rem;line-height:1.7}

/* Small hero variant */
.hero-sm{min-height:45vh}
.hero-sm .hero-content h1{font-size:clamp(1.8rem,4vw,2.8rem)}

/* ===== Buttons ===== */
.btn{display:inline-block;padding:.85rem 2rem;border-radius:4px;font-weight:600;font-size:.95rem;transition:all .25s;cursor:pointer;border:none}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:#b8963e;transform:translateY(-1px)}
.btn-outline{border:2px solid var(--white);color:var(--white);background:transparent}
.btn-outline:hover{background:var(--white);color:var(--navy)}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:#162a52;transform:translateY(-1px)}
.btn-group{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ===== Sections ===== */
section{padding:5rem 0}
section.alt{background:var(--light)}

.section-title{text-align:center;margin-bottom:3rem}
.section-title h2{margin-bottom:.5rem}
.section-title p{color:var(--text-light);max-width:600px;margin:0 auto}

/* ===== Press Logos Strip ===== */
.logos-strip{padding:3rem 0;background:var(--light);overflow:hidden}
.logos-strip .container{display:flex;align-items:center;justify-content:center;gap:2.5rem;flex-wrap:wrap;max-width:100%}
.logos-strip p{font-size:.8rem;text-transform:uppercase;letter-spacing:2px;color:var(--text-light);font-weight:600;margin:0}
.logos-strip img{height:70px;max-width:220px;object-fit:contain;opacity:.85;transition:opacity .3s;mix-blend-mode:multiply}
.logos-strip img:hover{opacity:1}
@media(max-width:600px){.logos-strip .container{gap:1.5rem}.logos-strip img{height:50px;max-width:150px}}

/* ===== Cards ===== */
.card-grid{display:grid;gap:2rem}
.card-grid.cols-2{grid-template-columns:repeat(2,1fr)}
.card-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.card-grid.cols-4{grid-template-columns:repeat(4,1fr)}

.card{background:var(--white);border-radius:8px;padding:2rem;box-shadow:0 2px 12px rgba(0,0,0,.06);transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.card-icon{font-size:2rem;margin-bottom:1rem}
.card h3{color:var(--navy)}
.card p{font-size:.95rem}

/* CTA cards */
.cta-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;margin-top:2rem}
.cta-card{background:var(--white);border-radius:8px;padding:2.5rem;text-align:center;box-shadow:0 2px 12px rgba(0,0,0,.06);transition:transform .25s,box-shadow .25s}
.cta-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.cta-card h3{margin-bottom:.75rem}
.cta-card p{margin-bottom:1.5rem}

/* ===== About - Story Sections ===== */
.story-section{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;padding:4rem 0}
.story-section:nth-child(even){direction:rtl}
.story-section:nth-child(even) > *{direction:ltr}
.story-img{border-radius:8px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.12)}
.story-img img{width:100%;height:100%;object-fit:cover}
.story-text h2{margin-bottom:1rem}
.story-text p{margin-bottom:.75rem}

/* ===== Practice Areas ===== */
.practice-card{text-align:center;padding:2.5rem 1.5rem}
.practice-card .card-icon{font-size:2.5rem}

/* ===== Quote Block ===== */
.quote-block{background:var(--navy);color:var(--white);padding:4rem 2rem;border-radius:8px;text-align:center;margin:3rem 0}
.quote-block blockquote{font-family:'Playfair Display',serif;font-size:clamp(1.1rem,2.5vw,1.5rem);font-style:italic;line-height:1.6;max-width:800px;margin:0 auto;color:rgba(255,255,255,.9)}
.quote-block blockquote::before{content:'\201C';font-size:4rem;color:var(--gold);display:block;margin-bottom:-1rem}

/* ===== Press Grid ===== */
.press-card{display:flex;flex-direction:column;gap:1rem}
.press-card .press-logo{height:45px;width:auto;max-width:160px;object-fit:contain;opacity:.7;margin-bottom:.5rem}
.press-card h3{font-size:1.05rem;line-height:1.4}
.press-card a.press-link{color:var(--gold);font-size:.9rem;font-weight:600;margin-top:auto}
.press-card a.press-link:hover{text-decoration:underline}

/* ===== Blog Cards ===== */
.blog-card{padding:2rem}
.blog-card .blog-date{font-size:.8rem;color:var(--gold);text-transform:uppercase;letter-spacing:1px;font-weight:600;margin-bottom:.5rem}
.blog-card h3{font-size:1.1rem;margin-bottom:.75rem;line-height:1.4}
.blog-card p{font-size:.9rem;margin-bottom:1rem}
.blog-card .read-more{color:var(--gold);font-weight:600;font-size:.9rem}
.blog-card .read-more:hover{text-decoration:underline}

/* ===== Values ===== */
.values-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.value-card{padding:2rem;border-left:3px solid var(--gold)}
.value-card h3{margin-bottom:.5rem}

/* ===== Contact ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.contact-info h3{margin-bottom:1rem}
.contact-info .contact-item{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.5rem}
.contact-info .contact-item .icon{font-size:1.3rem;margin-top:.15rem}
.contact-form label{display:block;font-weight:600;margin-bottom:.4rem;font-size:.9rem;color:var(--navy)}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:.75rem 1rem;border:1px solid #ddd;border-radius:4px;font-family:'Inter',sans-serif;font-size:.95rem;margin-bottom:1.25rem;transition:border-color .2s}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{outline:none;border-color:var(--gold)}
.contact-form textarea{resize:vertical;min-height:140px}

/* ===== Footer ===== */
.footer{background:var(--navy);color:rgba(255,255,255,.7);padding:3rem 0;text-align:center;font-size:.9rem}
.footer a{color:var(--gold);transition:color .2s}
.footer a:hover{color:#dbb95c}
.footer .social-links{display:flex;justify-content:center;gap:1.5rem;margin-bottom:1rem}
.footer .social-links a{font-size:.95rem}
.footer p{margin:0}

/* ===== Stat Numbers ===== */
.stat-number{font-family:'Playfair Display',serif;font-size:1.3rem;font-weight:700;color:var(--navy);margin-bottom:.25rem}

/* ===== Testimonials ===== */
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.testimonial-card{background:var(--white);border-radius:8px;padding:2rem;box-shadow:0 2px 12px rgba(0,0,0,.06);display:flex;flex-direction:column}
.testimonial-card blockquote{font-style:italic;font-size:.95rem;line-height:1.7;color:var(--text);flex:1;margin:0}
.testimonial-card .testimonial-author{font-weight:600;font-size:.85rem;color:var(--gold);margin-top:1rem;margin-bottom:0}
@media(max-width:900px){.testimonials-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.testimonials-grid{grid-template-columns:1fr}}

/* ===== Animations ===== */
.fade-in{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* ===== Mobile Responsive ===== */
@media(max-width:900px){
  .card-grid.cols-3,.card-grid.cols-4{grid-template-columns:repeat(2,1fr)}
  .story-section{grid-template-columns:1fr;gap:2rem}
  .story-section:nth-child(even){direction:ltr}
  .contact-grid{grid-template-columns:1fr}
  .cta-cards{grid-template-columns:1fr}
  .values-grid{grid-template-columns:1fr}
}

@media(max-width:768px){
  .nav-links{position:fixed;top:var(--nav-height);left:0;width:100%;background:var(--navy);flex-direction:column;align-items:center;padding:2rem 0;gap:1.5rem;transform:translateY(-120%);transition:transform .3s ease;box-shadow:0 4px 20px rgba(0,0,0,.3)}
  .nav-links.open{transform:translateY(0)}
  .hamburger{display:flex}
  .card-grid.cols-2,.card-grid.cols-3,.card-grid.cols-4{grid-template-columns:1fr}
  .hero{min-height:70vh}
  .hero-sm{min-height:40vh}
  section{padding:3.5rem 0}
}
