/* O₂ Medi homepage — visual system for index.html only.
   The golden arc is a signature homepage hero element.
   It appears here and nowhere else on the site.
*/
:root{--blue:#087de5;--navy:#092f5a;--navy2:#08294c;--ink:#0c2f59;--line:#d9e7f2;--pale:#f2faff}
*{box-sizing:border-box}
html,body{margin:0;font-family:"Century Gothic","Avenir Next",Arial,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block;height:auto}

.wrap{max-width:1440px;margin:auto;padding:0 70px}

/* Header */
.top{height:100px;background:#fff;border-bottom:1px solid #edf2f6}
.nav{height:100%;display:flex;align-items:center}
.brand{margin-right:auto;width:185px;height:92px;display:flex;align-items:center;justify-content:flex-start}
.brand img{display:block;width:118px;max-height:82px;height:auto;object-fit:contain}
.links{display:flex;align-items:center;gap:38px;font-size:14px;font-weight:600}
.links a{padding:41px 0 35px}
.links .active{color:var(--blue);border-bottom:2px solid var(--blue)}
.links .cta{padding:17px 28px;background:var(--blue);color:#fff;border-radius:4px;margin-left:12px}
.za{margin-left:30px;padding-left:30px;border-left:1px solid #b7c6d4;font-size:13px}
.menu-btn{display:none}

/* Hero */
.hero{height:500px;position:relative;overflow:hidden;background:linear-gradient(105deg,#fff 0%,#fff 42%,#edf8ff 76%,#fff 100%)}
.hero .wrap{height:100%;display:flex;align-items:center;position:relative;z-index:4}
.copy{width:57%;padding-top:6px}
.eyebrow{font-size:14px;letter-spacing:.25em;font-weight:700;margin-bottom:19px}
.eyebrow:after{content:"";display:inline-block;width:55px;border-top:2px solid #69bdf2;margin-left:20px;vertical-align:middle}
.hero h1{font-size:57px;line-height:1.03;letter-spacing:-.035em;margin:0 0 27px;font-weight:700}
.hero h1 span{color:var(--blue)}
.micro{font-size:13px;letter-spacing:.15em;font-weight:700;margin-bottom:31px}
.actions{display:flex;gap:18px}
.btn{padding:16px 32px;border-radius:4px;font-size:14px;font-weight:700}
.primary{background:var(--blue);color:#fff}
.secondary{border:1.5px solid var(--blue);color:var(--blue);background:#fff}

/* Signature golden silk ribbon — homepage hero only */
.visual{position:absolute;right:0;top:0;width:54%;height:100%;z-index:2}
.ring-blue{position:absolute;width:565px;height:565px;border:46px solid rgba(25,146,235,.25);border-radius:50%;right:98px;top:-98px}
.ring-blue:after{content:"";position:absolute;inset:33px;border:17px solid rgba(23,145,235,.42);border-radius:50%}
/* Signature yellow-gold silk ribbon: an open ascending arc, never a ring. */
.gold-arc{position:absolute;left:-155px;top:-110px;width:500px;height:690px;z-index:3;pointer-events:none;overflow:visible}
.gold-arc img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.o2mark{position:absolute;right:246px;top:162px;z-index:5;text-align:center}
.o2{font-size:77px;line-height:1;color:#087de5;letter-spacing:-.08em}
.o2 sub{font-size:.55em}
.markline{width:150px;height:2px;background:linear-gradient(90deg,#a76b00,#f4c856,#a76b00);margin:24px auto}
.local{font-size:13px;line-height:1.6;letter-spacing:.15em;font-weight:700}
.rightwords{position:absolute;right:62px;top:118px;border-left:1px solid #214d78;padding-left:30px;z-index:5;font-size:13px;line-height:2.45;letter-spacing:.26em}
.rightwords .tag{margin-top:22px;padding-top:22px;border-top:2px solid #168be8;line-height:2.2}

/* Pillars */
.pillars{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.pillar{min-height:155px;padding:29px 38px;display:flex;align-items:center;border-right:1px solid #a8d4f0}
.pillar:first-child{padding-left:18px}
.pillar:last-child{border-right:0}
.pillar b{font-size:13px;line-height:1.3}
.pillar p{font-size:13px;line-height:1.5;margin:8px 0 0;color:#183b61}

/* Purpose band */
.purpose{background:linear-gradient(110deg,#07335e,#06294c);color:#fff;padding:38px 0}
.purpose-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);align-items:center}
.purpose-title{padding-right:35px}
.purpose-title small{letter-spacing:.25em}
.purpose-title h2{font-size:35px;line-height:1.08;margin:12px 0 0}
.pitem{text-align:center;min-height:110px;border-left:1px solid rgba(119,193,239,.55);display:flex;flex-direction:column;justify-content:center}
.pitem b{font-size:13px;letter-spacing:.12em}
.pitem span{font-size:10px;letter-spacing:.13em;margin-top:7px}

/* Footer */
.footer{height:66px}
.footer .wrap{height:100%;display:flex;align-items:center;font-size:11px}
.legal{margin-left:auto;display:flex;gap:22px}
.legal a+a{border-left:1px solid #9aabba;padding-left:22px}

@media(max-width:1000px){
  .wrap{padding:0 28px}
  .brand{width:125px;height:76px}
  .brand img{width:96px;max-height:68px;height:auto}
  .links{gap:18px}
  .links a:not(.cta){display:none}
  .za{display:none}
  .menu-btn{display:block;margin-left:auto;background:none;border:0;font:inherit;font-weight:700;font-size:13px;color:var(--ink);cursor:pointer}
  .hero{height:auto;min-height:570px}
  .copy{width:100%;padding:70px 0 260px}
  .hero h1{font-size:46px}
  .visual{width:100%;opacity:.42;top:170px}
  .rightwords{display:none}
  .pillar-grid{grid-template-columns:1fr 1fr}
  .purpose-grid{grid-template-columns:1fr 1fr}
  .purpose-title{grid-column:1/-1;margin-bottom:25px}
  .pitem{border-top:1px solid rgba(119,193,239,.3)}
}/* 16 Sep 2026: hero cleanup — standalone O2 removed; official header logo is the sole O2 brand mark. */
.o2mark.o2mark-clean{top:258px}

/* Hero circle typography alignment refinement */
.o2mark.o2mark-clean{
  right:236px;
  top:252px;
  width:190px;
  text-align:center;
}
.o2mark.o2mark-clean .markline{
  width:156px;
  margin:0 auto 18px;
}
.o2mark.o2mark-clean .local{
  width:100%;
  margin:0 auto;
  text-align:center;
  line-height:1.55;
}
.rightwords{
  right:54px;
  top:112px;
  width:158px;
  box-sizing:border-box;
  padding-left:28px;
  text-align:left;
}
.rightwords .tag{
  width:158px;
  box-sizing:border-box;
  margin-left:0;
  text-align:left;
}

/* 16 Sep 2026: final circle wording alignment — centre text within each side */
.rightwords{
  right:38px;
  top:112px;
  width:190px;
  padding-left:24px;
  text-align:center;
}
.rightwords .tag{
  width:166px;
  margin-left:0;
  text-align:center;
}

/* 16 Sep 2026: approved circle composition — shift both text halves left together.
   Keeps each wording block centred on its own side of the divider. */
.o2mark.o2mark-clean{
  right:308px;
}
.rightwords{
  right:110px;
}

/* 16 Sep 2026: locked two-column circle composition.
   Each wording group has its own centre axis; divider is independent. */
.o2mark.o2mark-clean{
  right:294px;
  top:238px;
  width:210px;
  text-align:center;
}
.o2mark.o2mark-clean .markline{
  width:176px;
  margin:0 auto 16px;
}
.o2mark.o2mark-clean .local{
  width:210px;
  margin:0 auto;
  text-align:center;
  font-size:13px;
  line-height:1.55;
  letter-spacing:.15em;
}
.rightwords{
  right:62px;
  top:108px;
  width:210px;
  padding-left:0;
  border-left:0;
  text-align:center;
  font-size:13px;
  line-height:2.45;
  letter-spacing:.26em;
}
.rightwords::before{
  content:"";
  position:absolute;
  left:-22px;
  top:0;
  width:1px;
  height:282px;
  background:#214d78;
}
.rightwords .tag{
  width:190px;
  margin:20px auto 0;
  padding-top:20px;
  border-top:2px solid #168be8;
  text-align:center;
  line-height:2.2;
}

/* 16 Sep 2026: final reference-matched circle geometry.
   Divider sits on the ring centre axis; each text column is independently centred. */
.o2mark.o2mark-clean{
  right:431px;
  top:238px;
  width:210px;
}
.rightwords{
  right:194px;
  top:108px;
  width:210px;
}

/* 16 Sep 2026: final micro-alignment to approved circle reference.
   Keep right text axis fixed; bring divider onto circle axis and centre left block in its half. */
.o2mark.o2mark-clean{
  right:407px;
}
.rightwords::before{
  left:-2px;
}


/* 16 Sep 2026: approved circle composition inserted as a single locked image asset. */
.circle-composition{position:absolute;right:72px;top:-62px;width:590px;height:590px;z-index:2;pointer-events:none;overflow:hidden}
.circle-composition img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
/* Legacy circle/text layers are no longer used on the homepage. */
.visual .ring-blue,.visual .o2mark,.visual .rightwords{display:none!important}
