/* TERAKAWA / One day of light (20261115)
   The index page moves from daylight to late afternoon, blue hour and night as it is read,
   carrying the idea of the Blue Hour hero through to the closing black band.
   Presentation only: no text, link or structured data is changed.
   Pairs with js/index-daylight.js, which draws the altitude rail in the margin: where the page has reached in the day,
   for the reader's own city (without JavaScript the page keeps its light and shows no instrument).
   Loaded last on the index pages. Screen only — print keeps the paper edition. */
#dl-sun{display:none}
@media screen{

/* ---- tones ---------------------------------------------------------- */
html[lang] .tx{--dl-day:#fbfaf7;--dl-noon:#f6f0e4;--dl-blue:#222a37;--dl-dusk:#1b212c;--dl-night:#15191f;--dl-deep:#141414}

/* late afternoon: Why and Before You Commission */
html[lang] .tx :is(.why,.problem){--paper:#f6f0e4;--paper-warm:#efe7d8;background-color:var(--dl-noon)!important}
html[lang] body .philosophy{background-image:linear-gradient(to bottom,var(--paper-warm,#f5f2ea) 40%,#f6f0e4)!important}

/* the turn: the lower margin of Before You Commission falls from afternoon into blue hour */
html[lang] .tx .problem{
  border-bottom:0!important;
  padding-bottom:calc(124px + 300px)!important;
  background-image:linear-gradient(to bottom,rgba(246,240,228,0) 0,#e6dccb 22%,#b9b2ab 46%,#6f7480 70%,#363e4c 88%,#222a37 100%)!important;
  background-repeat:no-repeat!important;background-position:left bottom!important;background-size:100% 340px!important}

/* blue hour → dusk → night: Pricing, Process, Rights / Voices, About */
html[lang] .tx :is(.pricing-index,.flow,.rights,.voice,.about-index){
  --paper:#222a37;--paper-warm:#2a3342;--ink:#f3efe6;--ink-2:#dedad0;--ink-soft:#b4bac4;--ink-mute:#aab1bc;
  --line:rgba(255,255,255,.2);--line-soft:rgba(255,255,255,.12);--tx-rule:rgba(255,255,255,.2);
  --accent:#d6bb85;--accent-dark:#dcc491;--accent-soft:#9a865c;
  color:#dedad0;border-color:rgba(255,255,255,.2)!important;background-repeat:no-repeat!important;background-size:100% 110px!important;background-position:left top!important}
html[lang] .tx :is(.pricing-index,.flow,.rights,.voice,.about-index){border-top:0!important;border-bottom:0!important}
html[lang] .tx .pricing-index{background-color:var(--dl-blue)!important;background-image:none!important}
html[lang] .tx .flow{--paper:#1b212c;--paper-warm:#232a37;background-color:var(--dl-dusk)!important;background-image:linear-gradient(var(--dl-blue),var(--dl-dusk))!important;border-top:0!important}
html[lang] .tx :is(.rights,.voice){--paper:#15191f;--paper-warm:#1d222a;background-color:var(--dl-night)!important;background-image:linear-gradient(var(--dl-dusk),var(--dl-night))!important}
html[lang] .tx .about-index{--paper:#141414;--paper-warm:#1c1d20;background-color:var(--dl-deep)!important;background-image:linear-gradient(var(--dl-night),var(--dl-deep))!important}

/* text and rules that carry their own fixed colours */
html[lang] .tx :is(.pricing-index,.flow,.rights,.voice,.about-index) :is(.sec-sub,.flow-step-desc,.flow-brief p,.flow-brief li,.rights-list li,.about-body,.about-body p,.about-services span,.about-services em,.voice-text,.voice-author strong,.price-includes li,.op-body,.op-ja-p){color:#d6d2c8!important}
html[lang] .tx :is(.pricing-index,.flow,.rights,.voice,.about-index) :is(.flow-step-name-en,.rights-note,.rights-links,.about-office-intro,.price-per,.pricing-note,.voice-author,.op-en,.fx-when,.fx-note,.fx-inline){color:#b2b8c2!important}
html[lang] .tx :is(.pricing-index,.flow,.rights,.voice,.about-index) :is(.rights-note,.rights-links,.pricing-note,.about-body,.sec-sub) a{color:#dcc491!important}
html[lang] .tx .pricing-index .fx-note{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.2)!important}
html[lang] .tx .price-card.featured{background:rgba(255,255,255,.045)!important}
html[lang] .tx :is(.flow,.rights) .rf-ic{border-color:rgba(255,255,255,.5)}
html[lang] .tx :is(.flow,.rights) .rf-acc.rf-open .rf-ic{background:transparent;border-color:rgba(255,255,255,.5)}
html[lang] .tx .flow-grid::before{background:rgba(255,255,255,.34)!important}

/* ---- the sun in the margin -------------------------------------------
   One instrument instead of a note per section: an altitude rail for the reader's own city, today.
   The marks are noon, golden hour, sunset (the long one: the horizon), blue hour, dusk and night, each
   with its time; the bead is the sun, and it sinks as the page is read. Below it, the hour the page has
   reached, the name of the light and the exposure that light asks for.
   Built and moved by js/index-daylight.js; decorative (aria-hidden), never in the way of the text. */
#dl-sun{position:fixed;z-index:3;pointer-events:none;direction:ltr;text-align:left;opacity:1;transition:opacity .45s ease;
  font-family:'Inter',sans-serif;font-weight:400;font-style:normal;-webkit-user-select:none;user-select:none}
#dl-sun.off{opacity:0}
html.txv-open #dl-sun{display:none!important}
#dl-sun i,#dl-sun b{font-style:normal;font-weight:400}
#dl-sun .p{color:#5f5b52;--g:#7e6538;transition:color .3s ease}
#dl-sun .p.s{color:#2b2a26;--g:#5a4622}
#dl-sun .p.n{color:#b3bdcd;--g:#d6bb85}
#dl-sun .p.n.s{color:#f3efe6;--g:#ecd29b}
@keyframes dlRing{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(3.6)}}
@keyframes dlIn{0%{opacity:0;transform:translateY(7px)}100%{opacity:1;transform:translateY(0)}}
@keyframes dlMark{0%{width:26px}100%{width:13px}}
@keyframes dlDot{0%{box-shadow:0 0 0 0 currentColor}100%{box-shadow:0 0 0 7px transparent}}

@media (min-width:1024px) and (min-height:540px){
#dl-sun{display:block;--w:54px;--h:200px;--lx:16px;width:var(--w);top:calc(50vh - 150px);left:calc((clamp(40px,6vw,110px) - var(--w))/2)}
#dl-sun .dl-line{display:none}
#dl-sun .dl-city{display:flex;flex-direction:column;justify-content:flex-end;height:24px;margin-bottom:14px;font-size:9px;line-height:12px;letter-spacing:.2em;text-transform:uppercase;transform-origin:0 100%}
#dl-sun .dl-city.tight{letter-spacing:.05em}
#dl-sun .dl-city em{display:block;font-style:normal;font-size:8px;opacity:.72;letter-spacing:.14em}
#dl-sun .dl-rail{position:relative;height:var(--h)}
#dl-sun .dl-seg{position:absolute;left:6px;width:1px;background:currentColor;opacity:.6}
#dl-sun .dl-tk{position:absolute;left:0;right:0;height:0}
#dl-sun .dl-tk i{position:absolute;left:2px;top:0;width:9px;height:1px;background:currentColor;opacity:.75}
#dl-sun .dl-tk.hz i{left:0;width:13px;opacity:1}
#dl-sun .dl-tk b,#dl-sun .dl-tk span{position:absolute;left:var(--lx);white-space:nowrap;opacity:.72;transition:opacity .4s ease}
#dl-sun .dl-tk b{top:-4px;font-size:7.5px;line-height:8px;letter-spacing:.14em;text-transform:uppercase}
#dl-sun .dl-tk span{display:none;top:6px;font-size:8px;line-height:9px;letter-spacing:.04em;font-variant-numeric:tabular-nums}
#dl-sun .dl-tk.on i{left:0;width:13px;opacity:1;background:var(--g)}
#dl-sun .dl-tk.on b,#dl-sun .dl-tk.on span{opacity:1}
#dl-sun .dl-tk.on b{color:var(--g)}
#dl-sun .dl-end{position:absolute;left:3px;top:100%;width:7px;height:1px;background:currentColor;opacity:.6}
#dl-sun .dl-sunw{position:absolute;left:6px;top:0;width:0;height:0}
#dl-sun .dl-s,#dl-sun .dl-r{position:absolute;left:-4.5px;top:-4.5px;width:9px;height:9px;border-radius:50%;box-sizing:border-box}
#dl-sun .dl-s{border:1.2px solid var(--g);background:var(--bg,transparent)}
#dl-sun .dl-s.up{background:var(--g)}
#dl-sun .dl-r{border:1px solid var(--g);opacity:0}
#dl-sun .dl-now{display:block;margin-top:18px}
#dl-sun .dl-t{display:block;font-family:'EB Garamond',serif;font-size:17px;line-height:1;letter-spacing:.01em;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
#dl-sun .dl-ph{display:block;margin-top:8px;min-height:20px;font-size:7.5px;line-height:10px;letter-spacing:.16em;text-transform:uppercase}
#dl-sun .dl-ex{display:block;margin-top:5px;font-family:'EB Garamond',serif;font-style:italic;font-size:12.5px;line-height:1.2;letter-spacing:.02em;white-space:nowrap;color:var(--g)}
#dl-sun.chg .dl-r{animation:dlRing 1.15s cubic-bezier(.2,.6,.3,1)}
#dl-sun.chg .dl-ph{animation:dlIn .75s cubic-bezier(.2,.7,.2,1)}
#dl-sun.chg .dl-tk.on i{animation:dlMark .9s cubic-bezier(.2,.7,.2,1)}
}
@media (min-width:1024px) and (min-height:660px){
#dl-sun{--h:240px;top:calc(50vh - 172px)}
#dl-sun .dl-tk b{top:-9px}
#dl-sun .dl-tk span{display:block;top:1px}
}
@media (min-width:1024px) and (min-height:800px){
#dl-sun{--h:300px;top:calc(50vh - 205px)}
}
@media (min-width:1360px) and (min-height:540px){
#dl-sun{--w:64px;--lx:19px}
#dl-sun .dl-city{font-size:10px;line-height:13px;letter-spacing:.22em}
#dl-sun .dl-city em{font-size:8.5px}
#dl-sun .dl-tk b{font-size:8px;letter-spacing:.16em}
#dl-sun .dl-tk span{font-size:8.5px}
#dl-sun .dl-t{font-size:19px}
#dl-sun .dl-ph{font-size:8px;letter-spacing:.18em}
}

/* phones: one quiet line on the edge of the page */
@media (max-width:480px){
#dl-sun{display:block;top:36%;left:0;width:8px}
html[dir="rtl"] #dl-sun{left:auto;right:0}
#dl-sun .dl-city,#dl-sun .dl-rail,#dl-sun .dl-now{display:none}
#dl-sun .dl-line{display:block;writing-mode:vertical-rl;white-space:nowrap;font-size:7.5px;line-height:8px;letter-spacing:.22em;text-transform:uppercase}
#dl-sun .dl-line span{display:inline-block}
#dl-sun .dl-dot{display:inline-block;width:5px;height:5px;margin:0 0 9px;border:1px solid var(--g);border-radius:50%;box-sizing:border-box;vertical-align:middle;color:var(--g)}
#dl-sun .dl-dot.up{background:var(--g)}
#dl-sun .dl-t2{color:var(--g)}
#dl-sun .dl-ph2::before,#dl-sun .dl-ct2::before{content:"\00b7";display:inline-block;margin:6px 0}
#dl-sun .dl-ct2{opacity:.85}
#dl-sun.chg .dl-dot{animation:dlDot 1.1s ease-out}
#dl-sun.chg .dl-ph2{animation:dlIn .75s cubic-bezier(.2,.7,.2,1)}
}
@media (prefers-reduced-motion:reduce){
#dl-sun,#dl-sun *{animation:none!important;transition:none!important}
}
@media (forced-colors:active){
#dl-sun{display:none!important}
}

/* ---- phones ---------------------------------------------------------- */
@media (max-width:767px){
html[lang] .tx .problem{padding-bottom:calc(72px + 200px)!important;background-size:100% 230px!important}
html[lang] .tx :is(.pricing-index,.flow,.rights,.voice,.about-index){background-size:100% 70px!important}
}

/* high-contrast preferences keep the paper edition */
@media (forced-colors:active){
html[lang] .tx :is(.why,.problem,.pricing-index,.flow,.rights,.voice,.about-index){background-image:none!important}
}
}

/* pricing cards on phones (20261121): the Enquire button sits on the same line in every card,
   however many items the card lists */
@media screen and (max-width:767px){
html[lang] .tx .pricing-grid.mc-carousel>.price-card{display:flex!important;flex-direction:column}
html[lang] .tx .pricing-grid.mc-carousel>.price-card>.price-cta{margin-top:auto!important}
html[lang] .tx .pricing-grid.mc-carousel>.price-card>.price-name-en{margin-top:0}
}
