/* Bryant Trust Ltd home page. Same rules as the original static page; the
   .menu and .client rules are new (header buttons, signed-in panel). */
:root{
  --ivory:#F6F3EA;
  --charcoal:#121314;
  --muted:#6E6E6E;
  --bordeaux:#6A1B2F;
  --max:72ch;
  color-scheme: light;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; background:var(--ivory); color:var(--charcoal); -webkit-font-smoothing:antialiased}
a{color:var(--charcoal); text-decoration:none; border-bottom:1px solid rgba(0,0,0,.12)}
a:hover{border-bottom-color:var(--charcoal)}
.shell{min-height:100%; display:flex; flex-direction:column}
header,main,footer{padding:22px}
.wrap{max-width:var(--max); margin:0 auto}

/* Top bar */
.top{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap} /* buttons drop under the brand on phones */
.brandline{display:flex; align-items:flex-end; gap:8px}
.brand{font:500 18px/1 Inter,system-ui,sans-serif; letter-spacing:.02em; white-space:nowrap}

/* Crown inline with brand (PNG) */
.crown-inline{
  display:block;
  height:28px;   /* base size for phones/small screens */
  width:auto;
  opacity:.95;
  position:relative;
  top:2px;
}
@media(min-width:600px){ .crown-inline{ height:32px } }   /* tablets / medium screens */
@media(min-width:1200px){ .crown-inline{ height:36px } }  /* desktops / large monitors */

/* Header buttons: Elite Education + Secure Client Login (or name + Log out). One pill style for all. */
.menu{display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap}
.menu a{
  font:400 13px/1 Inter,system-ui,sans-serif; color:var(--charcoal);
  padding:8px 12px; border:1px solid rgba(0,0,0,.12); border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,0));
  white-space:nowrap;
}
.menu a:hover{border-color:rgba(0,0,0,.28)}
.menu .who{font:400 13px/1 Inter,system-ui,sans-serif; color:var(--muted); padding-right:4px}

/* Hero */
.tag{font-family:"EB Garamond", serif; font-weight:500; font-variant-caps:small-caps; letter-spacing:.06em; font-size:30px; margin-top:12px}
.est{font-family:"EB Garamond", serif; font-weight:400; font-size:14px; letter-spacing:.14em; color:var(--muted); margin-top:6px}
.rule{height:1px; background:rgba(0,0,0,.10); margin:24px 0}
.accent{height:2px; width:56px; background:var(--bordeaux); margin:-20px 0 24px 0; opacity:.5}
.lede{font:300 18px/1.6 Inter,system-ui,sans-serif; color:var(--muted); max-width:60ch; margin-bottom:0}

/* Client panel (only when signed in) */
.client{
  border:1px solid rgba(0,0,0,.10); border-left:6px solid var(--bordeaux);
  background:rgba(255,255,255,.35); padding:12px 16px; margin:0 0 20px 0;
  font:400 15px/1.6 Inter,system-ui,sans-serif; color:var(--charcoal);
}

/* Panels */
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:10px; /* tightened gap from lede to panels */
}
@media(min-width:900px){ .grid{grid-template-columns:1fr 1fr} }
.panel{border:1px solid rgba(0,0,0,.10); padding:18px; background:rgba(255,255,255,.35)}
.h{font:500 12px/1 Inter,system-ui,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.p{font:300 16px/1.7 Inter,system-ui,sans-serif; margin-top:6px}

/* Callout */
.callout{
  border-left:6px solid var(--bordeaux);
  padding:14px 16px;
  background:rgba(106,27,47,.07);
  margin-top:28px; /* more balanced spacing below panels */
}

.contact{margin-top:22px; font:400 15px/1.6 Inter,system-ui,sans-serif}
footer{margin-top:auto; color:var(--muted); font:300 13px/1.6 Inter,system-ui,sans-serif}
