Introduction

The formation of noble-metal-based nanostructures enables the manipulation of electromagnetic waves, providing controlled transmission, reflection, absorption, and scattering of light1,2,3,4,5,6. In modern optics, a variety of nanoscale materials and their localisation have been examined, as they often lead to novel optical effects7,8,9,10,11. Viewing-direction-sensitive information display utilising the optical Janus effect has attracted great attention owing to its dynamic operation scheme, which delivers discriminative information, either in-plane colours/messages12,13,14 or out-of-plane imaging such as holograms15,16. Among the schemes, viewing-direction-dependent information delivery across nanostructured windows, which contrasts the popular belief that transparent materials exhibit identical colours/messages when viewed from the front and back17,18,19,20,21,22, has attracted great attention because of its great potential in wide ranges of practical applications. For example, viewing-direction-sensitive asymmetric information displays with broad colour coverage along with real-time colour tuneability can be utilised to realise dynamic colour filters23,24,25, optical switches26, data storage devices27, anti-counterfeiting devices28, and semi-transparent solar cells29. However, the integration of a subwavelength geometry in the form of periodic nanostructures often suffers from low throughput associated with the state-of-the-art lithographic techniques necessary for sample fabrication. The issue becomes more complex with the integration of such structures embedded within multiple layers, significantly limiting their application in dynamic and real-time colour tuning. Thus, the development of a new platform overcoming the aforementioned challenges regarding colour tuning is desired for the realisation of advanced optical devices. Furthermore, a simple and cost-effective platform compatible with mass production would be ideal for practical and advanced applications.

Here, a novel concept utilising a liquid-permeable Fabry–Perot (FP) etalon is proposed to achieve an asymmetric reflective colour contrast dependent on the viewing direction, which is further capable of delivering information. Throughout this work, the mechanisms underpinning the asymmetric colouration in the proposed single unit of a metal−dielectric−metal (MDM) platform as well as a tuneable colour switch for viewing-direction-dependent information display via solvent infiltration are thoroughly analysed using a combined theoretical–experimental approach. Furthermore, a proof-of-concept side-selective anti-counterfeit display is demonstrated based on our state-of-the-art concept of asymmetric optical camouflage (Fig. 1a).

Fig. 1: Liquid-permeable BEE for Janus colouration.
figure 1

a Conceptual illustration of direction-sensitive asymmetric optical camouflage by the tuneable optical Janus effect. b, c SEM images of the Bruggeman Au film (b, top view) and CYTOP nanopillars (c, cross-sectional view) of the BEE. Scale bars, 200 nm. d Schematic illustration of light propagation within the liquid-permeable BEE and reflection and transmission coefficients at each interface. e Calculated reflective colours of the BEE upon opposite incidences (upper and lower half for reflective colours seen from the frontside and backside) as a function of fAu and neff of the dielectric region. f, g Calculated (left) and experimentally observed (right) reflective colours of BEE under neff ≈ 1.05 f and 1.35 g seen from the frontside (upper) and backside (bottom). Scale bars, 2 cm

Results

Tuneable optical Janus effect via a BEE

First, we describe the design of a transreflective etalon that produces directionally asymmetric reflective colour depending on the incident light direction. Metal nanoparticles within vertical stacks have been demonstrated to play essential roles in viewing-direction-sensitive colour contrast, causing anomalous phase differences in different light reflections17,18,19. As previously reported, a liquid-permeable vertical stack possessing a porous dielectric layer produces different colours based on the refractive index (RI) of the external medium30. Colour-tuneable optical Janus effects can be realised by stacking two transreflective metal films of distinct geometries (nanoparticle-like for the top film, flat for the bottom film) separated by a dielectric film with hollow voids (see “Methods” section). Briefly, a representative stack consists of a glass substrate with a 25-nm-thick Au layer, a 150-nm-thick hydrophobic spin-coated CYTOP film, and a 35-nm-thick nanostructured Au layer subsequently self-assembled on a hydrophobic dielectric surface by low-density nucleation30,31,32,33. O2 plasma reactive ion etching (RIE) enables selective etching of the underlying CYTOP film through the nanoapertures of the nanostructured Au film (Fig. 1b), leaving CYTOP nanopillars with hollow air voids (Fig. 1c). This allows infiltration of external media into the dielectric layer. We define the proposed MDM stack as a ‘Bruggeman effective etalon (BEE)’ because the nanomorphologies of both the M and D layers can be regarded as a Bruggeman’s effective medium consisting of metal/air (M) and CYTOP/air (D) composites entangled at the subwavelength scale34.

The BEE is composed of five layers (Fig. 1d; layers 1–5 represent air, top Au, dielectric, bottom Au, and glass, respectively), where the top Au and dielectric layers are heterogeneous composite layers of the Bruggeman geometry. Because of the microscopic inhomogeneity of the nanostructures far below the diffraction limit, each layer is regarded as a macroscopically homogeneous medium whose effective optical properties can be derived using Bruggeman’s effective medium theory (see “Methods” section). The total reflection coefficients seen from the frontside and backside (r15 and r51, respectively) can be expressed by

$$r_{15} = r_{13} + \frac{{t_{13}t_{31}r_{35}\exp (j2\varphi )}}{{1 - r_{31}r_{35}\exp (j2\varphi )}}{\mathrm{and}}\,r_{51} = r_{53} + \frac{{t_{53}t_{35}r_{31}\exp (j2\varphi )}}{{1 - r_{31}r_{35}\exp (j2\varphi )}}$$
(1)

where φ = n3k0d3cosθ is the optical phase difference inside the FP etalon (Fig. S1). This indicates that the reflective colours arise from constructive/destructive interference due to the superposition of multiple waves reflected/transmitted at each interface. By calculating the reflection spectrum using Eq. (1), a simulated colour map (Fig. 1e) was achieved, which displays the correlation between the filling fraction of the top Au layer (fAu) and the effective RI of the dielectric layer (neff). In contrast to viewing-direction-independent colouration in a thin-film cavity35 with fAu = 1, the BEE possessing nanostructured Au with 0 < fAu < 1 obviously induces the optical Janus effect, caused by the asymmetric Au geometry between the metal films (flat for the bottom, nanostructured for the top). Eq. (1) clearly indicates that the reflection coefficients of the first direct reflections (r13 vs. r53) as well as the convolution of the transmission coefficients and the internal reflection coefficients for multiple reflections (t13t31r35 vs. t53t35r31) play dominant roles in the direction-sensitive colour display (Fig. S1). This implies that the reflected colour (r15 vs. r51) sensitively depends on the geometrical factor (fAu) as well as the material property (neff.) of the constituent layer within the BEE stack. Once the structural geometries of the BEE have been established, the overall colour can be further tuned by tailoring φ. The colour map shows that the Janus effect is maximised when 0.5 < fAu < 0.8, demonstrating that our BEE system is highly advantageous for manipulating colour, as it maintains the optical Janus effect. In addition to the good colour correspondence between the simulation and experimental results, Fig. 1f, g confirm that (i) the generation of predicted colours can be realised by physicochemical control of the BEE geometry and (ii) the proposed platform guarantees colour uniformity and scalability.

Origin of the optical Janus effect in the BEE architecture

On the basis of a simulation approach to colour contrast and dynamic colour control across viewing directions, we explored the roles of stack architectures and film nanomorphologies in the optical Janus effect. For systematic comparison, we prepared two sets of metal–dielectric (MD) and MDM stacks with different top film geometries. Note that each stack shares a common film thickness and common materials: a 35-nm-thick top Au layer and a 150-nm-thick CYTOP film with/without a 25-nm-thick bottom Au film (Fig. 2a–d). The MD/MDM stacks possessing flat Au on the top exhibit reflection spectra of similar colours and shapes for both sides, with reduced reflectance at the backside due to the ‘substrate effect’36 (Fig. 2a, b). Although the asymmetric thickness of the vertically stacked Au layers induces a perceivable colour difference, the results clearly indicate that the flat film by itself is incapable of yielding a colour disparity in the two directions. Additionally, the colour difference between MD (Fig. 2a; silver) and MDM (Fig. 2b; yellow-green) emphasises the role of the FP effect in colour control by shifting the dips in the total reflectance. In contrast to the flat film on top, the optical properties of the Bruggeman stack show the optical Janus effect. More importantly, the colour disparity is intensified in the MDM stack (Fig. 2d) compared with the MD stack (Fig. 2c). Compared with the resonance spectrum within the thin-film FP cavity (Fig. 2b), the resonance of the BEE on the frontside broadened into the longer-wavelength region, whereas that of the backside was blueshifted (Fig. 2d). This phenomenon is attributed to the broadband absorbing Bruggeman film37, which causes an overall decrease in reflectivity between 500 and 800 nm (Fig. 2a, c), thereby accelerating the colour contrast across the viewing directions. Taking these results together, the existence of bottom reflectors is essential for perceivable colouration, whereas the optical Janus effect is a result of the top film geometry. While a colour disparity was observed in the reflection mode, the transmission optical properties were found to be identical in both directions because of optical reciprocity (Fig. S2).

Fig. 2: Optical characteristics in different thin film architectures.
figure 2

a–d Experimental reflectance spectra of different thin film architectures measured from the frontside (red) and backside (blue) with insets showing photographs and schematics; MD a, c and MDM structure b, d with a flat a, b and a Bruggeman c, d Au film as the top film. Scale bars, 1 cm. e–h Amplitudes e, g and phases f, h of reflection coefficients calculated from the film architecture of d when seen from the frontside e, f and backside g, h

To analyse the mechanism underlying the optical Janus effect in the BEE (Fig. 2d), the amplitudes and phases of the reflection coefficients (r15 and r51) were calculated. In this process, Bruggeman’s effective medium theory was adopted for optical simulations, where the filling fractions were obtained by image processing and subsequent calculation of the coverages over a large area based on SEM images. The amplitude of r15 in the calculated spectrum exhibits its maximum reflectance at ~470 nm and minimum reflectance at 720 nm (Fig. 2e), in good agreement with the wavelengths showing phase differences of 0 and π between the direct reflection term (r13) and multiple reflection term (r15r13), respectively (Fig. 2f). In detail, the reflection spectrum of r15 is a result of interference between r13 and r15r13, yielding constructive interference at 470 nm (** in Fig. 2e, f) and destructive interference at 720 nm (* in Fig. 2e, f). However, the maximum/minimum reflectances do not completely match the maximum constructive/destructive interferences because of the dispersive property of Au within the visible range. In the case of r51, the spectral positions of the constructive/destructive interferences were blueshifted to 420 and 600 nm, respectively (Fig. 2g, h), which provides essential clues for the fundamental understanding of the optical Janus effect in the proposed BEE stack, namely, the differences in the two major reflection coefficients (r53 and r51r53); one is the amplitude of r53 (orange curve in Fig. 2e vs. black curve in Fig. 2g), and the other is the phase difference of r51r53 between the wavelength spectra of r15 and r51. Despite the relative phase similarity of the direct reflection terms under both incidences (r13 in Fig. 2f vs. r53 in Fig. 2h), a significant blueshift of the multiple reflection term in r51 (r51r53; violet curve in Fig. 2h) with respect to r15 (r15r13; green curve in Fig. 2f) creates a striking colour contrast across the viewing directions. Apparently, the disparity in the range of 500–800 nm intensifies the differences in the multiple reflection terms of the frontside and backside, and the colour contrast becomes complex through the combination of the direct and multiple reflection terms (Fig. S3). In contrast to the reflection spectra of a flat film etalon (Fig. S4), these results highlight the advantage of our BEE architecture for achieving the optical Janus effect.

Tuneable optical Janus effect by RI modification of the dielectric layer

Having established the origin of the asymmetric colouration, we examined whether modification of the RI of the dielectric layer could provide an additional degree of freedom for modulating the asymmetric optical characteristics of the BEE. As the spectral positions of the FP optical cavity resonance are highly dependent on the RI of the optical spacer region, modification of neff in the dielectric region should induce resonance shifts to the extent that the colour changes in the visible region. Reflective colours under opposite viewing directions were calculated as a function of optical geometric parameters (CYTOP filling fraction; fCYTOP) and the surrounding RI (nsolvent) prior to the experiments (Fig. 3a). The colour map signifies that smaller values of fCYTOP yield more dramatic colour changes with varying nsolvent without affecting the side-sensitive colour disparity.

Fig. 3: Optical Janus effect with colour tuneability by modifying the effective RI of the dielectric layer.
figure 3

a Calculated reflective colours of the BEE upon opposite incidences (upper and lower half seen from the frontside and backside) as a function of nsolvent and fCYTOP. b Conceptual illustration of controlling the dielectric nanomorphology by moving a mask during RIE. c, d Experimental reflective optical spectra measured from the frontside c and backside d with etching durations of 0, 20, 40, and 60 s (insets: photographs of each side). eg Photographs of the BEE under media of n = 1.0 (air) and nsolvent = 1.3, 1.4, 1.5, and 1.6 (solvents) (e, insets show calculated colours), and their corresponding measured reflective optical spectra f, g. Scale bars, 1 cm

Two experiments were designed to demonstrate the role of the dielectric properties of the BEE in the colour control. First, we controlled the neff of the dielectric film utilising spatial RIE to manipulate the dielectric morphology of the BEE. In situ sequential movement of the shadow mask during RIE can produce site-selectively tailored dielectric nanomorphologies (Figs. 3b and S5) and result in etching-time-dependent colouration when viewed from opposite sides; yellow-green (0 s), light-blue (20 s), blue (40 s), and bluish-violet (60 s) were observed on the frontside, whereas violet (0 s), pink (20 s), orange (40 s), and yellow (60 s) were monitored on the backside (Fig. 3c, d), in good agreement with the simulated reflective colours (red dotted box in Fig. 3a). As more air (n = 1.0) enters the voids of the dielectric region with longer etching, the decreased neff of the dielectric region (ideally, 1 < neff < 1.34) induces a spectral blueshift in both viewing directions, which signifies the effect of physical modification of the dielectric regions. Second, chemical modification of the dielectric layer was also examined by infiltrating transparent solvents with various RIs into the porous dielectric layer. For a BEE with an etching duration of 60 s (fAu = 0.65, fCYTOP = 0.20), the reflective colours exhibited asymmetric F/B colour contrasts of bluish-violet/yellow (air; n = 1.0), cyan/pink (nsolvent = 1.3), green/violet (nsolvent = 1.4), yellow-green/blue-green (nsolvent = 1.5), and yellow/green (nsolvent = 1.6) in both experiments (Fig. 3e) and simulations (insets in Fig. 3e). The experimental reflectance spectra clearly demonstrate that the capillary force drives solvents into the prearranged air voids, thereby modifying the neff of the dielectric region and ultimately causing dramatic colour changes in both viewing directions (Fig. 3f, g). Though they are hardly recognisable with the naked eye, transmission colour changes were also monitored that showed great correspondence with the theoretical modelling (Fig. S6). Scalable and uniform colouration display with active colour tuning through dielectric modification proves the versatility of our BEE platform, which is among the key prerequisites for practical applications (Figs. S7 and S8). This demonstrates that tuneable colouration can be achieved via manipulation of the dielectric properties while maintaining the optical Janus effect.

Symmetric message encryption/decryption by dielectric tuning

The proposed BEE can be applied to photonic message encryption. A message was pre-encoded on the BEE surface through site-selective RIE using a message-open shadow mask, creating two different regions of distinct dielectric nanomorphologies: fAu = 0.65 and fCYTOP = 0.20 for Region I and fAu = 0.65 and fCYTOP = 1.00 for Region II (Figs. 4a and S9). When immersed in index-matching solvents (methanol; n = 1.34), the optical properties of the encoded messages in Region I were designed such that their colours matched those of the background in Region II (Fig. 4a). As a result, the encoded message became indistinguishable in both reflection and transmission modes (optical camouflage) because the background/message regions were optically identical under index-matching conditions (methanol; n = 1.34). In non-index-matching solvents (toluene; n = 1.49, Fig. 4b, c, and Supplementary video 1), however, the encoded messages became distinguishable. Since the colour contrast is determined dominantly by the difference between the neff of the message region (given by the difference between the RIs of CYTOP and the medium) and the background region (fixed at n = 1.34), the larger difference in neff across the boundary in air leads to a larger colour contrast than in toluene. For a more systematic analysis, the reflection spectra were simulated, and the spectral positions of the local maximum reflectance (λmax) were plotted as a function of nsolvent (Figs. 4d, e, and S10). As the identical fAu values in Regions I and II guarantee identical intersection of λmax for both sides (front and back) at nsolvent = 1.34, direction-insensitive optical camouflage with an index-matching solvent is capable of information encryption, regardless of the viewing direction as well as observation mode.

Fig. 4: Site-selectively etched BEE for symmetric message hiding.
figure 4

a Schematic illustration showing different fCYTOP values for symmetric message hiding. b, c Photographs of the site-selectively etched BEE (Region I for the message and Region II for the background) demonstrating symmetric message hiding in reflection (upper row) and transmission (lower row) modes seen from the frontside b and backside c under air, methanol, and toluene. Scale bars, 1 cm. d, e Calculated spectral positions of the maximum reflectance in Regions I (black line) and II (red line) seen from the frontside d and backside e as a function of nsolvent

Asymmetric information encryption by optical camouflage

In contrast to symmetric message encryption through optical camouflage, viewing-direction-sensitive asymmetric information encryption/decryption was examined by tuning the geometries of the constituent films, such as fAu and fCYTOP. Inspired by the colour tuneability that depends on the physical properties of the layers comprising the BEE (Fig. 1e), we engineered both fAu and fCYTOP by modifying the surface hydrophobicity of the dielectric surface (Region III) through O2 plasma surface treatment prior to the top Au deposition. Since the self-assembled top Au nanomorphology is highly dependent on the surface energy, site-selective control of the hydrophobicity of the CYTOP surface yields distinct values of fAu during the Au deposition process. The sequential RIE modifies fCYTOP, tailoring the dielectric geometry with various proportions of hollow voids (Figs. 5a and S9). Comparing the geometric properties of Region I (Fig. 5a, b, fAu = 0.65, fCYTOP = 0.20), the experimental surface modification and subsequent RIE process successfully modifies both the top Au and dielectric nanomorphologies of Region III in a less perforated (fAu = 0.80) and less etched (fCYTOP = 0.60) manner (Fig. 5a, c). Based on the experimentally achieved geometric parameters, the reflective colours and spectra on both sides of Regions I and III were simulated with respect to the surrounding RI (Figs. 5d and S10). The simulated results suggest that the reflective colours in the two different regions are analogous around nsolvent = 1.4 and 1.6 for the frontside and backside, respectively. To experimentally verify the simulated results, we prepared a message-encoded BEE sample through selective surface modification and compared the colours of each region (Region III for message, Region I for background) upon infiltrating various solvents. As seen from both viewing directions, the message was clearly distinguishable under an atmospheric environment, showing great colour disparities across the two regions (Fig. 5e; n = 1.0). However, when immersed in standard RI liquids, the frontside reflective optical messages were barely distinguishable around nsolvent = 1.4 (blue dotted box in Fig. 5e), whereas they were indistinguishable at nsolvent = 1.6 on the opposite side (red dotted box in Fig. 5e and Supplementary video 2). The viewing-direction-sensitive information encryption through optical camouflage was qualitatively analysed by λmax (Fig. 5f, g) and the colour differences (ΔE*) (Fig. 5h, i). Note that the left and right of the backside photographs were flipped for ease of presentation.

Fig. 5: BEE for asymmetric message hiding.
figure 5

a Schematic illustration showing different fAu and fCYTOP values for viewing-direction-sensitive message hiding. b, c Top-view (upper) and cross-sectional view (lower) SEM images of Regions I b and III c. Scale bars, 200 nm. d Calculated reflective colour gradation in each region seen from both sides (insets show enlarged photographs of e). e Photographs of the solvent-immersed BEE (Region I for the background and Region III for the message) demonstrating asymmetric message hiding seen from the frontside (upper) and backside (lower) under media of n = 1.0 (air) and nsolvent = 1.3, 1.4, 1.5, 1.6, and 1.7 (solvents). Scale bars, 1 cm. f, g Calculated spectral positions of the maximum reflectance in Regions I (black line) and III (blue line) seen from the frontside f and backside g as a function of nsolvent = 1.0–1.7. h, i ΔE* between Regions I and III as a function of nsolvent obtained from calculated (red line) and measured (black line) reflectance spectra seen from the frontside h and backside i

The calculated λmax as a function of nsolvent obviously confirms that the reflection peaks intersect upon exposure to different solvents, such as under nsolvent = 1.40 and 1.59 for the frontside and backside, respectively (Figs. 5f, g and S10). Although the calculated colour maps (Fig. 5d) showed great correspondence with the experimental observations (Fig. 5e), a more detailed analysis should be conducted because identical spectral wavelengths of the maximum reflectance do not always guarantee cognitive colour similarities across two regions. In this respect, the colour differences (ΔE*), which can quantify the cognitive similarities between two different colours38, were calculated from each measured/simulated spectra and marked in the CIE 1931 map (Figs. S11 and S12). According to the calculations, ΔE* became minimised under nsolvent = 1.4 and 1.6 when viewed from the frontside and backside, respectively (red lines in Fig. 5h, i). Because the minimised ΔE* values imply that the reflection colours from the two regions become barely distinguishable, the analysis evidently supports the exotic optical phenomenon of viewing-direction-sensitive information encryption through optical camouflage. In contrast to the side-selective message encryption, the colour contrast across the two regions remained when observed in transmission mode (Fig. S13 for transmission mode). In addition, owing to the low angular dependency, the asymmetric message maintained its invisibility with variation of the viewing angle to a reasonable extent (Figs. S14, S15 and Supplementary video 3) and even under diffuse illumination such as natural sunlight (Fig. S16, Supplementary videos 4 and 5), and it can be further improved in combination with strategies that reduce the angular dependency39,40. These results suggest that manipulation of film geometries (fAu and fCYTOP) enables colour contrast display for information encoding and allows viewing-direction-sensitive information delivery through optical camouflage.

Discussion

Although the novel optical Janus effect opens up a new avenue for asymmetric colour generation, the limited size/shape of nanoparticles embedded within multiple films has prohibited its application in dynamically tuneable colour displays. Our proposed transreflective BEE platform exhibits asymmetric reflective colour display along with colour tuneability with infiltration of solvents. We discovered that precise control of the physicochemical properties of the films (fAu and fCYTOP) comprising the BEE stack leads to (i) enhanced colour contrast with respect to the viewing direction and (ii) superior optical resonance shifts for independent colour control upon neff modulation via liquid infiltration. Owing to the low angular dependency arising from the thin dielectric thickness and resonance broadening by the random Au nanomorphology, the proposed BEE retains its asymmetric message-hiding characteristics at wide viewing angles or under diffuse illumination, such as in natural sunlight conditions. As a result, compared with previously demonstrated discriminative information delivery based on photonic crystals13, our proposed BEE is highly advantageous in terms of the reasonable maintenance of its optical properties under off-axis or diffuse illumination, which is essential for real-world applications under various illumination conditions. Taking a step further, we developed a spatially selective tailoring process for modification of the dielectric nanomorphology to engrave informative messages on the BEE surface, which confirmed the state-of-the-art concept of a chromatically switchable phenomenon accompanied by viewing-direction-sensitive optical camouflage under immersion in different solvents. Moving forward, bidirectional display of two different tuneable messages/images appears to be a tangible goal in the next step to enable a wider range of photonic applications, including dynamic/informative colour filters, smart windows, optical switches, double-sided colour displays, optical data storage devices, and anti-counterfeiting devices. Moreover, beyond presenting a tuneable Janus effect by tuning the RIs of dielectric films, our universal scheme for manipulating optical properties through an MDM stack can be implemented by adopting specialised nanomaterials, such as temperature-sensitive24 or humidity-sensitive materials25 and phase-change materials41,42, which potentially open up tremendous opportunities for substantive optical device applications. Furthermore, as the proposed fabrication process for our BEE is compatible with large-area substrates, the design can be applied to optical-sensing platforms, including surface-enhanced Raman spectroscopy43, localised surface plasmon resonance44, and surface-enhanced infrared absorption45.

Materials and methods

Fabrication process of the BEE

A glass substrate (2.5 cm × 2.5 cm) was cleaned with piranha solution (30% H2O2/70% H2SO4 (v/v)) at 120 °C for 15 min and rinsed in deionised water. Then, a 25-nm-thick Au film was deposited on the substrate using an e-beam evaporator (ei-5k, ULVAC). After preparing a 4.5 wt% CYTOP solution by mixing 9 wt% CYTOP solution (CTL-809M, AGC Chemical) with a solvent (CT-Solv. 180, AGC Chemical) in a 1:1 ratio, the solution was spin-coated on the Au surface at 3000 rpm for 45 s and thermally annealed on a hotplate at 80 °C for 60 min. Subsequently, a top Au layer was deposited by a thermal evaporator (SHE-68-350D, Samhan Vacuum Development) under evaporation conditions of a vacuum level of 10-6 Torr and an evaporation rate of 0.3 Å/s, which promotes low-density nucleation for self-assembly. Finally, O2 plasma RIE (100 mTorr, plasma generation frequency of 13.56 MHz, RF power of 150 W, and O2 gas flow rate of 100 sccm) was carried out using a reactive ion etcher (RIE 80 plus, Oxford Instrument) to tailor the dielectric layers into nanopillars. Note that several fabrication conditions were exceptionally modified for special cases. For example, the evaporation rate of the top Au layer was adjusted to 3.5 Å/s for an optical etalon with a flat Au film (Fig. 2a, b). In particular, for ‘symmetric message hiding’ (Fig. 4), a shadow mask was employed for site-selective etching of the dielectric layer during RIE. In the case of ‘asymmetric message hiding’ (Fig. 5), site-selective O2 plasma treatment (CUTE plasma system, Femto Science; 500 mTorr pressure, plasma generation frequency of 50 kHz, RF power of 70 W, and O2 gas flow rate of 30 sccm) was performed for 5 s prior to top Au deposition with a shadow mask on the CYTOP surface.

Optical measurement

Under normal incidence white light (DH-MINI, Ocean optics), reflectance, and transmittance signals were detected using ultraviolet–visible spectroscopy (USB4000-UV–VIS, Ocean optics). For reflection measurement, the optical signals were transmitted and received through a reflection probe (R400-7-SR, Ocean optics) and normalised using an aluminium standard mirror (STAN-SSH, Ocean optics). The transmittance was measured with transmission probes (QP 300-1-SR, Ocean optics) and UV/VIS collimating lenses (74-UV, Ocean optics). For modification of the surrounding RI, standard RI solvents (RI liquids, Cargille) were used with RIs of nsolvent = 1.3, 1.4, 1.5, 1.6, and 1.7.

Effective optical properties calculated using Bruggeman’s effective medium theory

For simulation, Bruggeman’s effective medium theory was used. The effective optical properties of subwavelength composite layers, such as the top Au film and etched CYTOP layer, were estimated using Bruggeman’s effective medium theory. The effective permittivity of a medium (εeff) is given by

$$f_1\frac{{\varepsilon _1 - \varepsilon _{{\rm {eff}}}}}{{\varepsilon _1 + \kappa \varepsilon _{{\rm {eff}}}}} + \left( {1 - f_1} \right)\frac{{\varepsilon _2 - \varepsilon _{{\rm {eff}}}}}{{\varepsilon _2 + \kappa \varepsilon _{{\rm {eff}}}}} = 0$$

where κ, f, and ε are the screening parameter, filling fractions, and permittivities of two different materials. While εeff of the top Au film (layer 2) was obtained by assuming ε1 = εAu, ε2 = εmedium, and f1 = fAu, the same procedure could also be performed to calculate the εeff of the dielectric region (layer 3) from ε1 = εCYTOP, ε2 = εmedium, and f1 = fCYTOP, in which εAu, εmedium, and εCYTOP are the permittivities of Au46, the surrounding medium (such as air or liquid), and CYTOP. Note that a screening parameter of κ = 1 was used because the layers can be regarded as two-dimensional structures47.

Scanning electron microscope (SEM) measurement and data analysis

After depositing a 2-nm-thick platinum layer on the samples using an ion sputter coater (E-1045, Hitachi), high-resolution morphology observations were performed using an SEM (Nova NanoSEM 200, FEI) equipped with a through-lens detector (10 kV, 140 μA, working distance: 5 mm). To evaluate the filling fractions of Au and CYTOP, the SEM images were analysed using image-processing software (ImageJ, National Institutes of Health).